ai.natml.vision.blazepose.detector
v1.0.3
Published
Pose detection with MediaPipe BlazePose.
Downloads
908
Maintainers
Readme
BlazePose Detector
MediaPipe BlazePose for person detection in Unity Engine with NatML.
Installing BlazePose
Add the following items to your Unity project's Packages/manifest.json
:
{
"scopedRegistries": [
{
"name": "NatML",
"url": "https://registry.npmjs.com",
"scopes": ["ai.fxn", "ai.natml"]
}
],
"dependencies": {
"ai.natml.vision.blazepose.detector": "1.0.3"
}
}
Detecting Poses in an Image
First, create the BlazePose detector:
// Create the BlazePose detector
var predictor = await BlazePoseDetector.Create();
Then detect pose rectangles in the image:
// Create image feature
Texture2D image = ...;
// Detect pose regions-of-interest in the image
BlazePoseDetector.Detection[] faces = predictor.Predict(image);
Requirements
- Unity 2022.3+
Quick Tips
- Join the NatML community on Discord.
- Discover more ML models on NatML Hub.
- See the NatML documentation.
- Contact us at [email protected].
Thank you very much!