This project identifies and evaluates several yoga movements.
-
Powerful data structures for data analysis, time series, and statistics:
-
A set of python modules for machine learning and data mining:
-
Parser for command-line options, arguments and sub-commands:
Create a virtual environment for the project
Virtual environment venv
python -m venv venvActivate virtual environment:
venv\Scripts\activateUpdate to the latest pip version:
python.exe -m pip install --upgrade pip- Install the external dependencies needed for the project:
pip install -r setup.txtSkeleton is extracted like below FIG
python make_csv.py --source yoga_cg --data dataMake model .h5 to detect yoga poses
python train.py --train data/train_data.csv --test data/test_data.csv --output models/model_yoga_LSTM.h5 --epochs 200 --batch 64 --patience 20Detect several pose of yoga include: chair, cobra, dog, tree, and warrior
python test.py --model models/model_yoga_LSTM.h5 --data images/tree3.jpgOnce you’re done working with this virtual environment, you can deactivate it:
deactivate