Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivangael/boxingwithml
Fists detection with punch counting for boxing.
https://github.com/ivangael/boxingwithml
boxing-game fist-detection mediapipe opencv pynput python scipy
Last synced: about 1 month ago
JSON representation
Fists detection with punch counting for boxing.
- Host: GitHub
- URL: https://github.com/ivangael/boxingwithml
- Owner: IvanGael
- Created: 2024-06-17T02:01:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T07:54:15.000Z (5 months ago)
- Last Synced: 2024-10-14T01:20:56.575Z (about 1 month ago)
- Topics: boxing-game, fist-detection, mediapipe, opencv, pynput, python, scipy
- Language: Python
- Homepage:
- Size: 16 MB
- Stars: 2
- Watchers: 1
- 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.![Demo](demo.png)
## Requirements
````
pip install -r requirements.txt
````