Premature end of JPEG file opencv
Problem description ‘Premature end of JPEG file’ is a warning when using cv2 (python version of opencv ) to read the image, the warning code is located in libjpeg The specific link is https://github.com/opencv/opencv/search?utf8=%E2%9C%93&q=JWRN_JPEG_EOF When debugging the positioning image, it is indeed found that the image is broken. Second, the solution In order to let …