Skip to content

mohanamisra/gesture-controlled-driving-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gear Gesture 1.0 - A Hand-Gesture Controlled Car Driving Game 🏁🚗🚙

So you think you can drive manual?

A hand-gesture-controlled top-down car game. Collect as many coins as possible within 60 seconds.

Controls:

(Remember to use your right hand!)

  1. Open Palm for "GO"

  2. Closed Fist for "STOP"

  3. Thumb and Pointer out ("L-hand gesture") for "LEFT"

  4. Pointer and Middle fingers out ("V-hand gesture") for "RIGHT"

Requirements:

  • OpenCV
  • MediaPipe
  • Tensorflow
  • Pygame

How to Run the Game:

  1. Clone/Fork this repository
    # if you want to clone this repository...
    
    git clone [email protected]:mohanamisra/gesture-controlled-driving-game.git
    cd gesture-controlled-driving-game
    
    # otherwise click the fork button on GitHub and clone your own fork
    
  2. Install requirements
    pip install mediapipe
    python3 -m pip install 'tensorflow[and-cuda]'
    pip install pygame
    pip install opencv-python
    
  3. Run app.py located in the root of the folder
  4. (Optional) Add your own gestures to the game by modifying variables in the model_building folder located at the root
  5. (Optional) Star this repository if you like it 😊

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages