Skip to content

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. ๐Ÿ“ธ๐Ÿ‘‹๐ŸŽฎ

Notifications You must be signed in to change notification settings

Shubh2-0/GestureGlide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

87 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

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

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

Tools Used ๐Ÿ› ๏ธ

Python
Python
PyCharm
PyCharm
Github
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.

linkedinโ€ƒ mail-meโ€ƒ whatsapp-meโ€ƒ


๐Ÿš€Enjoy the game and have fun playing GestureGlide, where hand gestures pave the way to victory! ๐ŸŽ‰๐Ÿ‘พ

About

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. ๐Ÿ“ธ๐Ÿ‘‹๐ŸŽฎ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages