Python (-211) The total matrix size does not fit to "size_t" type in function cv::setSize

asked 2018-07-05 11:06:18 -0600

Hi I am tring to detect something on a tif image.

my code is image = cv2.imread('.tif',0) faceRect = cascade.detectMultiScale(image, scaleFactor=1.1, minNeighbors=1, minSize=(1,1))

But I got this error. error: (-211) The total matrix size does not fit to "size_t" type in function cv::setSize I am wondering if it's because this tif image is too large?

Does anybody have some suggestions?

Thanks!

edit retag flag offensive close merge delete