Skip to content

pdshi/activity-recognition-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MoveMate's Pose Classifier Machine Learning Model

License: MIT

Table of Contents

Description

This model leverages the MoveNet model, a lightweight machine learning model for pose estimation, and TensorFlow Lite, a framework for running machine learning models on edge devices. This model showcases how to perform real-time pose estimation and classification, making it suitable for applications such as fitness tracking, gesture recognition, and more. This model can be fed with data from other poses and be used to classify other poses as needed.

Architecture

pose_classifier tflite

Results

Inference Results Using Movenet Thunder negative-push-up_jpg rf 18c61504c4970e02cb09247d2f0b3538 health-push-up-1140x600_png rf e75e5b15437053d951a34a74d28637c0 Screenshot 2023-06-10 133400 Screenshot 2023-06-07 191842

Sit Up Classifier Train Result image image

Push Up Classifier Train Result image image

The final accuracy after exporting the models into TFLite are as follows:

  • Accuracy of Push Up TFLite model: 1.0
  • Accuracy of Sit Up TFLite model: 0.9807692307692307

Dependencies

Here are the dependencies and libraries needed to run the notebook

  • Python
  • TensorFlow and TensorFlow Hub
  • OpenCV
  • Numpy
  • Pandas
  • Matplotlib
  • Scikit-learn

File Structure

  • Push Up Model: Directory containing the notebook and outputs for Push Up Classification.
  • Sit Up Model: Directory containing the notebook and outputs for Sit Up Classification.
  • Supporting Programs: Directory containing the supporting programs to compress and augment the dataset.

Push Up Model and Sit Up Model directory consists of:

  • Notebook for the machine learning model
  • Base MoveNet Thunder model for pose estimation
  • Output classification model in tflite format
  • Labels for the classes
  • CSV of preprocessed data
  • Saved best weights

The dataset used for the models can be found here

About

Pose Classifier using Movenet Inference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published