how does scaling factor helps in resizing image, i mean if we take scaling factor as 1.3 , why it resize it to 30% ?? i couldnt understand this
Face Detection using HaarCascades
Hello Shalini,
The Scaling Factor basically depicts the factor through which the image size would be reduced when passed through the Classifier. If we specify a factor 1.x (say) then our image would be resized by x%. We need to have this factor because the frontal-face classifier is trained on Multi Layer Perceptrons which do not work well if the testing image is too different wrt the scale as compared to the training ones (which they must’ve done at their end).
That’s all you need to know.
I hope this helps.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.