Skip to content

Custom pose classification tutorial #33

@khanhlvg

Description

@khanhlvg

Goal:

  • Write a tutorial to explain how to train a custom pose classifier (e.g. to detect yoga pose)

Technologies used:

  • ML Kit's Pose Detection API for pose detection
  • TF and TFLite to train a custom model that takes ML Kit's model as input, and outputs classification logits. A model with 2 Dense layers should be enough.
  • Firebase for storing training data

Artifacts:

  • Data collection app
    • Capture images and use Pose Detection API to detect body landmarks
    • Store the landmarks to Firestore, together with user input labels
  • Model training notebook
    • Load the training dataset from Firestore
    • Build a Keras model that classify the pose (model inputs are the landmark from Pose Detection)
    • Convert the model to TFLite
  • Demo app
    • Use Pose Detection API to detect landmark from the camera input, and run classification using the TFLite model
    • Can be the same app as the data collection app

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions