/Python-Dinosaur-Game

Python program to play the famous Dinosaur game by detecting finger movements.

Primary LanguagePython

Python Dinosaur Game

Python program to play the famous Dinosaur game by detecting finger movements. The user has to move their index and thumb in a certain direction to control the dinosaur movements.

Requirments

  • Python(version 3.8.5)
  • Python OpenCV
  • Mediapipe
  • Pynput

Usage

To control the dinosaur movements the user has to move their thumb and index fingers in a certain direction. To jump, the distance between the index finger and the thumb has to be high, so you have to strech them. To crouch down, the distance between the index finger and the thumb has to be very low, so you have to touch the tip of the thumb with your index finger.