This program can be used to play a Snake Game (or like it) by detecting hand gestures to control movement of the snake on the screen. It has been implemented in Python. Although, the demo shown here refers to playing a Snake Game, it can be used to play any game or control any application using hand gestures only. This program shall be used to play a Snake Game by detecting hand gestures to control movement of the snake on the screen. The game also can be played using voice commands. This was achievied using Porcupine SDK. For more info, refer "https://github.com/Picovoice/porcupine The UI of the snake was build with PyautoGUI and OPENGL
Watch on Youtube
[Gesture and Voice Controlled snake game] https://youtu.be/BVTkinlbrAA)
The program depends on the following libraries-
numpy==1.15.2
imutils==0.5.1
PyAutoGUI==0.9.38
opencv_python==3.4.3.18
pygame==1.9.4
- Clone the repository in your local computer.
- Use
python <filename.py>
to run specific files