ai.natml.vision.blazepalm.detector

1.0.2 • Public • Published

BlazePalm Detector

Palm detection from Google MediaPipe in Unity Engine.

Installing BlazePalm Detector

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.blazepalm.detector": "1.0.1"
  }
}

Detecting Hands in an Image

First, create the detector:

// Create the BlazePalm detector
var detector = await BlazePalmDetector.Create();

Finally, detect hands in an image:

Texture2D image = ...;
// Detect hands in the image
BlazePalmDetector.Detection[] hands = detector.Predict(image);

Requirements

  • Unity 2021.2+

Quick Tips

Thank you very much!

Package Sidebar

Install

npm i ai.natml.vision.blazepalm.detector

Weekly Downloads

385

Version

1.0.2

License

Apache-2.0

Unpacked Size

27.2 kB

Total Files

15

Last publish

Collaborators

  • olokobayusuf