Interactive hand-tracking game using Python, OpenCV, and cvzone that detects hand movements, calculates distances with scoring system based on hand proximity to on-screen targets, enhancing user engagement, applying polynomial regression to convert pixel distances into centimeter measurements for accurate distance feedback, with a user interface displaying real-time game statistics, including score and timer, improving overall user experience.
- Move your hands closer to your camera until the circle turns green.
- Your goal is to score as many points, you have infinite tries, so get the highest score and share it with us!
- Run the Game.py file
- Cvzone:
pip install cvzone- Mediapipe:
pip install mediapipe