[C#]Emgu.CV for Visual Studio 2013 [closed]
Hello,
is Emgu.CV working fine with Visual Studio 2013? I have tried 2 versions : emgucv-windows-x64-gpu 2.4.2.1777, and emgucv-windows-universal-cuda 2.9.0.1922) After a full day trying to use Emvu(many different forums, with different information/syntaxes), when I launch the project, I still have an exception on the following line :
CascadeClassifier _face = new CascadeClassifier("haarcascade_frontalface_default.XML");
Message is in french, but I could translate more or less :
A'System.TypeInitializationException' type exception occured in Emgu.CV.dll but was not generated in user code
Additional information : The type initializer for 'Emgu.CV.CvInvoke' threw an exception.
Thanks in advance for your help.
P.S : Additional problem met, but less important, when I use Emvu.CV .dll, it is looking for "haarcascade_frontalface_default.XML" file in "C:\Program Files (x86)\IIS Express" folder, even if .XML is in the same folder as the .dll, I don't understand why it goes in IIS directory? To solve the problem I copied .xml file into that directory, then I have the exception mentioned below.
please understand, that folks here can help you with opencv related problems, but not so much with those, that are closely related to any unpofficial 3rd party wrappers
ok, I just wanted to know if Opencv could work with that VS version, cause in bin folder , I could see only Emgu.CV.DebuggerVisualizers.VS2010.dll, and Emgu.CV.DebuggerVisualizers.VS2012.dll. I understand that 2nd question is not about opencv. thanks
still, try an absolute path for the cascade. the folder with the dll is probably not the one, where the program starts.
I suggest to go here: http://www.emgu.com/forum/viewforum.php?f=1 ! It is designed explicitly for your problems. Lets close this since it is unrelated!