EasyOCR | OCR recognition component | Computer Vision library
kandi X-RAY | EasyOCR Summary
kandi X-RAY | EasyOCR Summary
Latest update: The 5.X version will be open sourced for free before February 2021. I am sorry for the users who support open source, because in addition to the open source spirit of selfless devotion, commercial support is also a major driving force for technological advancement. Thank you for your understanding. If you need to communicate, we can still provide corresponding assistance. The vision is to love open source and the joy of giving, we will also provide more other open source projects to promote community progress. BTW. Maybe we will reopen the source code in the future, depending on the factors that drive us. Therefore, we currently keep this repo.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of EasyOCR
EasyOCR Key Features
EasyOCR Examples and Code Snippets
Community Discussions
Trending Discussions on EasyOCR
QUESTION
I'm trying to install the easyocr library, but every time it comes time to install the Pillow library it gives an error.
I've already tried to install pillow alone and install pytorch first, but it keeps giving the same error, if anyone can help me, I'd really appreciate it.
Here's the error below:
...ANSWER
Answered 2022-Apr-03 at 14:42I think that i ommit the line of error, but seeing on others foruns the error was caused because i was using the version 3.10 of python when the library Pillow, that was causing the installation error, is only supported for 3.9.12 of olders versions, so to resolve the problem we have to uninstall the actual python version and install the correct python version or create a virtual enviroment with the correct python version (the venv is a hint mine).
Thanks for everyones help and i hope that help others people with similary problem.
QUESTION
Code:
...ANSWER
Answered 2022-Jan-09 at 10:19The new version of OpenCV has some issues. Uninstall the newer version of OpenCV and install the older one using:
QUESTION
I used
...ANSWER
Answered 2022-Jan-07 at 05:50This is the answer:
QUESTION
ANSWER
Answered 2022-Jan-31 at 10:33I was able successfully to read this image with tesseract by doing the following:
- cropping out the pink border
- reducing to grayscale (binarising)
- running tesseract with
--psm 8
(see this question )
I don't know if the cropping is necessary, but I couldn't get any output at all with any page segregation mode before binarising.
I did the processing manually here, but you will likely want to automate it. A good trick for setting thresholds is to look at the standard deviation of the image in question and use that to scale your thresholds, rather than picking some absolute value and having it fail on you.
Here's the image I got working:
And the run:
QUESTION
I use a Python Module EasyOCR for extracting text from image. This Method works for PNG Format but in TIFF Situation give me a error
Code look like this:
...ANSWER
Answered 2022-Jan-31 at 12:01You are not reading the image. Please use opencv
to read the image. Ensure that the image is in the current directory or provide the absolute path of the image.
QUESTION
Hi I am a student doing research in my university. This is my first time using computer vision (openCV) and I am fairly new to image preprocessing. I have these images of License Plates and I would like to use easyOCR/pytesseract to read the plates. Currently all I have done is convert the image to grayscale, rotate it by a few degrees, but the reading results are very inconsistent. How do I improve that?
I have tried using kernels to sharpen the images but they seem to be fairly inconsistent too.
Here are some images I have to give you a general idea of what the images are like:
...ANSWER
Answered 2022-Jan-10 at 12:42I would start with image enhancement. It's hard to tell what exactly is applicable but here are some possible manuevers:
- As usual recognition algorithms are not invariant to rotation. And every image seems to be geometically distorted similarly. You can try to normalize the geometry by warpPerspective function from Opencv with appropriate transformation matrix. Rotation is a subset of all possible transformations covered by perspective transform.
- You can try to use advanced deblurring techniques like wiener filter or deeplearning. It seems like point spread function is different from image to image that complecates the recovery.
- There is some periodic signal in your images (vertical blue-white-blue stripes). That can possibly can be enhanced by doing FFT -> removing components of the specific wavelength -> iFFT.
Anyway looking on your images, I am not sure if it will be easy to achieve the desired result without diving into the OCR pipeline.
QUESTION
I got this issue
...ANSWER
Answered 2022-Jan-03 at 14:37Solved downgrading to the nov 2021 version of opencv
QUESTION
pretty new to Python in general, but hopefully my question will make sense.
I have a list that contains lists with irregular lengths, and I am trying to cover the list into a data frame structure so I can save it as a CSV. I want to also make sure i have a way of combining the lists that are within their family lists by adding IDs so i can combine them later.
An overview: i ran easyocr on several images which extract texts from images, so i want the imageID so i can find the text and relate it back to the image it was nested within.
An example of data looks like this:
...ANSWER
Answered 2021-Nov-20 at 04:25First you could use print()
to see what you have in variables - it helps to see what is needed in code.
Using for
-loops (without range()
) you get lists, not indexes, so results_[i][j][0]
is wrong.
If you have empty list then you should skip them - ie. if i: ....
to run code only when i
is not empty.
QUESTION
I have an EasyOCR model that I have trained with personnal data and I need to deploy it and make it available with an API REST. My project is on Github.
Problem: I have saw that we can't use GPU on AWS LAMBDA so how can we deploy a REST API that can use GPU on AWS ?
(EasyOCR is really slow when we don't use GPU with CUDA)
...ANSWER
Answered 2021-Nov-17 at 13:52You can have a look at AWS EC2 Instances with GPU Support. There are 3 or 4 classes available (p3, g3, p4 and g4). They should be sufficient for your usecase. Make sure to use the AWS Deep Learning AMI, to get out of the Box NVIDIA Drivers and CUDA Support.
Edit: Ref- https://docs.aws.amazon.com/dlami/latest/devguide/gpu.html
QUESTION
I am using easyocr to detect mrz of passport:
.py code:
...ANSWER
Answered 2021-Oct-20 at 16:06Use this code to achive the result in single line
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install EasyOCR
You can use EasyOCR like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the EasyOCR component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page