1 | initial version |
That is wrong argument in cv2.imread.
imagePath = sys.argv[1] classifier = cv2.CascadeClassifier ("haarcascade_frontalface_default.xml") image = cv2.imread(imagePath)
Change scaleFactor=1.1 to scaleFactor=1.2
2 | No.2 Revision |
That is wrong argument in cv2.imread.
imagePath = sys.argv[1]
classifier = cv2.CascadeClassifier ("haarcascade_frontalface_default.xml")
image = Change scaleFactor=1.1 to scaleFactor=1.2