|
--- |
|
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](https://arxiv.org/abs/1801.04381) |
|
|
|
## 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 |
|
 |
|
# Example output |
|
`Bee (100%)` |
|
|
|
## Unity Sentis |
|
Unity Sentis is the inference engine for Unity 3D. You can find more about it [here](https://unity.com/products/sentis) |