Nov 4, 2022
If you wanted to do OCR on selected languages, you can simply download the relevant *.traineddata files and place it in a folder.
You may need to point to the tessdata path if it cannot be detected automatically. This can be done by setting the TESSDATA_PREFIX environment variable or by passing the path to PyTessBaseAPI (e.g.: PyTessBaseAPI(path='/usr/share/tessdata')).