This project uses computer vision and body pose detection to control a Subway Surfer-like game using your body movements via webcam.
- Python
- OpenCV
- MediaPipe
- PyAutoGUI
- Matplotlib
- Uses MediaPipe to detect your body pose.
- Detects left, right, jump, crouch movements and maps them to arrow key presses.
- Uses webcam to track real-time body movements.
- Control game using full body without touching keyboard.
- Start the game by joining both hands.
- Move:
- 🏃 Left → Move body to left
- 🏃 Right → Move body to right
- 🪂 Jump → Jump in real life
- 🧎 Crouch → Bend down
✨ Future Improvements -Add gesture-based controls
-Support for more games -Performance optimization