ai.natml.vision.movenet
v1.0.9
Published
Realtime pose detection with MediaPipe MoveNet.
Downloads
386
Maintainers
Readme
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
- Discover more ML models on NatML Hub.
- See the NatML documentation.
- Join the NatML community on Discord.
- Contact us at [email protected].
Thank you very much!