Image Classification
unity-sentis
ONNX
sentis-mobilenet-v2 / README.md
UnityPaul's picture
Upload 4 files
05abce4 verified
|
raw
history blame
1.03 kB
metadata
license: mit
library_name: unity-sentis
pipeline_tag: image-classification

MobileNet V2 in Unity Sentis Format (Version 1.4.0-pre.2*)

*Version 1.3.0 Sentis files are not compatible with 1.4.0 and need to be recreated/downloaded

This is a small image classification model that works in Unity 2023. It is based on MobileNet V2

How to Use

  • Create a new scene in Unity 2023
  • Install com.unity.sentis version 1.4.0-pre.2 from the package manager
  • Add the C# script to the Main Camera
  • Drag the mobilenet_v2.sentis model onto the modelAsset field
  • Drag the class_desc.txt on to the labelsAsset field
  • Drag one of the sample images on to the inputImage field in the inspector.
  • Press play and the result of the prediction will print to the console window.

Example input

bee

Example output

Bee (100%)

Unity Sentis

Unity Sentis is the inference engine for Unity 3D. You can find more about it here