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
version1.4.0-pre.2
from the package manager - Add the C# script to the Main Camera
- Drag the
mobilenet_v2.sentis
model onto themodelAsset
field - Drag the
class_desc.txt
on to thelabelsAsset
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
Example output
Bee (100%)
Unity Sentis
Unity Sentis is the inference engine for Unity 3D. You can find more about it here
- Downloads last month
- 23
Inference API (serverless) does not yet support unity-sentis models for this pipeline type.