问题 I am SUPER new to python coding and would like some help. I was able to segment each cell outline within a biological tissue (super cool!) and now I am trying to find the centroid of each cell within a tissue using this: I am using this code: img = cv2.imread('/Users/kate/Desktop/SegmenterTest/SegmentedCells/Seg1.png') image = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) thresh = cv2.threshold(image, 60, 255, cv2.THRESH_BINARY)[1] cnts = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN