Skip to content

MohHasan1/Gesture-Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture Pong

Gesture Pong is an interactive hand gesture-based version of the classic Pong game, where the player uses hand movements to control the paddle. The game uses OpenCV for video capture, MediaPipe for hand detection, and Pygame for the game display and logic. The objective is to use your hand to move the paddle and hit the ball, aiming to score points while competing against the AI.

Installation

Step 1: Set Up a Virtual Environment

For macOS/Linux

python3 -m venv env
source env/bin/activate

For Windows

python -m venv env
env\Scripts\activate

Install dependencies from requirements.txt

pip install -r requirements.txt

Run the Game Script:

Once the virtual environment is activated and dependencies are installed, run the main.py script to start the game:

python pingPong.py

Exit the Game Script:

Exit the Game: Close the game window not the webcame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages