|
--- |
|
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) |