Why doesn’t findContours() detect my circle even though it is clearly visible after thresholding?
retained text
Hi everyone, I’m learning OpenCV and working on detecting a circular fiducial. My current pipeline is: Image → threshold → findContours() → drawContours() After thresholding, I can clearly see the fiducial as a clean circular region in the binary image. However, when I use cv2.findContours() and then cv2.drawContours(), the contour I expect around the fiducial is not drawn. I’m trying to understand the fundamental reason why this happens. If the thresholded image visually contains a clear foreground region, what conditions determine whether findContours() will actually return a contour for it?
document fetched 2026-10-03 00:23 · canonical https://reddit.com/r/computervision/comments/1wvuidj/why_doesnt_findcontours_detect_my_circle_even