Skip to content

kAif-gh/WEB_AITrainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web interface AITrainer

A prototype Web Application that implements computer Vision model built with OpenCV, Mediapipe and tested with MoveNet. It can be used to detect the correct pose in an exercise and also to count reps of a complete movement.

Goals

The goal is to create practical web inteface easy to use that create a pose detection system, able to recognize the movement Of a person by creating landmarks on each joint of the body, then calculating the different angles to classify if the exercises are correct or not and calculating the number of reps. In order to do so, i tested Mediapipe and MoveNet to choose the optimal model to work with, in conjunction with OpenCV to process the video feed of the webcam.

Technologies

  • Python
  • Mediapipe
  • MoveNet
  • OpenCV
  • Flask
  • html
  • javascript
  • CSS

Usage

You have to install the required packages, you can do it:

  • via pip
  pip install -r requirements.txt

Once you installed all the required packages there is two ways to run the exercises of the projects:

  • you can type in the command line from the root folder
 $env:FLASK_APP="C:\Users\MSI\Desktop\WebAITrainer\routes.py"
 $env:FLASK_ENV = "development"  
 flask run     

Or

 flask run --host=0.0.0.0 --port=5000      

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published