unity-sentis onnx image-classification license:mit region:us
---
license: mit
library_name: unity-sentis
pipeline_tag: image-classification
---


## MNIST-12 Digit Recognition Model in Unity Sentis format
This is a digit recognition model from the [ONNX Model Zoo](https://github.com/onnx/models/tree/main/validated/vision/classification/mnist) formatted for Unity Sentis 2023

## How to Use
Example source code to run this model can be found at: [Source Code](https://github.com/Unity-Technologies/sentis-samples/tree/main/DigitRecognitionSample)

To use *.sentis precompiled file, place the file in the Assets/StreamingAssets folder. And replace the loading code with:
```
Model model = ModelLoader.Load(Application.streamingAssetsPath + "/MNIST-12.sentis");
```

![preview](mnist-preview.png)

## Unity Sentis
Unity Sentis is the inference engine that runs in Unity 3D. More information can be found at [here](https://unity.com/products/sentis)