
## MiDaS depth estimation model in Unity Sentis format
This is a depth estimation model that is confirmed to run in Unity 2023 based on [MiDaS](https://pytorch.org/hub/intelisl_midas_v2/).

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

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 +"/model-small_opset19.sentis");
```

![preview](preview.gif)

## 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)
{"license": "mit", "library_name": "unity-sentis", "pipeline_tag": "depth-estimation"}
unity-sentis onnx depth-estimation license:mit region:us