Skip to content

keijiro/BodyPixSentis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BodyPixSentis

gif gif

BodyPixSentis is an implementation of the BodyPix model for person segmentation and pose estimation. It runs on the Unity Inference Engine, Unity’s official neural network runtime optimized for real-time applications.

System Requirements

  • Unity 6
  • Compute shader support

ONNX Model Information

The original BodyPix model, provided in TensorFlow.js format, has been converted to ONNX using tfjs-to-tf and tf2onnx. For details, see the Colab notebook.

ResNet Model Support

This package supports ResNet-based models, which offer higher accuracy but are larger and slower. Due to GitHub and npm.js file size limits, these ONNX files are not included in the repository. You can download them from ResNetZip instead.

To use ResNet models, create a new BodyPix ResourceSet and set the model, architecture, and stride fields accordingly.

ResNet50

Installation

You can install the BodyPixSentis package (jp.keijiro.bodypix) via the "Keijiro" scoped registry using the Unity Package Manager. To add the registry to your project, follow these instructions.