I am trying to learn how torecognizes face in images using OpenCV2.2, CMake 2.8.4 and Visual Studio 2010 professional.
I used the face detection code from the following site. http://opencv.willowgarage.com/wiki/FaceDetection
I implemented this code in Visual C++ and tried to build it in that process i got the following error message
FaceDetection.obj : error LNK2019: unresolved external symbol _cvHaarDetectObjects referenced in function "void __cdecl detect_and_draw(struct _IplImage *)" (detect_and_draw@@YAXPAU_IplImage@@@Z)
C:\\Users\\Dell\\Documents\\Visual Studio 2010\\Projects\\FaceDetection\\Debug\\FaceDetection.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I posted this message in MSDN VC++ forum, i got a suggestion like i must install the SDK for OpenCV which is supported by intel.
Kindly clarify if i should installIntel Media SDK for my application and will it rectify my bug...
I think that we have a mistake here....
Intel Media SDK is not used for OpenCV. I think that people tryied to say to you install DirectShow SDK...
As Wikipedia say:
The BaseClasses from DirectShow SDK is required to build some camera input-related parts of OpenCV on Windows. This SDK is found in the Samples\Multimedia\DirectShow\BaseClasses subdirectory of the Microsoft Plataform SDK(or DirectX SDK 8.0 to 9.0c / DirectX Media SDK prior to 6.0), which must be built prior to the building of OpenCV."
I can't say that it will solve your problem, but I can say that installing Media SDK won't solve ;)
Hope this helps,