Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubh2-0/gestureglide
This repository contains modules that offer hands-on learning on opening webcams using Python and performing hand detection tasks. Explore the exciting world of real-time interaction through hand gestures, exemplified by the captivating GestureGlide Rock-Paper-Scissors game. 📸👋🎮
https://github.com/shubh2-0/gestureglide
cvzone github pycharm python python-library rock-paper-scissors
Last synced: 3 months ago
JSON representation
This repository contains modules that offer hands-on learning on opening webcams using Python and performing hand detection tasks. Explore the exciting world of real-time interaction through hand gestures, exemplified by the captivating GestureGlide Rock-Paper-Scissors game. 📸👋🎮
- Host: GitHub
- URL: https://github.com/shubh2-0/gestureglide
- Owner: Shubh2-0
- Created: 2023-08-11T15:27:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-30T17:56:26.000Z (about 1 year ago)
- Last Synced: 2024-05-01T13:47:21.332Z (9 months ago)
- Topics: cvzone, github, pycharm, python, python-library, rock-paper-scissors
- Language: Python
- Homepage: https://drive.google.com/file/d/13X3C0e1x8AnrUxCu7neQApnYZVWjo7gY/view?usp=sharing
- Size: 1.64 MB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GestureGlide 🎮👋
Welcome to GestureGlide, an enthralling Rock-Paper-Scissors game meticulously crafted with the power of Python and OpenCV. Step into a realm where AI meets human interaction, utilizing the language of hand gestures to decipher your strategic intent. As you stand across the digital table from your AI adversary, your open hand transforms into the solid symbol of Rock, the airy flutter of Paper, or the decisive form of Scissors. Engage in a symphony of technology and imagination, where your gestures hold the key to victory. Explore the immersive landscape of GestureGlide, where code and creativity collide. 🤖🪨📃✂️
![Gameplay Demo](images/hero.png)
## Features 🎮
- Real-time hand tracking using OpenCV.
- Play against an AI that randomly selects Rock, Paper, or Scissors.
- Interactive timer to track game duration ⏱️.
- Visual representation of your move and AI's move 🤏.
- Keeps track of player and AI scores 📊.
## Installation ⚙️📌 Clone the repository:
``
git clone https://github.com/Shubh2-0/gesture-glide.git
cd gesture-glide
``📌 Install the required libraries:
``
pip install opencv-python cvzone
``📌 Place your background image and move images in the resources/ directory.
## Usage 🚀
✴️ Run the game script:
``
python game.py
``
✴️ Press the 'x' key to start the game after the webcam feed is displayed.
✴️ Show your hand gesture to select Rock, Paper, or Scissors when the timer reaches 3 seconds.
✴️ The AI will make its move simultaneously, and the winner of the round will be displayed.
## Controls 🎮
🎯 Press 'x': Start the game.
🎯 Gesture your hand to select Rock, Paper, or Scissors.
![Gameplay Demo](images/setup.png)
## Video Presentation 📹
Curious about how GestureGlide works? Watch our detailed video presentation to see the gameplay in action and learn more about the project's features.📹 [GestureGlide Video Presentation](https://drive.google.com/file/d/13X3C0e1x8AnrUxCu7neQApnYZVWjo7gY/view?usp=sharing)
## Tools Used 🛠️
![]()
Python
![]()
PyCharm
![]()
Github
## Contributing 🤝
Contributions are welcome! Here's how you can contribute to this project:1. Fork the repository.
2. Create a new branch for your feature: **git checkout -b feature-new-feature**
3. Commit your changes: **git commit -m 'Add new feature'**
4. Push to the branch: **git push origin feature-new-feature**
5. Open a pull request.## 📬 Contact
If you want to contact me, you can reach me through below handles.
🚀Enjoy the game and have fun playing GestureGlide, where hand gestures pave the way to victory! 🎉👾