cv

52 阅读1分钟

灰度

这两种方法是等效的 image =cv2.imread('./solving_captchas_code_examples/generated_captcha_images/2JWE.png', cv2.IMREAD_GRAYSCALE)

image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)