Schrieb ich den folgenden code zu erkennen und zeichnen Konturen: img = cv2.imread('test2.tif'); if not img is None: imgray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY); ret,thresh = cv2.threshold(imgray,127,255,0); contours,hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE); #draw a three pixel wide outline cv2.drawContours(img,contours,-1,(0,255,0),3); Und hier ist