Image Classification
unity-sentis
ONNX
File size: 920 Bytes
104b87b
 
be51d6a
171e6ca
104b87b
a4a27b0
 
 
cdc9032
a4a27b0
 
 
32c11b6
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
---
license: mit
library_name: unity-sentis
pipeline_tag: image-classification
---

## MobileNet V2 in Unity Sentis Format

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.3.0-pre.3` from the package manager
* Add the C# script to the Main Camera
* Put the `mobilenet_v2.sentis` model in the `Assets/StreamingAssets` folder
* 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)