Ask Your Question

Revision history [back]

Haar Training detectMultiScale does not work very well when size vary

Hello,

I created my CascadeClassifier in order to find in some images if a parking sign is present. Sadly, it does not work very well. When I analyse the image from my webcam, taking a picture of a parking sign I printed and vary the distance between the image and my webcam, it only work when I am at a quite precise distance. The cascade identifier does not work when the image appear too big or too small.

I played with the scaleFactor but it didn't helped. Could you help me find a way to identify if a parking sign is in the picture, whatever the size of it in the picture?