Questions tagged [easyocr]

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

Links:

90 questions
0
votes
0 answers

How to add character to EasyOcr model?

I am building a solver for KenKen, and for recognizing characters I am using easyocr. While testing the model, I hit a roadblock; it struggles with the division symbol. I tried to use the following code using easyocr==1.6.2: import easyocr reader =…
vs07
  • 195
  • 8
0
votes
0 answers

easyocr throws ValueError: Invalid input type. Supporting format = string(file path or url), bytes, numpy array

after including all necessary libraries and doing following steps : image_path=r'uptosomething.jpg' img=cv2.imread(image_path) reader=easyocr.Reader(['en'],gpu=False) text=reader.readtext(img) i am getting this error can someone please…
anu
  • 1
0
votes
0 answers

How to extract data from boxes of a form using OCR technology?

How do we use OCR technology to extract numbers from the following format I tried easyOCR and Tesseract and they fail when we have such boxes. If the numbers are typed (not handwrtten) these boxes still come out to be a problem, bc they perform…
Sadaf Shafi
  • 1,016
  • 11
  • 27
0
votes
0 answers

Easyocr Fine tune english_g2.pth model using custom dataset

I have custom dataset of 25000 images for training and 1000 images for validation in all_data folder generated. Max image height is 64 px. Now I want to fine tune english_g2.pth model using custom dataset. I need to alter en_filtered_config.yaml…
0
votes
0 answers

ERROR: No matching distribution found for numpy==1.21.2 pip subprocess to install build dependencies did not run successfully

When I want to install the easyocr library, this error occurs. pip install easyocr C:\Users\Bouregag Youcef>pip install easyocr Collecting easyocr Using cached easyocr-1.6.2-py3-none-any.whl (2.9 MB) Requirement already satisfied: torch in…
0
votes
0 answers

Fetch image from JavaScript to flask

Hi, How to fetch matrix of images readed by cv.imread() in JavaScript to flask in backend and returned after using Easyocr as array of images. Format of image is a matrix image readed by OpenCv (CV.imread(img) ) enter image description here enter…
0
votes
0 answers

Easyocr Python Image Size too big

I have a simple problem using easyocr library in python. When I deploy my python OCR api to kubernetes It fails because of the image size of the script on Nexus Repository Manager. When I check the libraries installed by EasyOcr I found lots of…
0
votes
1 answer

Fine-Tune/Train EASY OCR on any language/Korean handwritten dataset

I would like to fine-tune the EASY OCR library on the Korean handwritten samples, I am assuming that the pre-trained model is already trained on Korean and English samples. My idea is to enhance the Korean handwritten accuracy on EASY OCR. How I can…
Khawar Islam
  • 2,556
  • 2
  • 34
  • 56
0
votes
1 answer

Torch and easyocr with python on raspberry pi

I am trying to install and operate easyocr on a raspberry pi 3 model b. For that i also needed torch. I have installed both easyocr and pytorch, they installed succesfully. But when i try to import them in python an error comes back "illegal…
0
votes
0 answers

Easy OCR not installing

When I tried to download easy ocr in my python project, but I am receiving this error. Does anyone know how to fix this? ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3…
0
votes
1 answer

How to write recognized hangul text on a image in Ubuntu using python 3 opencv2

I am working on Easy OCR and to some extent, it detects bounding box and recognizes the Korean words but it didn't show the recognized text on the top of bounding box. For KR, it shows ??????? Code # OCR the input image using EasyOCR print("[INFO]…
Khawar Islam
  • 2,556
  • 2
  • 34
  • 56
0
votes
0 answers

64bit version of python on raspberry pi

I am trying to install easyOCR on raspberry pi. When i do that i get an error code, EasyOCR "version" depends on torch So i get that i need to install torch When i try that i get the error code; ERROR: Could not find a version that satisfies the…
0
votes
0 answers

easyocr crashed in pycharm

I did an image processing project by python 3.10.9 in pycharm IDE 2023.3 and I want to do text extraction from image witch I capture from webcam when I run this code on my pc it is ok but when I run it on PDA with windows 11 64 bit os I faced with…
0
votes
0 answers

How to find border around specific detected text?

I have a batch of screenshots where I'm printing the coordinates of buttons with certain text (in this case, buttons with the word "exit"). Finding the coordinates of the text was pretty straightforward with EasyOCR. My problem is that I'm not sure…
mvCode
  • 25
  • 5
0
votes
0 answers

How can I fix this issue raised using easyocr_Python 3.11

I have the following Python script that raises the error "cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1274: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with…
TanukiJoe
  • 11
  • 5