SpectatorView occurred a compile error [Calibration.sln] #294
Description
I have a camera "Canon EOS 700D", and a HDMI capture box "AVerMediaGC550".
I want to overlay the video stream form the camera with my Holograms.
Firstly, I have installed the driver of HDMI capture box, and install the driver and application.
Therefore, I guess the video stream from camera should be successfully captured by my PC.
And then, I also make some code changes as the websites has mentioned.
-
Compositor\SharedHeaders\compositorConstant.h
#define USE_OPENCV TRUE
make the value for the #define USE_OPENCV to be TRUE and others to be FALSE
the information was found in the Tested Capture Cards section in the website [Link] -
about the openCV
(1)I had better to download and install OpenCV 3.4.1
(2)if not, I need to update the #pragma comment(lib, "%LIB_NAME") in OpenCVFrameProvider.h and
CalibrationApp.h to reference the updated lib number.
(3)Do not use OpenCV 2.x. -
the information can be found in the **software **section in the website [Link]
the **Dependencies.props **has change the path. -
the file of stdafx.h also concerned.
The HOLOLENS_USER and HOLOLENS_PW was exactly the same as my HoloLens username and password.
There is one other thing bother me a lot.
As the website said, specifically in the Code Changes section, it said that
In OpenCVFrameProvider.h, change CAMERA_ID to be the index of the capture device you are using.
But, how do I access the index of the capture device?
Was the Camera_ID needed, or the capture card ID needed?
Anyway, the compile process just go though to show a whole blank screen.
Is there anyone ever resolve the problem, and give me a help?
thanks!