First time here? Check out the FAQ!
answered 2020-08-27 04:50:36 -0600
findContours expects white foreground and black background.
findContours
if you want it the other way round (detect black things) -- invert the image
img = ~img