Update README.md
Some checks failed
sw / build (fedora:latest, ubuntu-22.04) (push) Has been cancelled
sw / build (macos-latest) (push) Has been cancelled
sw / build (windows-2022) (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled

add info about using egorpugin/tessdata tessdata_unittest
This commit is contained in:
zdenop 2024-12-21 11:26:36 +01:00 committed by GitHub
parent 2a944fbe98
commit dcb2ef91e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,6 +82,9 @@ To run the tests, do the following in tesseract folder
``` ```
autoreconf -fiv autoreconf -fiv
git submodule update --init git submodule update --init
git clone https://github.com/egorpugin/tessdata tessdata_unittest --depth 1
cp tessdata_unittest/fonts/* test/testing/
mv tessdata_unittest/* ../
export TESSDATA_PREFIX=/prefix/to/path/to/tessdata export TESSDATA_PREFIX=/prefix/to/path/to/tessdata
make check make check
``` ```