how to make unity webcam work with emgu?

I would like to know if anyone could help me on how to have unity webcam working and use emgu(open cv) to access the frames?

best regards,

You will need the dll’s form EMGU and add them to a ‘Plugins’ directory in your Unity project.
Note that you need Unity Pro to get it working in that way.
I am working on a project with Unity, openCV and a webcam, too, thats how i found your question ^^
The problem is that it doesn’t work :frowning:
I get the following:

DllNotFoundException: opencv_core220.dll
Emgu.CV.CvInvoke..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Emgu.CV.CvInvoke
Emgu.CV.Capture..ctor (Int32 camIndex)
Emgu.CV.Capture..ctor ()
WebCamTest.Awake () (at Assets/WebCamTest.cs:23)

This is in the line where i want to put up a Capture Object:

16    Capture _capture;
21    void Awake()
22    {
23       _capture = new Capture();
29    }

Maybe you can try to add EMGU to your project and tell me, if you get the same or similar errors.