Tennis Path Detection
A downloadable game
Ball Hit Detection Project for Python Machine Learning Jam
This project aims to develop a Python-based machine learning system that detects when a tennis ball hits a designated area on a wall and translates this interaction to a virtual white screen on a computer. The system will use a webcam to monitor a 16:9 aspect ratio frame created with colored tape on the wall. The virtual screen will mirror this frame, maintaining the same aspect ratio and scaling.
Key features include:
- Frame Setup: A 16:9 aspect ratio frame on the wall, adjustable from 32 to 200 inches diagonal.
- Camera Setup: A webcam directed at the framed area.
- Virtual Screen: A corresponding full-size white screen on the computer.
- Ball Hit Detection: Accurate detection of ball hits within the frame, minimizing noise and false positives.
- Hit Visualization: Displaying a persistent black circle at the hit location on the virtual screen.
- Calibration: Ensuring accurate mapping between the physical frame and the virtual screen for different frame sizes.
- Lighting Robustness: Functionality under various lighting conditions.
Download
Download
Python Jam Competition.zip 7 MB
Leave a comment
Log in with itch.io to leave a comment.