Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 days ago
JSON representation

Fists detection with punch counting for boxing.

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
````