#Tesseract Error on OCR in French

1 messages · Page 1 of 1 (latest)

red tapir
#

Hi, I'm working on a custom-GPT, I get an error when it tries to OCR something in French :

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

It's been like this from the start on all attempts.
Any idea how I can fix this?

Steps to reproduce:

Providing an image with text in French and asking it to OCR it.

Expected result:

The text.

Actual result:

The error message above.

Additional information:

Chrome, Windows

main orchid
#

are you using code interpreter to indeed use OCR or are you jsut asking the ai to read the contents of an image?

#

the error you mentioned seems to simply be the python lib for OCR failling to run on code interpreter