ai.natml.vision.hand-pose

1.0.1 • Public • Published

Hand Pose

Hand pose detection from MediaPipe. This predictor implements the hand pose model, but not the palm detector. It only supports detecting a single hand in the image.

Installing Hand Pose

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.hand-pose": "1.0.1"
  }
}

Detecting Hand Pose in an Image

First, create the predictor:

// Create the hand pose predictor
var predictor = await HandPosePredictor.Create();

Then detect the hand pose in an image:

Texture2D image = ...;
// Detect hand pose in an image
HandPosePredictor.Hand hand = predictor.Predict(image);

Requirements

  • Unity 2021.2+

Quick Tips

Thank you very much!

Package Sidebar

Install

npm i ai.natml.vision.hand-pose

Weekly Downloads

25

Version

1.0.1

License

Apache-2.0

Unpacked Size

22.2 kB

Total Files

15

Last publish

Collaborators

  • olokobayusuf