File size: 959 Bytes
4e18ef1
 
f36c845
b135af2
4e18ef1
80b735d
1459633
 
 
00826e1
80b735d
 
00826e1
80b735d
 
 
4bbf26a
80b735d
 
77d9d45
80b735d
 
b135af2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
license: mit
library_name: unity-sentis
pipeline_tag: depth-estimation
---

## MiDaS depth estimation model in Unity Sentis format (Version 1.3.0-pre.3*)
*Version 1.3.0 Sentis files are not compatible with Sentis 1.4.0 and need to be recreated/downloaded

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)