manisandro / gImageReader

A Gtk/Qt front-end to tesseract-ocr.
GNU General Public License v3.0
1.6k stars 188 forks source link

Set language definition path manually #608

Closed SaFi2266 closed 1 year ago

SaFi2266 commented 1 year ago

Hi, I recently upgraded tesseract-ocr to version 5, So gImageReader stopped recognizing tessdata even by the setting up variable TESSDATA_PREFIX to /usr/share/tesserarct-ocr/5/tessdata/, Therefore I did a workaround by making a link to tessdata in /usr/share/tesseract-ocr/4.00/tessdata/, So is there a way to set manual tessdata in-app preferences or suggest a better solution? OS: Ubuntu 22.04 TIA

manisandro commented 1 year ago

You'll need to recompile gimagereader against the tesseract 5.