|
39 | 39 | 1. **Run the app:** Go to **Debug > Start Debugging**. Once the app is deployed to the HoloLens, you should see some confirmation output in the Output window. |
40 | 40 | * (Print the AR marker "CanonicalMarker-d10-i1-sp500-bb1.pdf" on an A4 size paper) |
41 | 41 |
|
42 | | -1. [Choosing a Unity version and XR plugin](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/choosing-unity-version) |
43 | | -1. [Known issues in Unity versions and packages](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/known-issues) |
| 42 | +* [Choosing a Unity version and XR plugin](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/choosing-unity-version) |
| 43 | +* [Known issues in Unity versions and packages](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/known-issues) |
44 | 44 |
|
45 | 45 |
|
46 | 46 | ## Setup (HoloLens1 / Unity 2019 (Built-in Render Pipeline / LegacyXR / MRTK 2 / DirectX 11 / Visual Studio 2019)) |
47 | 47 | 1. Download the latest release unitypackage. |
48 | 48 | 1. Create a new project. (`HoloLensWithOpenCVForUnityExample`) |
49 | | -1. Import the OpenCVForUnity. |
50 | | -1. Import the HoloLensCameraStream. |
51 | 49 | 1. Import the Microsoft Mixed Reality Toolkit. |
52 | 50 | * Add MRTK2 (Mixed Reality Toolkit - Mixed Reality Toolkit Foundation) to the project using "Mixed Reality Feature Tool". |
53 | 51 | * Follow the MRTK2 configuration dialog to set up the project. (XR System: Legacy Built-in XR) |
| 52 | +1. Import the OpenCVForUnity. |
| 53 | +1. Import the HoloLensCameraStream. |
54 | 54 | 1. Import the HoloLensWithOpenCVForUnityExampleMRTK2.unitypackage. |
55 | 55 | 1. Add the "Assets/HoloLensWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window. |
56 | 56 | 1. Configure settings in the "Project Settings" window. |
|
62 | 62 | ## Setup (Unity 2021 (Built-in Render Pipeline / OpenXR / MRTK 2 / DirectX 11 / Visual Studio 2022)) |
63 | 63 | 1. Download the latest release unitypackage. |
64 | 64 | 1. Create a new project. (`HoloLensWithOpenCVForUnityExample`) |
65 | | -1. Import the OpenCVForUnity. |
66 | | -1. Import the HoloLensCameraStream. |
67 | 65 | 1. Import the Microsoft Mixed Reality Toolkit. |
68 | 66 | * Add MRTK2 (Mixed Reality Toolkit - Mixed Reality Toolkit Foundation) and OpenXR(Platform Support - Mixed Reality OpenXR Plugin) to the project using "Mixed Reality Feature Tool". |
69 | 67 | * Follow the MRTK2 configuration dialog to set up the project. (XR System: OpenXR) |
| 68 | +1. Import the OpenCVForUnity. |
| 69 | +1. Import the HoloLensCameraStream. |
70 | 70 | 1. Import the HoloLensWithOpenCVForUnityExampleMRTK2.unitypackage. |
71 | 71 | 1. Add the "Assets/HoloLensWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window. |
72 | 72 | 1. Configure settings in the "Project Settings" window. |
73 | 73 | * Add `XR_PLUGIN_OPENXR` to the list of Define Symbols. |
74 | 74 | * Enable `WebCam` Capabilties in Publishing settings tab. |
75 | 75 | 1. Build the project; open it in VS2022, set the deployment target to `ARM64` and deploy it to the Hololens2 actual device. |
76 | 76 |
|
77 | | -1. [Set up a new OpenXR project with MRTK](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/new-openxr-project-with-mrtk) |
| 77 | +* [Set up a new OpenXR project with MRTK](https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/new-openxr-project-with-mrtk) |
78 | 78 |
|
79 | 79 |
|
80 | 80 | ## Setup (Unity 2021 (Built-in Render Pipeline / OpenXR / MRTK 3 / DirectX 11 / Visual Studio 2022)) |
81 | 81 | 1. Download the latest release unitypackage. |
82 | 82 | 1. Create a new project. (`HoloLensWithOpenCVForUnityExample`) |
83 | | -1. Import the OpenCVForUnity. |
84 | | -1. Import the HoloLensCameraStream. |
85 | 83 | 1. Import the Microsoft Mixed Reality Toolkit. |
86 | 84 | * Add MRTK3 (MRTK3 - MRTK Input, MRTK UX Components, MRTK UX Components (Non-Canvas)) and OpenXR(Platform Support - Mixed Reality OpenXR Plugin) to the project using "Mixed Reality Feature Tool". |
87 | 85 | * * Set up the MRTK3. (XR System: OpenXR) |
| 86 | +1. Import the OpenCVForUnity. |
| 87 | +1. Import the HoloLensCameraStream. |
88 | 88 | 1. Import the HoloLensWithOpenCVForUnityExampleMRTK3.unitypackage. |
89 | 89 | 1. Add the "Assets/HoloLensWithOpenCVForUnityExample/*.unity" files to the "Scenes In Build" list in the "Build Settings" window. |
90 | 90 | 1. Configure settings in the "Project Settings" window. |
91 | 91 | * Add `XR_PLUGIN_OPENXR` to the list of Define Symbols. |
92 | 92 | * Enable `WebCam` Capabilties in Publishing settings tab. |
93 | 93 | 1. Build the project; open it in VS2022, set the deployment target to `ARM64` and deploy it to the Hololens2 actual device. |
94 | 94 |
|
95 | | -1. [Setting up a new Unity project with MRTK3](https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk3-overview/getting-started/setting-up/setup-new-project) |
| 95 | +* [Setting up a new Unity project with MRTK3](https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk3-overview/getting-started/setting-up/setup-new-project) |
96 | 96 |
|
97 | 97 |
|
98 | 98 |
|
|
0 commit comments