Skip to content

lc-leonardo/RepVal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RepVal: A Real-time Exercise Form Correction System

RepVal is a system that uses computer vision to provide real-time feedback on exercise forms, leveraging MediaPipe to track body landmarks and a state machine-based approach to judge repetitions.

System Workflow

The overall workflow of the RepVal system is as follows:

RepVal Workflow

A more detailed view of the system's logic for navigating through exercises and completing a routine:

Detailed System Diagram

System UI

Here is a showcase of the application's user interface.

Main Screen Routine Builder Live Camera Feed Video Selection
Main screen of the application Routine builder screen Live camera view with feedback overlay Screen for selecting a recorded video

Dataset: CFReps

This project uses the CFReps dataset, as we presented in our paper. The dataset can be downloaded from the following link:

(Download CFReps Dataset)

Setup

To run this project, you need to set up a Python environment with MediaPipe. Please follow the official (MediaPipe) installation instructions to prepare your environment.

How to Run

You can run the application in two modes: with a graphical user interface for live feedback, or in bulk processing mode for analyzing multiple videos simultaneously.

GUI Mode

To run the application with the live camera feed and user interface:

python mediapipe/main.py

Bulk Processing Mode

To process a directory of videos in bulk:

python mediapipe/bulk_process.py

About

The edge based rep judge framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages