Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, I'm not an expert in opencv for python. But it looks for me that you are using a unsupported image type (tpye 5 == CV_32F). findContours only support 8bit single channel images (type 8uC1 == 0) (see findContours online documentation).