ret, thresh = Cv2. threshold (ref gray, 127, 255, 0) contours, hierarchy = Cv2. findContours (thresh, 1, 2) return COntours if name ==' main " : Cv2.
確定! 回上一頁