Cv2.drawContours Will Not Draw Filled Contour
I'm trying to display a filled contour using the cv2.drawContours function in OpenCV. I've developed a list of contours from an edge image derived from a Canny detection, and am f
Solution 1:
The function takes ArrayOfArrays
as input.
Try: cv2.drawContours(mask, [cnt], -1, (0,255,255), -1)
instead of: cv2.drawContours(mask, cnt, -1, (0,255,255), -1)
.
Post a Comment for "Cv2.drawContours Will Not Draw Filled Contour"