1
resposta

Erro ao tentar usar o parâmetro de configuração. ( config_tesseract = '--tessdata-dir tessdata'

TesseractError: (1, 'Error opening data file tessdata/por.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'por' Tesseract couldn't load any languages! Could not initialize tesseract.')

1 resposta
config_tesseract = '--tessdata-dir /usr/share/tesseract-ocr/4.00/tessdata'

Um rapaz respondeu em outra secao desse mesmo fórum.