Socket
Socket
Sign inDemoInstall

ai.natml.vision.movenet-multipose

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ai.natml.vision.movenet-multipose

MediaPipe MoveNet multiple-pose detection in Unity Engine.


Version published
Weekly downloads
456
increased by11.22%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

MoveNet Multipose

MoveNet multiple body pose detection from Google MediaPipe.

Installing MoveNet Multipose

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-multipose": "1.0.1"
  }
}

Predicting Poses in an Image

First, create the MoveNet Multipose predictor:

// Create the MoveNet Multipose predictor
var predictor = await MoveNetMultiposePredictor.Create();

Then create an input feature:

// Create image feature
Texture2D image = ...;
var input = new MLImageFeature(image);
// Set the normalization
(input.mean, input.std) = modelData.normalization;

Finally, detect the body pose in an image:

// Detect the body pose
MoveNetMultiposePredictor.Pose[] pose = predictor.Predict(input);

Requirements

  • Unity 2021.2+

Quick Tips

Thank you very much!

Keywords

FAQs

Last updated on 18 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc