# 並將上面程式中的cv2.RETR_LIST改為CV_RETR_EXTERNAL,只取外層的Contour。 for c in cnts: mask = np.zeros(gray.shape, dtype="uint8″) #依Contours ...
確定! 回上一頁