輪廓和凸包

import cv2 imagepath = "./hand.jpg" img = cv2.imread(imagepath) print(img.shape[:2]) gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ret,thresh = cv2.threshold(gray,235,255,cv2.THRESH_BINARY) # 注意,findCon
相關文章
相關標籤/搜索