1 | initial version |
You've given this information about the size of the image and whatever, but the real question is: are there contours in the image for findContours to find in the first place. If you were giving it an all black image for example, then of course it's not going to find any contours in that. Have you displayed the image to see if what you're asking it even makes sense?