emgucv - Getting Emgu CV Motion Detection sample working: Unable to load DLL 'opencv_legacy249' -


i'm trying motion detection emgu cv example mentioned in the answer "looking function motion detection on emgucv" working.

to example code working first needed

  1. add references emgu cv dlls emgu.cv, emgu.cv.ui, , emgu.util project
  2. make sure relevant open cv dlls (listed on the emgu wiki , found in c:\emgu\emgucv-windows-universal-gpu 2.4.9.1847\bin\x86) copied output executable directory of project
  3. change build target x86

when execution gets line in form1.cs

_forgrounddetector = new bgstatmodel<bgr>(image, emgu.cv.cvenum.bg_stat_type.fgd_stat_model); 

it throws exception unable load dll 'opencv_legacy249': specified module not found. (exception hresult: 0x8007007e). looking @ execution directory dll is there:

explorer screenshot showing required dll's presence

what's going on? how fix this?

fixed.

i think had version clash. if take above steps motion detection example installs emgu cv, i.e. c:\emgu\emgucv-windows-universal-gpu 2.4.9.1847\emgu.cv.example\motiondetection instead of http://github.com/artemisvision/emgu_opencv/tree/master/emgu.cv.example/motiondetection works.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -