Skip to content

imSushant2005/Fightcam-motion_controller_SDK_for_PC_games.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸฅŠ FightCam โ€“ AI-Powered Motion Control for PC Games

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.


๐ŸŽฎ What It Does

  • ๐Ÿง  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.

โšก Live Demo

๐Ÿงฐ Tech Stack

  • 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

About

this is python program which help in playing game using body motion of person who is standing in front of camera. it check you your motion like punching from which hand or kicking from which leg and use that information to taken action in the.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages