Skip to content

Aki1608/Pushup_counter_OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Pushup_Counter

Code is written in Python 3. This file counts the number of pushups in a video.

Installation

Use the package manager pip to install opencv and mediapipe.

pip install opencv-python
pip install mediapipe

Usage

Run

python Pushup_counter.py

It a very simple python script. Just run it and it will run the video and show the count in the video itself. If you want to exit the video just press q.

If you want to use it for live counting then just change the input from "pushup_2.mp4" to 0 (for default camera) or 1 or something else depending on your device setting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages