Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCVforUnity version #7

Open
farshaddm opened this issue Dec 4, 2020 · 3 comments
Open

OpenCVforUnity version #7

farshaddm opened this issue Dec 4, 2020 · 3 comments

Comments

@farshaddm
Copy link

Hi,

I'm using OpenCV for unity version 4.0 from the Enox software. My problem is that the Sphere stays static, and does not follow the laser pointer at all. However, the Hololens is in detection mode so I'm not really sure what is the issue. Do you know if it has to do with the version (which you mentioned that has to be 3.9), or something else?

In addition, when trying to play the scene in Unity using computer webcam, it gives an error saying that reference to a null object.

By the way, thank you for your great work and sharing the project.

@kap6
Copy link

kap6 commented Jan 19, 2021

Thankyou for sharing the project. Great Work !!
I am having the same issue. My OpenCV for Unity version is 2.4.2

@shoukailiang
Copy link

Hi,

I'm using OpenCV for unity version 4.0 from the Enox software. My problem is that the Sphere stays static, and does not follow the laser pointer at all. However, the Hololens is in detection mode so I'm not really sure what is the issue. Do you know if it has to do with the version (which you mentioned that has to be 3.9), or something else?

In addition, when trying to play the scene in Unity using computer webcam, it gives an error saying that reference to a null object.

By the way, thank you for your great work and sharing the project.

Try getting webCamTextureToMatHelper in the Awake function

        private void Awake()
        {
            webCamTextureToMatHelper = gameObject.GetComponent<HololensCameraStreamToMatHelper>();
        }

@Aki1380
Copy link

Aki1380 commented Jan 6, 2022

@shoukailiang
Did you it run successfully?
When I ran it, the red ball did not follow the laser pointer.
Could give me some hint?
Thanks.

OpenCV for Unity 2.4.6
Unity 2019.4.31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants