Skip to content

A collaboration between the proponents of the thesis titled "DEVELOPMENT OF WEB BASED APP FOR DETERMINING ANATOMICAL METRICS OF NON-LOCOMOTOR EXERCISES USING POSE ESTIMATION" for the completion of the degree of Bachelor of Science in Computer Science in Cavite State University - CCAT Campus.

License

Notifications You must be signed in to change notification settings

sidex15/PoseExercise-WebApp

Repository files navigation

image

Pose Exercise Web App

image image image image image

License: GPL v3 Open In Collab

Description

A collaboration between the proponents of the thesis titled "DEVELOPMENT OF WEB BASED APP FOR DETERMINING ANATOMICAL METRICS OF NON-LOCOMOTOR EXERCISES USING POSE ESTIMATION" for the completion of the degree of Bachelor of Science in Computer Science in Cavite State University - CCAT Campus.

Features

  • Real Time Repetition Counting Using Machine Learning
  • Real Time Speed per Repetition Counting Using Machine Learning
  • Calories Burned in Session
  • Mobile Webapp compatible Must use #unsafely-treat-insecure-origin-as-secure flag in chrome app
  • Register and Login
  • Session Records Viewing

Requirements

  • Python

https://www.python.org/downloads/

  • NodeJS

https://nodejs.org/en/download

  • Git

https://git-scm.com/downloads

Creating .env.local

  • under root create file and save to .env.local
MONGODB_URI='Your MongoDB Connection string'
JWT_SECRET='Json Webtoken String (Random Generated String)'
DB='MongoDB Database name'
COLLECTION='MongoDB Collection name'
NEXT_PUBLIC_MODEL_API='api link for model engine'

In NEXT_PUBLIC_MODEL_API:
If running Model Engine locally use http://localhost:5000/predict
If using Google Colab for running Model Engine add /predict after url

Run ML Model engine in google colab

Use the Google Colab below

Open In Collab

Use the url after "Running on" and put /predict after the url

Installation

  1. Clone the repository

  2. Proceed to child directory

cd PoseExcercise-WebApp

  1. Install dependencies

npm install

  1. Create a python virtual environment:

Go to src/backend

cd src/backend

Install python virtual environment

pip install virtualenv

Create virtual environment

virtualenv -p python3 name of virtual environment

  1. Run the virtual environment

./name of virtual environment/Scripts/activate

  1. Install python dependencies

pip install flask flask_cors joblib pandas numpy scikit-learn gevent

  1. Run the backend

Must be in src/backend

py ModelEngine.py

  1. Run the frontend

Must be in PoseExcercise-WebApp

npm run build

npm run start

  1. Open the browser and test the app

http://localhost:3000

About

A collaboration between the proponents of the thesis titled "DEVELOPMENT OF WEB BASED APP FOR DETERMINING ANATOMICAL METRICS OF NON-LOCOMOTOR EXERCISES USING POSE ESTIMATION" for the completion of the degree of Bachelor of Science in Computer Science in Cavite State University - CCAT Campus.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published