Questions tagged [easyocr]

EasyOCR is a Python package that provides a language-aware OCR based on PyTorch.

Links:

90 questions
5
votes
2 answers

Unknown OpenCV exception while using EasyOcr

Code: import easyocr reader = easyocr.Reader(['en']) result = reader.readtext('R.png') Output: CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU. cv2.error: Unknown C++ exception from OpenCV code I would truly…
Joseph K
  • 61
  • 1
  • 5
3
votes
2 answers

Python EasyOCR Is Taking Too Long To Just Get Started And It Shows Some Progress Percentages Alo

I'm building a desktop app in python which allows the user to take screenshots of the screen and read text in the image. I'm using EasyOCR for that, but the problem is that whenever I pass the image to EasyOCR, my idle/terminal shows some download…
3
votes
1 answer

EasyOCR - Table extraction

I use easyocr to extract table from a photo or scanned PDF, but I have a problem in fine tuning the data as a table. I try to make a searchable pdf according to extracted coordinates but when I convert it to csv, the lines are not tune. I would…
mahya
  • 31
  • 1
  • 2
3
votes
1 answer

cv2.imshow() doesnt work when easyocr installed

I installed easyocr in a newly created python environment using pip install easyocr. Then i installed opencv-python. when i try to execute the code - import cv2 img = cv2.imread('2.jpg') cv2.imshow('sd',img) cv2.waitKey(0) It's giving…
2
votes
4 answers

trying to install easyocr

command run in py 3.11 PS C:\Users\lenovo\Documents\python\My Heroes> pip install easyocr output released PS C:\Users\lenovo\Documents\python\My Heroes> pip install easyocr Collecting easyocr Using cached easyocr-1.6.2-py3-none-any.whl (2.9…
2
votes
0 answers

easyocr not working with cpu only on Windows

I was succesful using easyocr on my computer with gpu and cuda, but now I have to use it also on machine with only cpu. After following the installation guide from https://www.jaided.ai/easyocr/install/ and installing pytorch from…
zorka5
  • 105
  • 1
  • 9
2
votes
1 answer

I am trying to run inference on a single GPU with easyocr. I have tried running below codes:

def EasyOcrTextbatch(self): batchsize=16 reader = easyocr.Reader(['en'],cudnn_benchmark=True) # reader = easyocr.Reader(['en'],gpu=False) # dummy = np.zeros([8,512,384,3], dtype=np.uint8) # paragraph=reader.readtext_batched(dummy) …
2
votes
0 answers

EasyOCR image preprocessing?

Does easyOCR do image preprocessing? There are saying on the GitHub page that there are doing a "pre process" 1, but i don't know what this means.
2
votes
2 answers

Stop printing warning message "Using CPU. Note: This module is much faster with a GPU."

I am running a Python program using the excellent EasyOCR module. It relies on PyTorch for image detection and every time I run it, it produces a warning: "Using CPU. Note: This module is much faster with a GPU." for each iteration. What can I add…
2
votes
3 answers

how to improve accuracy/prediction for EasyOCR?

I am trying to get characters from vehicle number plate. But getting few wrong predictions like I am getting output as UP74 BD 3465, which is wrong . There are many examples where B is predicted as 8 and many more. How to improve it's…
k_p
  • 283
  • 6
  • 17
1
vote
2 answers

How to install easyocr library so the following error doesn`t arise

I am using easyocr library in my project to get text from screenshots my program is making. I have installed the library with pip install easyocr I have added text recognition to my code: def text_recognition(im, languages): reader =…
1
vote
0 answers

[electrical cad drawing][pywinauto] want to locate elements in drawing area

Working on a electrical software automation. Would like to right click on some elements or add elements, draw wire between elements. But using pywinauto cant access this area, as it shows as pane. This "Pane" dosent have children/descendants. Can…
1
vote
0 answers

easyocr and multiprocessing

We are trying to use easyocr instead of (py)tesseract. Its output quality is superb, but there is an unusual problem. It does not work with Python's multiprocessing library, but does with torch's multiprocessing. For clarity, here is an example of…
user4562262
  • 95
  • 1
  • 9
1
vote
0 answers

How to Apply OCR and Extract Text for the Image In Korean Language

I need to implement an accurate text detection algorithm for extracting text from an image. Currently, I am using EasyOCR, but the results are not satisfactory. For instance, when processing the image, the expected output is 부동산 매매 계약서 but the code…
1
vote
0 answers

PyInstaller - Too Large File Size with easyOcr

I am using PyInstaller to create an executable file for my project. The project uses opencv and pywin32. The file size is 54MB, and after installing easyocr, the size is about 323MB. I run pyinstaller --onefile .\main.py --paths…
KenOaza
  • 11
  • 2
1
2 3 4 5 6