Skip to content

A computer vision-based controller that lets you play a Subway Surfer-like game using body pose detection with a webcam. Move left, right, jump, or crouch — all with your body, no keyboard needed!

Notifications You must be signed in to change notification settings

Milind-mh19/BodyPose_GameController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

PoseControlled-SubwaySurfer 🎮🕺

This project uses computer vision and body pose detection to control a Subway Surfer-like game using your body movements via webcam.

🧠 Technologies Used

  • Python
  • OpenCV
  • MediaPipe
  • PyAutoGUI
  • Matplotlib

💡 How It Works

  • 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.

🔧 Features

  • 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

📷 Sample Gameplay

✨ Future Improvements -Add gesture-based controls

-Support for more games -Performance optimization

About

A computer vision-based controller that lets you play a Subway Surfer-like game using body pose detection with a webcam. Move left, right, jump, or crouch — all with your body, no keyboard needed!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages