dwofk/fast-depth[1] の学習済みモデルを利用し、HoloLens上でのデプスの推定と表示を行います。
- AirTapするとカメラから取得した画像を元に奥行きを推定、メッシュ化して表示します
- HoloLens (Windows 10 version 1809)
- Unity 2017.4
- Visual Studio 2017
- UWPのビルド
- 作成された sln を開く
- HoloFastDepth プロジェクトの "プロパティ" を開き、"アプリケーション" タブの "ターゲットバージョン" を "1809" に設定する。
Assets/MLModel
を HoloFastDepth プロジェクトのAssets
内へコピーfastdepth_7.onnx
の "ビルドアクション" を "コンテンツ"に、"出力ディレクトリにコピー" を "常にコピーする" に変更- ターゲットを指定してビルド & デプロイ
- @matsunoh
- @miso3
[1] Diana Wofk, Fangchang Ma, Tien-Ju Yang, Sertac Karaman, Vivienne Sze, "FastDepth: Fast Monocular Depth Estimation on Embedded Systems," IEEE International Conference on Robotics and Automation (ICRA), 2019.