No tools available from pyOCR

It seems that I did not install pyOCR correctly, because I get an empty list when I do:

import pyocr.builders pyocr.get_available_tools() 

Any ideas?

I installed pyOCR in the environment via pip:

 pip install pyocr --upgrade 

EDIT

The following performed the trick.

 sudo apt-get install tesseract-ocr sudo apt-get install tesseract-ocr-eng sudo apt-get install tesseract-ocr-ell 
+5
source share
1 answer

Pyocr requires any ocr engine / tools associated with it. It is assumed that you will install any ocr engine or tool separately, such as Tesseract-OCR or any other. After installing the tool yourself, specify the PATH variable in the appropriate directory so that pyocr can find the tool.

0
source

All Articles