Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

SpectatorView occurred a compile error [Calibration.sln] #294

Open
@psytgm

Description

@psytgm

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.

  1. 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]

  2. 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.

  3. the information can be found in the **software **section in the website [Link]
    the **Dependencies.props **has change the path.

  4. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions