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?
What method are you using to detect the parking sign? How have you trained the cascade? How many negative or positives ?
Some code would be helpful.
The code I'm using to test my classifier is the following: import numpy as np import cv2
I trained my classifier withe 1950 negative, positives images and 30 steps for the haartraining.