Python Extract Text from Image using OCR

Publicado em: 07 Abril 2021
no canal de: Ryan Noonan
16,256
128

In this python tutorial, we will go over how to extract text (using optical character recognition - OCR) from an image using pytesseract (with tesseract) and easyocr, how to extract text in different languages, and how to create a text file with the extracted text.

Note: If you have trouble installing easyocr, try creating a new package environment with a different python version such as 3.8. When I tried to install using python 3.10 I received an error - I am not exactly sure why and I am guessing this will be fixed eventually. I created a new Anaconda package environment using python 3.8, pip installed easyocr using terminal in that environment and everything worked.

Another Note: I created a new Anaconda package environment for ocr using Anaconda Navigator however the Jupyter Notebook icon was not visible to install so I pip installed it in the new environment using terminal (command line) instead.

install:
pip install notebook

run:
jupyter notebook


Nesta página do site você pode assistir ao vídeo on-line Python Extract Text from Image using OCR duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Ryan Noonan 07 Abril 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 16,256 vezes e gostou 128 espectadores. Boa visualização!