File size: 1,027 Bytes
104b87b
 
be51d6a
171e6ca
104b87b
a4a27b0
05abce4
 
a4a27b0
cdc9032
a4a27b0
 
 
05abce4
a4a27b0
05abce4
a4a27b0
 
 
 
f9e4084
d818d01
f9e4084
 
d818d01
a4a27b0
171e6ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
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
![bee](Images/Bee.jpg)
# 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)