OpenCV Python support HaarDetectObjects documentation wrong?
The documentation for the OpenCV Python wrapper states that HaarDetectObjects have this prototype:
HaarDetectObjects(image, cascade, storage, scaleFactor=1.1, minNeighbors=3, flags=0, minSize=(0, 0))
But when I try to specify the minSize param I get this error:
cv.HaarDetectObjects( image, faceCascade, faceStorage, scale_factor=1.1, min_neighbors=3, flags=cv.CV_HAAR_DO_CANNY开发者_运维百科_PRUNING, min_size=(40,40) )
TypeError: function takes at most 6 arguments (7 given)
Is this the documentation wrong?
Thank you
精彩评论