Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
petergu684 committed Sep 9, 2020
1 parent 530b56d commit 71748ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Binary file added DepthMapExample.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# HoloLens2-ResearchMode-Unity
Unity Plugin for using research mode functionality in HoloLens 2. Modified based on HoloLens2ForCV.
Unity Plugin for using research mode functionality in HoloLens 2. Modified based on [HoloLens2ForCV](https://github.com/microsoft/HoloLens2ForCV).

![Depth Map Example](https://github.com/petergu684/HoloLens2-ResearchMode-Unity/blob/master/DepthMapExample.jpg)

Skeleton to wrap HoloLens 2 research mode api into Windows Runtime extension.
To use it in Unity, just build the project and move the .dll and .winmd file in 'HL2UnityPlugin\ARM64\Release\HL2UnityPlugin' into Plugins folder in Unity Assets.
To use it in Unity, just build the project (ARM64/Release) and move the .dll and .winmd file in 'HL2UnityPlugin\ARM64\Release\HL2UnityPlugin' into Plugins folder in Unity Assets.

The reconstructed point cloud still has the offset problem as is described [here](https://github.com/microsoft/HoloLens2ForCV/issues/12) for object beyond 1m.

Feel free to modify the code according to your own need. So far I have only implemented functions related to AHAT camera.

Still under development...

0 comments on commit 71748ac

Please sign in to comment.