/Dino_Game-HandGesture-

"This project controls the Chrome Dino game using hand gestures detected via webcam. It leverages Python, OpenCV, and ctypes for real-time gesture recognition and simulating key presses."

Primary LanguagePython

Dino Game (Using Hand Gesture)

This project allows you to control the T-Rex game in any browser using hand gestures detected via webcam.

Instructions

  • Close the Frame: Press 'q' to close the game frame.
  • Browser Compatibility: This project can be used with any browser that supports the T-Rex game.

Getting Started

To run the project:

  1. Install Python 3.12 or later.
  2. Install OpenCV and cvzone:
    pip install opencv-python-headless
    pip install cvzone