Created by Aayush Goel,Amal Thomas
This is our implementation of hand tracking to play game via hand gestures. You can check the code for Hand Tracking here, Hand_Tracking.py.
After cloning the repository, you will need to install the following libraies - Mediapipe , Pygame , OpenCV
- In Main_Code Folder, Run the Road_Escape.py file.
- Both camera and game window will start at the same time.Try adjusting ur hand according to camera. try to make sure that the background doesn't interfere with the hand tracking. Start the the game by pressing any key on keyboard or by joining your index finger and thumb.
- After starting the game, control the car according to the number of fingers shown.
- After Game is Over, you can restart the game by pressing any key or by joining your index finger and thumb.
For algorithm explanation and reference , please check the report