Skip to content

TESSDATA_PREFIX and tessdata-dir #1131

@Shreeshrii

Description

@Shreeshrii

Since there are now three possible locations of tessdata files,

https://github.com/tesseract-ocr/tessdata_best
https://github.com/tesseract-ocr/tessdata_fast
and
https://github.com/tesseract-ocr/tessdata

clarify the usage of TESSDATA_PREFIX and tessdata-dir.

Related: e66d433#diff-c2f87d92d6aa4f0f542b36a6e5c41161

    • @param argv0 - paths to the directory with language files and config files.
    • An actual value of argv0 is used if not NULL, otherwise TESSDATA_PREFIX is
    • used if not NULL, next try to use compiled in -DTESSDATA_PREFIX. If previous
    • is not sucessul - use current directory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions