https://github.com/iv4n-ga6l/BoxingWithML
Fists detection with punch counting for boxing.
https://github.com/iv4n-ga6l/BoxingWithML
boxing-game fist-detection mediapipe opencv pynput python scipy
Last synced: 2 months ago
JSON representation
Fists detection with punch counting for boxing.
- Host: GitHub
- URL: https://github.com/iv4n-ga6l/BoxingWithML
- Owner: iv4n-ga6l
- Created: 2024-06-17T02:01:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T07:54:15.000Z (10 months ago)
- Last Synced: 2025-01-05T02:50:26.419Z (4 months ago)
- Topics: boxing-game, fist-detection, mediapipe, opencv, pynput, python, scipy
- Language: Python
- Homepage:
- Size: 16 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BoxingWithML
Fists detection with punch counting for boxing.This project uses Mediapipe and OpenCV to detect hand movements, specifically fist punches, from a video feed. It determines the handedness (left or right) of the detected fist and counts the number of punches. Additionally, it provides a visual overlay indicating the detection and counts the punches with a delay to avoid multiple counts for the same punch.
Features
- Hand Detection: Uses Mediapipe for detecting hands in the video feed.
- Fist Detection: Identifies when a hand forms a fist.
- Handedness Determination: Determines if the detected fist is from the left or right hand.
- Punch Counting: Counts punches with a delay mechanism to ensure accurate counting.
## Requirements
````
pip install -r requirements.txt
````