-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
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
Perform OCR multiple images at the same time? #394
Comments
try adjusting |
@rkcosmos thanks for picking up on this. It's not clear to me how to pass in a batch of images corresponding to |
@rkcosmos result_batch = reader.readtext(i,detail = 0,batch_size=64) i is of shape (64, 256, 256, 3) , But it is expecting np array of len(img.shape) less than or equal to 3. UnboundLocalError: local variable 'img' referenced before assignment |
Input image has to be one image (not array of images). This |
I did create some edits on the scripts to load a batch of input images for the detector as well (inference speed should go up in GPU mode). If there is enough interest, I can create a PR for this |
@SamSamhuns That would be great! |
I am using easyocr on a GPU, but the overall time taken for my dataset is large and my GPU are not being fully utilized, is there a way to group together images and using GPU to its max extent?
The text was updated successfully, but these errors were encountered: