- Home /
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, Tiago
You posted this question 3 times. All three were stuck in the moderation queue. As soon as you have 15+ karma you can directly post to the site but until then all your posts have to be verified by a 1000+ karma user. Here in europe (germany) it was 04:00am when you posted the question, so on this continent you won't see much activity at thie time ;)
Answer by hoffmanuel · Oct 24, 2012 at 11:41 AM
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 :( 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.
..br..
btw: i used E$$anonymous$$GU from here:
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Unity OpenCV integration 1 Answer
OpenCV Hand/Finger Recognition 0 Answers
EmguCv inside Unity 2 Answers
Unity cannot correctly refer another variable in another script? 0 Answers