Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello. First, scale factor should be greaer than the 1.0, it is pretty evident because CascadeClassifier::detectMultiScale function uses this value to calculate the ammount of the scale steps (so for 1 it is infinite, so your code crashes because of memory consumption). Second, of cource you can detect without any scale and shift, use CascadeClassifier::setImage and CascadeClassifier::runAt