Skip to content

The personalized AI posture practitioner that prevents cervical & lumbar vertebral diseases from sedentary lifestyle using deep learning and computer vision

Notifications You must be signed in to change notification settings

yAya-yns/Sit-up

Repository files navigation

Sit-up!

The personalized AI posture practitioner that prevents cervical & lumbar vertebral diseases from sedentary lifestyle using deep learning and computer vision

🥇1st Place Winner of the University of Toronto Innovation Fair 2020🥇

💰Received funding from Huawei💰

Real Product

Run the app using Flask + AI module + Ionic

requirement

Python version > 3.3

Miniconda

ionic

AI module

Run

conda create situp_env
conda activate situp_env
  1. install all requiment according to AI module
  2. copy paste all files in sitUpBackEnd to folder of pose-estimation-detection cloned from AI module
  3. under conda environment, run
$ cd pose-estimation-detection
$ python main.py
  1. go to ionic folder and start the app
$ cd sitUpFrontEnd
$ npm i
$ ionic serve

enjoy the app!

demo0 demo2 demo7 demo8

AI module

Use tf-pose-estimation

Step0:

cd sitUpBackEnd

Step1(For Mac Users):

For download of dependencies, refer to https://medium.com/@gsethi2409/pose-estimation-with-tensorflow-2-0-a51162c095ba;

Step1(For Windows Users):

For download of dependencies, refer to https://github.com/satyaborg/pose-estimation-detection;

Step2:

mkdir result Note directory result is under sitUpBackEnd; Move sit-up.py and sit_analysis.py to the folder "tf-pose-estimation"(For mac users)/"pose-estimation-detection"(for windows users) which should be downloaded after step 1;

Step3:

Simple test! go to the subfolder just created and run with webcamera: (for mac users): python sit-up.py --os=macos --direction=front or (for windows users): python sit-up.py --os=windows --direction=front; For the argument direction, you can choose front, side45 or side90; Note when specifying side45, for the purpose of accuracy, please make sure camera is at 45 angle of your front;

Demo

Try the demo vison with only ionic

Here are two video demos

demo1

$ cd setUpFrontEnd 
$ npm i
$ ionic serve

Then go to profile and hit the demo button

Real Product

demo3 demo4 demo5 demo6

Git Repo

https://github.com/yAya-yns/Sit-up

About

The personalized AI posture practitioner that prevents cervical & lumbar vertebral diseases from sedentary lifestyle using deep learning and computer vision

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published