ai.natml.vision.movenet

1.0.9 • Public • Published

MoveNet

MoveNet single body pose detection from Google MediaPipe.

Installing MoveNet

Add the following items to your Unity project's Packages/manifest.json:

{
  "scopedRegistries": [
    {
      "name": "NatML",
      "url": "https://registry.npmjs.com",
      "scopes": ["ai.natml"]
    }
  ],
  "dependencies": {
    "ai.natml.vision.movenet": "1.0.9"
  }
}

Predicting Pose in an Image

First, create the MoveNet predictor:

// Create the MoveNet predictor
var predictor = await MoveNetPredictor.Create();

Then detect the body pose in an image:

// Given an image
Texture2D image = ...;
// Detect the body pose
MoveNetPredictor.Pose pose = predictor.Predict(image);

Requirements

  • Unity 2022.3+

Quick Tips

Thank you very much!

Package Sidebar

Install

npm i ai.natml.vision.movenet

Weekly Downloads

82

Version

1.0.9

License

Apache-2.0

Unpacked Size

25.2 kB

Total Files

17

Last publish

Collaborators

  • olokobayusuf