Thanks everyone for the inputs about releasing memory. I am not using this program currently, but would be glad to incorporate these changes and post it back if I can get confirmation that certain fix is working.
Hi,
I am using Windows 7, 64bit. I tried to run this code. I am getting errors because mex 32 is incompatible with my configuration. Anybody help me to finish the code successfully.
Creating library C:\USERS\MAJIDHZ\APPDATA\LOCAL\TEMP\MEX_LV~1\templib.x and object C:\USERS\MAJIDHZ\APPDATA\LOCAL\TEMP\MEX_LV~1\templib.exp
FaceDetect.obj : error LNK2019: unresolved external symbol _cvGetSeqElem referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvHaarDetectObjects referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvClearMemStorage referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvCreateMemStorage referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvEqualizeHist referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvReleaseImage referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvErode referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvCreateStructuringElementEx referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvCreateImage referenced in function _mexFunction
FaceDetect.obj : error LNK2019: unresolved external symbol _cvLoad referenced in function _mexFunction
../BIN/\FaceDetect.mexw32 : fatal error LNK1120: 10 unresolved externals
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Link of '..\BIN\FaceDetect.mexw32' failed.
??? Error using ==> mex at 222
Unable to complete successfully.
According to "Readme.text", i can't understand with 2nd step of 'Instructions for compiling'.
any one can explain these lines'The compiled files are stored in the bin directory. Place these output files along with "cv100.dll" and "cxcore.dll"
in desired directory and set path appropriately in matlab.', while i done already set the path for facedetection project.
Any one can help me.............
hi,i have installed the matlab R2009b with c++ 2008 to run the detector but tring that, a list of errors was appeared such
FaceDetect.cpp(165) : error C2059: erreur de syntaxeÿ: 'return'
FaceDetect.cpp(166) : error C2059: erreur de syntaxeÿ: '}'
FaceDetect.cpp(166) : error C2143: erreur de syntaxeÿ: absence de ';' avant '}'
FaceDetect.cpp(166) : error C2059: erreur de syntaxeÿ: '}'
C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Compile of 'FaceDetect.cpp' failed.
??? Error using ==> mex at 221
Unable to complete successfully.