Giter VIP home page Giter VIP logo

gesture-quiz's Introduction

๐ŸŒŸ Gesture Quiz

Hand Gesture Math Game with Timer โฐ

This Python script unleashes the power of OpenCV and MediaPipe, crafting an interactive math game that combines hand gesture recognition with arithmetic challenges. Embark on a journey where a series of math equations are presented, and you must answer by showcasing the correct number of fingers through hand gestures. The game adds an extra layer of excitement with a countdown timer for each question.

๐Ÿš€ Features:

  • Randomly generates arithmetic equations (addition, subtraction, multiplication, and division).
  • Utilizes hand gestures for input, leveraging the MediaPipe library for precise hand tracking.
  • Implements a countdown timer for each question, injecting a thrilling time-sensitive element.
  • Provides real-time feedback on the correctness of your answer and displays the overall score.

๐Ÿš€ How to Run:

First, type the following commands in the terminal: pip install opencv-python pip install mediapipe Run the program using: Copy code python code_1.py

๐ŸŽฎ How to Play:

Open your hands wide for detection. A math equation will be presented. You have 7 seconds to showcase the correct answer by closing your fingers. Maintain an optimal distance from the webcam for accurate detection. Press 'q' to gracefully terminate the window at any time. The game puts your quick thinking and precise hand movements to the test. Can you solve the equations in time? Dive into the excitement with GestureQuiz!

๐Ÿ“ Note:

Ensure that the script is run on a machine equipped with a webcam for hand gesture detection. Feel free to customize and enhance the script according to your needs or contribute to its development!

๐ŸŽจ Samples:

img5

img6

img3

gesture-quiz's People

Contributors

muhammadabdullahnaeem1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.