I\'m trying face detection using OpenCv 2.3. My trying to load "haarcascade_frontalface_alt_tree.xml" on my project, I\'m constantly unable to load the xml file.>
It happens also to me but finally I think I found the problem.
OpenCV has two different libraries *d.lib and *.lib the d means debug.
The problem is you need to setup the proper libraries to your environment (vs in my case) in the proper mode.
d.lib when you are in debug and .lib when you are in release.
Also in my project I need to run it in Release mode to make it work :)
This setup in my vs2009 could be found under Properties, Linker, Input, Additional dependencies.
Best regards