Detecting first inner black circle and making a contour

crosspost: