0

I was wondering if OpenCVin case of haar features and lbp scales the image during the multiscale search or it scales the features itself as it mentioned in a paper?

EDIT: As it turns out the detector scales images, not features. Does anybody know why? It can be much faster with scaling the features.

Thank you.

warmspringwinds
  • 1,147
  • 2
  • 14
  • 31

1 Answers1

1

The images are scaled during the process.

You can check more info from OpenCV's doc on CascadeClassifier::detectMultiScale()'s scaleFactor parameter:

scaleFactor – Parameter specifying how much the image size is reduced at each image scale.

herohuyongtao
  • 49,413
  • 29
  • 133
  • 174