📌  相关文章
📜  (-215:Assertion failed) img.type() == CV_8UC1 in func - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:07.004000             🧑  作者: Mango

代码示例1
img_blur = cv2.medianBlur(self.cropped_img,5).astype('uint8')
img_thresh_Gaussian = cv2.adaptiveThreshold(img_blur, 255, cv2.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.THRESH_BINARY, 11, 2)