Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Internally they both do the same thing, but cvHaarCascadeClassifier is the C interface and cv::CascadeClassifier is the c++ interface. I am guessing that your cvHaarCascadeClassifier is having problems with some error in your image, perhaps something with wrong channels or data type. It should be practically the same as cv::CascadeClassifier.