Playing games like Hill Climb Racing using OpenCV (NO Keyboard required) with Hand Gestures.
- Clone the repository
- Start the game (Racing Game)
- Execute gesturecontrol.py file
- Right Hand Fist- Acceleration
- Left Hand Fist- Break
- python 3.x
- imutils
- numpy
- opencv-python
Using OpenCV, the screen is divided in such a way that the bottom left region of the screeen is used for applying breaks, whereas bottom right region of the screen is used for acceleration.
When a navy blue circle(fists in navy blue gloves) is detected in any of the regions, corresponding key is given as input to the game from our program.
NOTE: No machine learning model is used for detecting objects!!