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
Hi,
It is bug or something wrong with my cpu why its giving me empty output?
My Code:
import cv2 import easyocr
reader = easyocr.Reader(['en', 'hi'], gpu=False)
image_path = r"yoboyS_20230522065533539_.jpg" image = cv2.imread(image_path)
if image is None: print(f"Error: Could not read the image from {image_path}") else:
image_rgb = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) results = reader.readtext(image_rgb) for bbox, text, prob in results: print(f"Detected text: '{text}' with confidence: {prob:.2f}")
Result: Using CPU. Note: This module is much faster with a GPU.
The text was updated successfully, but these errors were encountered:
I think is has nothing to do with CPU. Debug your code and image step by step.
Sorry, something went wrong.
No branches or pull requests
Hi,
It is bug or something wrong with my cpu why its giving me empty output?
My Code:
import cv2
import easyocr
reader = easyocr.Reader(['en', 'hi'], gpu=False)
image_path = r"yoboyS_20230522065533539_.jpg"
image = cv2.imread(image_path)
if image is None:
print(f"Error: Could not read the image from {image_path}")
else:
Result:
Using CPU. Note: This module is much faster with a GPU.
The text was updated successfully, but these errors were encountered: