Skip to content

anujsahani01/Yoga-Pose-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Demo

Yoga Pose Detector

Used MoveNet(movent thunder) for Pose and Skeleton detection and then using a simple Deep Learnig Model for Classification Purpose

Working of Model: The whole model is divided into 2 main sub-parts.In the first part for Ultra fast and accurate pose detection model i used tensorflow MoveNet thunder bird which return 17 keypoints(joints) with their corresponding co-ordinates. Then i used kaggle posses dataset used image agumentation to increase the size of my dataset then passed batches of images through the function for calculating angles between joints for different yoga posses and make a .csv file out of it. Then the csv file was used as the dataset for my second model for pose classification purpose.

About the dataset:

Dataset for MoveNet Model

Dataset consists of 5 kinds of Yoga poses

  • warrior2
  • tree
  • goddess
  • plank
  • downdog

Dataset for Deep Learning Model

image

Results

Confusion Matrix

image

Loss and Accuracy

loss: 0.0560 - accuracy: 0.9802 - val_loss: 0.0716 - val_accuracy: 0.9750