FightCam is an open-source, Python-based webcam motion controller SDK that lets you control your favorite PC games using just your body movements โ no extra hardware needed.
Built by Bhanu Yadav and Sushant Rana during a hackathon project focused on innovation, accessibility, and hands-free interaction.
- ๐ง Uses MediaPipe for real-time body tracking.
- ๐ท Captures gestures using your webcam.
- โจ๏ธ Maps movements to keyboard inputs using
pydirectinput.
With FightCam, you can:
- Punch, kick, jump, crouch โ all through motion.
- Play any keyboard-mappable PC game (like Tekken, Mortal Kombat, etc).
- Build interactive games or prototypes using physical gestures.
- Explore accessibility use-cases for gaming and rehab.
- Python 3
- OpenCV
- MediaPipe
- PyDirectInput
!
๐ฏ Controls Gesture Action Key Triggered Punch (L/R) Attack (L/R) X / A Kick (L/R) Kick (L/R) Z / S Move Left/Right Side Movement โ / โ Jump Jump Up โ Crouch Duck / Crouch โ Thresholds and timings can be tweaked in the script for better accuracy.
๐งโ๐ป Use Cases ๐น Indie game devs looking for unique control systems
๐น HCI researchers or UX designers
๐น Fitness or physical therapy games
๐น Accessibility tech โ empower users with mobility impairments
๐ค Contributing We welcome community contributions!
Submit feature requests or bugs via Issues
Fork the repo, make changes, and create a PR.
Planning to add:
Custom gesture training
Adjustable thresholds
Unity/Unreal SDK bridge
ML-based gesture classification
Contributors will be listed and credited in the README!
๐ก๏ธ License This project is licensed under the MIT License.
๐ฌ Contact Have feedback or want to collaborate?
๐ง Sushant Rana โ LinkedIn ๐ง Bhanu Yadav โ LinkedIn