Skip to content

Tessdata prefix is hardcoded in the app (Linux) #6873

Description

@LFd3v

Hey, there.

First of all, thank you for creating and maintaining the (free and OSS) app! I forgot to thank you in the previous issue I opened, sorry.

This is more like a heads up, not exactly a bug: it seems that the app looks for Tesseract .trainedata files only in the Ubuntu (Debian too, probably?) default location: /usr/share/tesseract-ocr/5/tessdata, both the AppImage and the AUR file, that is based on the .deb package, cannot file the files in the default installation on ArchLinux, that is simply /usr/share/tessdata.

The good news is that it honors TESSDATA_PREFIX environment variable, so launching the app while setting TESSDATA_PREFIX=/usr/share/tessdata actually works.

So I thought I would just add an issue here to help other users, and maybe this can be added to the documentation, although I did not find a good place where it could be added.

Thanks again. Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions