Questions tagged [easyocr]

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

Links:

90 questions
0
votes
1 answer

How do i make detection only on spesific area

I'm working on a project trying to do object detection and text detection using both yolo and easyocr. Since I'm a beginner and really new to computer vision, I would be glad if someone can help me. Here's the code: import cv2 import numpy as…
0
votes
0 answers

Easy OCR can’t recognize multiple choice answers with one answer circled

I have an image with question and multiple choice answers labeled A, B, C, D. One of this letter is circled by human handwriting. When I use easy OCR, it is recognizing the A,B,C,D but can’t recognize which letter is circled. See the image. enter…
mmln
  • 1
0
votes
0 answers

Automatic plate detection in real time

plate detection using webcam ` I am doing automatic plate detection using webcam, I have trained my model using colab and downloaded it as tflite file. After that, I run the following code and it works very well, So now i am able to detect plate…
0
votes
0 answers

How to preprocess image better to identify number on same colored background?

I want to find a way to detect the red number 3 which is on a red background. I've tried changing the contrast on the image, as well as also trying a blur + adaptive thresholding, which both don't detect anything. What's interesting is I can't…
0
votes
1 answer

cv2.error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'rectangle'

hello guys i'm working on my project with easy ocr for text detection i got some errors, but i don't know how to fix it, it will be greatful if someone can help me? here's few errors i get cv2.error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in…
0
votes
1 answer

Group separate strings of an OCR-Result based on coordinates in the image

I use easyocr to read the key figures from an image (display output of measuring instrument). Because of different proportions of characters on the picture, some characters/strings, that are meant to be one unit, like value and unit (e.g "230…
0
votes
0 answers

Higlighting specific string from the contour in OpenCv

I want to higlight string in the image. I am using easyocr to extract text from the image. Eayocr extracted text from image line wise.In one of the contour there are four words. Out of which I want to higlight one word. I am new to Easyocr , need…
0
votes
0 answers

EasyOcr not detecting single letter "Y" and "A"

The following code is unable to detect the single letter like "A" and "Y" in this case. programming lang: python required text lang: spanish library: easyocr image : https://i.stack.imgur.com/Xs5ri.jpg import easyocr #img =…
0
votes
1 answer

EasyOCR Printing file details instead of text output only

I am trying to test out Easy OCR. Now when I run my code path = "{image file}" read = easyocr.Reader(['en'], gpu=True) result = read.readtext(path) print(result) It outputs this [([[887, 1], [975, 1], [975, 13], [887, 13]], 'Photoshop PSD hle',…
Confundo
  • 23
  • 5
0
votes
1 answer

Finding white rectangular areas in given image to increase OCR results

Basically, I am trying to detect labels on boxes and these labels are white. Every label has own serial number and letter. I am using EasyOCR for detecting numbers and letters but sometimes EasyOCR can not detect texts accurate but If I take images…
0
votes
1 answer

Extract only characters from a image opencv or OCR

From a group of text like below I want to MAKE a BOUNDING BOX on INDIVIDUAL CHARACTER. However, I am unable to do so. I've tried to use Easy OCR with following settings but it only recognizes individual words: reader =…
Arnav
  • 169
  • 8
0
votes
1 answer

Running task / function in the background

i wrote a program to capture the position of license plate with my webcam feed using YOLOv4. The result of the detection is then passed to easyOCR to do character identification. Right now, im calling the OCR function in the while loop everytime a…
mandebo
  • 21
  • 4
0
votes
0 answers

easyocr UnicodeEncodeError: 'ascii' codec can't encode character

I wrote a script which uses easyocr for extracting texts from some images. I exposed this scripts with an API. when I make an API request to this script, it gives an error while creating easyocr instance. the code I am getting error for import…
Darkstar Dream
  • 1,649
  • 1
  • 12
  • 23
0
votes
0 answers

Is it possible to "initiate" EasyOCR to new fonts?

I have a script that looks for numbers in a video by extracting 1 frame per second and process each images. I am running into some problems as with some videos, the font seems to be easily recognized by EasyOCR and some not at all. I have applied…
c0nfluks
  • 51
  • 8
0
votes
0 answers

How to place the text in the image based on x,y axis?

The code below pastes the translated words based on the co-ordinates in output variable image = Image.open("image.jpg") #red color color = (0, 0, 255) thickness = 1 fontpath = "/content/drive/MyDrive/ArialTh.ttf" TEXT_Font =…
sha25
  • 23
  • 6