c# - The type initializer for 'Emgu.CV.CvInvoke' threw an exception -


i use code in project. haar = new haarcascade("face_detect.xml"); when program run, gives exception "'emgu.cv.cvinvoke' threw exception". can give me suggestion why is?

edit: search this. says copy dlls emgucv. don't know where need copy dlls.

add emgu.cv , emgu.gpu , emgu.ml , emgu.cv.ui , emgu.cv "references" in "solution explorer window"
add opencv_core290.dll , opencv_gpuimgproc290.dll project in "solution explorer window".
right click project / add / add existing item / goto emgucv folder / goto bin / *86 / opencv_core290.dll (if running 2.9 version of emgu cv )
check .
can check youtube link https://www.youtube.com/watch?v=gaafi1kjagm


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -