BlazePalm
Palm landmark prediction with MediaPipe Hands in Unity Engine.
Installing BlazePalm
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.blazepalm": "1.0.3"
}
}
Predicting Hands in an Image
First, create the BlazePalm pipeline:
var pipeline = await BlazePalmPipeline.Create();
Then detect hands in the image:
Texture2D image = ...;
BlazePalmPredictor.Hand[] hands = pipeline.Predict(image);
Requirements
Quick Tips
Thank you very much!