This project is a fun implementation of the classic "Rock, Paper, Scissors" game that uses your webcam to allow you to play against the computer in real-time. The program detects hand gestures via the camera and determines whether you chose rock, paper, or scissors, and then plays against the computer's random choice.
- Real-time hand gesture recognition: Uses your webcam to detect your hand gesture.
- Play against the computer: The computer randomly selects rock, paper, or scissors to compete against your choice.
- Simple and intuitive: Easy to play with a straightforward interface.
- Clone the repository:
git clone [email protected]:Sinaatkd/Rock-Paper-Scissors-Game.git
- Navigate to project foledr
cd Rock-Paper-Scissors-Game
- Install required packages
pip install -r requirements.txt
- Run the script
python/python3 main.py
The game uses computer vision techniques to detect the shape of your hand and identify whether you're showing rock, paper, or scissors. The computer makes a random choice, and the game determines the winner based on standard rock-paper-scissors rules.
- Python: The core programming language.
- OpenCV: For accessing and processing video input.
- MediaPipe: For real-time hand gesture recognition.
This a fun project, and there's no need for contributions. However, if you’d like, feel free to add your own features and enhancements!
If you have any questions or suggestions, feel free to reach out to me:
- Email: [email protected]
- LinkedIn: LinkedIn
- GitHub: Github