|
1 | | -HoloLens With OpenCVForUnity Example |
2 | | -==================== |
| 1 | +# HoloLens With OpenCVForUnity Example |
3 | 2 |
|
4 | | -What's new |
5 | | ------ |
| 3 | + |
| 4 | +## What's new |
6 | 5 | By using the "HoloLensCameraStream" asset, video capture can now be executed faster. |
7 | 6 |
|
8 | 7 |
|
9 | | -Demo Video (old version) |
10 | | ------ |
| 8 | +## Demo Video (old version) |
11 | 9 | [](https://youtu.be/SdzsedkTpCI) |
12 | 10 |
|
13 | 11 |
|
14 | | -Environment |
15 | | ------ |
16 | | -Windows 10 Pro 1709 |
17 | | -Windows 10 SDK 10.0.14393.0 to 10.0.16299.0 |
18 | | -Visual Studio 2017 (v151.5.0) |
19 | | -Unity 2017.1.3f1 |
20 | | -HoloToolkit-Unity-v1.2017.1.2 ([https://github.com/Microsoft/MixedRealityToolkit-Unity/releases](https://github.com/Microsoft/MixedRealityToolkit-Unity/releases)) |
21 | | -OpenCV for Unity 2.2.6 ([https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088)) |
22 | | -HoloLensCameraStream ([https://github.com/VulcanTechnologies/HoloLensCameraStream](https://github.com/VulcanTechnologies/HoloLensCameraStream)) |
23 | | - |
24 | | -Setup |
25 | | ------ |
26 | | -* Clone this repository. |
27 | | -* Create a new project. (HoloLensWithOpenCVForUnityExample) |
28 | | -* Import the HoloToolkit-Unity-v1.2017.1.2.unitypackage. |
29 | | -* Setup the HoloToolKit. (Mixed Reality ToolKit > Configure > Apply Mixed Reality Project Setting) |
30 | | -* Import the OpenCVForUnity. |
31 | | -* Clone HoloLensCameraStream repository. |
32 | | -* Import the HoloLensCameraStream. (Copy the "HoloLensCameraStream/HoloLensVideoCaptureExample/Assets/CamStream/" folder to the "Assets/" folder.) |
33 | | -* Import the HoloLensWithOpenCVForUnityExample.unitypackage. |
34 | | - |
35 | | -* Add the "Assets/HoloLensWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window. |
36 | | -* Add the "WebCam" to "Publishing Settings > Capabilities" checklist in the "Player Settings" window. |
37 | | - |
38 | | -* Build and Deploy to HoloLens. (See [https://developer.microsoft.com/en-us/windows/holographic/holograms_100](https://developer.microsoft.com/en-us/windows/holographic/holograms_100)) |
39 | | -* (Print the AR marker "ArUcoMarker_DICT_6X6_250_ID1.pdf" on an A4 size paper) |
40 | | - |
41 | | -ScreenShot (old version) |
42 | | ------ |
| 12 | +## Environment |
| 13 | +* Windows 10 Pro 1709 |
| 14 | +* Windows 10 SDK 10.0.14393.0 to 10.0.16299.0 |
| 15 | +* Visual Studio 2017 (v151.5.0) |
| 16 | +* Unity 2017.1.3f1 |
| 17 | +* HoloToolkit-Unity-v1.2017.1.2 ([https://github.com/Microsoft/MixedRealityToolkit-Unity/releases](https://github.com/Microsoft/MixedRealityToolkit-Unity/releases)) |
| 18 | +* OpenCV for Unity 2.2.6 ([https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088](https://assetstore.unity.com/packages/tools/integration/opencv-for-unity-21088)) |
| 19 | +* HoloLensCameraStream ([https://github.com/VulcanTechnologies/HoloLensCameraStream](https://github.com/VulcanTechnologies/HoloLensCameraStream)) |
| 20 | + |
| 21 | + |
| 22 | +## Setup |
| 23 | +1. Clone this repository. |
| 24 | +1. Create a new project. (HoloLensWithOpenCVForUnityExample) |
| 25 | +1. Import the HoloToolkit-Unity-v1.2017.1.2.unitypackage. |
| 26 | + * Setup the HoloToolKit. (Mixed Reality ToolKit > Configure > Apply Mixed Reality Project Setting) |
| 27 | +1. Import the OpenCVForUnity. |
| 28 | + * Setup the OpenCVForUnity. (Tools > OpenCV for Unity > Set Plugn Inport Settings) |
| 29 | +1. Clone HoloLensCameraStream repository. |
| 30 | + * Copy the "HoloLensCameraStream/HoloLensVideoCaptureExample/Assets/CamStream/" folder to the "Assets/" folder. |
| 31 | +1. Import the HoloLensWithOpenCVForUnityExample.unitypackage. |
| 32 | +1. Add the "Assets/HoloLensWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window. |
| 33 | +1. Add the "WebCam" to "Publishing Settings > Capabilities" checklist in the "Player Settings" window. |
| 34 | +1. Build and Deploy to HoloLens. (See [https://developer.microsoft.com/en-us/windows/holographic/holograms_100](https://developer.microsoft.com/en-us/windows/holographic/holograms_100)) |
| 35 | + * (Print the AR marker "ArUcoMarker_DICT_6X6_250_ID1.pdf" on an A4 size paper) |
| 36 | + |
| 37 | +|Assets|Buld Settings| |
| 38 | +|---|---| |
| 39 | +||| |
| 40 | + |
| 41 | +## ScreenShot (old version) |
43 | 42 |  |
44 | 43 |
|
45 | 44 |  |
|
0 commit comments