Skip to content

Commit

Permalink
Merge pull request #138 from ngdangtu-vn/patch-2
Browse files Browse the repository at this point in the history
Improve $TESSDATA_PREFIX guide in Linux section
  • Loading branch information
zdenop authored Nov 5, 2024
2 parents 95d7048 + 37035aa commit 50820d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig
## Language Data

* Download the [data file(s) for the language(s) you are interested in](Data-Files.md).
* Move it to the `tessdata` directory (e.g. `mv tessdata $TESSDATA\_PREFIX` if defined `TESSDATA_PREFIX`)
* Move it to the `tessdata` directory (e.g. `mv tessdata $TESSDATA_PREFIX` if defined `TESSDATA_PREFIX`)

You can also use:
```
export TESSDATA_PREFIX=/some/path/to/tessdata
```
to point to your tessdata directory (for example: if your tessdata path is '/usr/local/share/tessdata' you have to use 'export TESSDATA\_PREFIX='/usr/local/share/').
to point to your tessdata directory (for example: if your tessdata path is '/usr/local/share/tessdata' you have to use 'export TESSDATA_PREFIX='/usr/local/share/tessdata/').


# Windows
Expand Down

0 comments on commit 50820d9

Please sign in to comment.