Skip to content

kkin1995/pose-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pose Detection and Classification

A project that uses the Posenet pretrained model from Tensorflow to detect keypoints on the human body and uses those keypoints to classify the pose.

Yoga pose classification dataset is from Kaggle. Link to Dataset

The file "posenet.py" inside the src/ directory contains functions to compute keypoints and plot keypoints on a single image provided as a Numpy Array

The file "generate_keypoints_for_data.py" contains a function to compute keypoints for many images for many classes.

The file "pose_classifier.py" contains a function that takes as input the data and labels, creates a keras model using the functional API, and returns the trained model, training and validation metrics. The shape of data should be (batch_size, input_dim) and the shape of the labels should be (batch_size, no_of_classes).

Install Dependencies

pip3 install -r requirements.txt

Install Dependencies for Development (Includes Jupyter Notebook)

pip3 install -r requirements-dev.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages