We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got this error.
Full error is:
Traceback (most recent call last): File "/home/ukolovda/projects/ocr/ocr.py", line 68, in <module> outs = reader.readtext(str(jpeg_file), detail = 0) File "/home/ukolovda/.local/lib/python3.10/site-packages/easyocr/easyocr.py", line 468, in readtext result = self.recognize(img_cv_grey, horizontal_list, free_list,\ File "/home/ukolovda/.local/lib/python3.10/site-packages/easyocr/easyocr.py", line 383, in recognize image_list, max_width = get_image_list(h_list, f_list, img_cv_grey, model_height = imgH) File "/home/ukolovda/.local/lib/python3.10/site-packages/easyocr/utils.py", line 613, in get_image_list crop_img,ratio = compute_ratio_and_resize(crop_img,width,height,model_height) File "/home/ukolovda/.local/lib/python3.10/site-packages/easyocr/utils.py", line 574, in compute_ratio_and_resize img = cv2.resize(img,(model_height,int(model_height*ratio)), interpolation=Image.Resampling.LANCZOS) cv2.error: OpenCV(4.11.0) /io/opencv/modules/imgproc/src/resize.cpp:4208: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
I cannot attach the image by security reason.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've got this error.
Full error is:
I cannot attach the image by security reason.
The text was updated successfully, but these errors were encountered: