Ask Your Question

dommy's profile - activity

2016-05-23 23:56:23 -0500 received badge  Taxonomist
2013-01-25 00:15:50 -0500 received badge  Student (source)
2012-07-11 05:34:06 -0500 received badge  Famous Question (source)
2012-07-10 01:14:40 -0500 received badge  Notable Question (source)
2012-07-09 15:38:50 -0500 received badge  Popular Question (source)
2012-07-09 06:36:57 -0500 asked a question Speed of Face dectection

Hi, i am a c# developer (Sorry) and using EMGU's wrapper around OpenCV for face detection - it gets good results. But, each time I call the detect method the RAM goes up quite a lot (especially if I am monitoring 4 cameras at the same time). I was wondering my approach to minimize the RAM. I have thought of putting the face detection routine in a service (though I doubt this would reduce the RAM usage) and/or accessing the Face Detection routine via a C++ DLL. This C++ DLL will have face_detect.cpp (that comes with OpenCV) but configured as a DLL and not as a Win App. I am struggling to do this. I can make a call to the DLL from c# (and I have tested returning vector<int> OK). But as soon as I add the OpenCV stuff it errors on the c# side. Obviously, my knowledge of linking of libraries is not good enough (I think i need to use static libraries?). BUT, before I continue I wanted to know if there is any merit in following this in regards to RAM deduction.

Any suggestions please?

Thanks..

Andrew