(based on Long Qian's "HoloLens with Aruco")
===
Follow this to build CMake tool with support for Windows 10.
- Follow this to build OpenCV binaries for Windows UWP.
- The "Long way" is recommended.
opencv_uwp
folder contains the opencv binary I built for Windows UWP (x86 only, since HoloLens run on x86). - Set environment
OpenCV_DIR
to the your folder ofopencv_uwp
.
- Use the CMake tool for UWP to build the VS solution for the wrapper, navigate to the build folder, and execute:
Path\To\CMake\bin\Release\cmake.exe -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_NAME:String=WindowsStore -DCMAKE_SYSTEM_VERSION:String="10.0" -DCMAKE_VS_EFFECTIVE_PLATFORMS:String=x86 ..
- Open the VS solution and configure the project so that "/ZW" option is activated (Consume Windows Runtime Extension).
- Build the dll.
- Put the generated DLL and necessary OpenCV dlls to the
Plugins/WSA/x86/
folder. - Export to HoloLens and run!