import cv2
img = cv2.imread(r'imgs\cleared_captcha.jpg')
cv2.imwrite('img.png', img)
import cv2
img = cv2.imread(r'imgs\cleared_captcha.jpg')
cv2.imshow('img', img)
cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'