PoseLandmarkBarracuda is a human pose landmark detecter that runs the Mediapipe Pose Landmark neural network model on the Unity Barracuda.
PoseLandmarkBarracuda implementation is inspired by HandLandmarkBarracuda and I referenced his source code.(Thanks, keijiro!).
PoseLandmarkBarracuda can be installed with npm or GitHub URL.
PoseLandmarkBarracuda can be installed by adding following sections to the manifest file (Packages/manifest.json
).
To the scopedRegistries
section:
{
"name": "creativeikep",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.ikep" ]
}
To the dependencies
section:
"jp.ikep.mediapipe.poselandmark": "1.1.1"
Finally, the manifest file looks like below:
{
"scopedRegistries": [
{
"name": "creativeikep",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.ikep" ]
}
],
"dependencies": {
"jp.ikep.mediapipe.poselandmark": "1.1.1",
...
}
}
PoseLandmarkBarracuda can be installed by adding below URL on the Unity Package Manager's window
https://github.com/creativeIKEP/PoseLandmarkBarracuda.git?path=Packages/PoseLandmarkBarracuda#v1.1.1
or, adding below sentence to your manifest file(Packages/manifest.json
) dependencies
block.
"jp.ikep.mediapipe.poselandmark": "https://github.com/creativeIKEP/PoseLandmarkBarracuda.git?path=Packages/PoseLandmarkBarracuda#v1.1.1"
This image for demo scene("SampleScene.unity") was downloaded from here.
The ONNX model files have been converted for Unity Barracuda from Mediapipe's "pose_landmark_full.tflite" and "pose_landmark_lite.tflite" file. The ONNX model files were converted with tflite2tensorflow and tf2onnx.
Copyright (c) 2021 IKEP