File size: 1,035 Bytes
104b87b be51d6a 171e6ca d6bd9e7 104b87b a4a27b0 d6bd9e7 a4a27b0 d6bd9e7 d818d01 d6bd9e7 |
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
tags:
- unity-inference-engine
---
# MobileNet V2 in Unity 6 with Inference Engine
This is the [MobileNet V2](https://arxiv.org/abs/1801.04381) model running in Unity 6 with Inference Engine. This is a small image classification model.
## How to Use
* Create a new scene in Unity 6;
* Install `com.unity.ai.inference` from the package manager;
* Add the `RunMobileNet.cs` script to the Main Camera;
* Drag the `mobilenet_v2.onnx` asset from the `models` folder into the `Model Asset` field;
* Drag the `class_desc.txt` asset from the `data` folder into the `Labels Asset` field;
* Drag an image, such as `Bee.jpg` asset from the `images` folder into the `Input Image` field;
## Preview
Enter play mode. If working correctly the predicted class will be logged to the console.
## Inference Engine
Inference Engine is a neural network inference library for Unity. Find out more [here](https://docs.unity3d.com/Packages/com.unity.ai.inference@latest). |