SfTesseract/Tesseract Source/unittest
sivaram.gunabalan caff5f581c Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
..
fuzzers Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
Makefile.am Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
README.md Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
apiexample_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
applybox_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
baseapi_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
baseapi_thread_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
bitvector_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
cleanapi_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
colpartition_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
commandlineflags_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
cycletimer.h Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
dawg_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
denorm_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
equationdetect_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
fileio_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
heap_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
imagedata_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
include_gunit.h Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
indexmapbidi_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
intfeaturemap_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
intsimdmatrix_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lang_model_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
layout_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
ligature_table_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
linlsq_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
loadlang_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
log.h Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lstm_recode_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lstm_squashed_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lstm_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lstm_test.h Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
lstmtrainer_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
mastertrainer_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
matrix_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
networkio_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
normstrngs_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
normstrngs_test.h Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
nthitem_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
osd_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
pagesegmode_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
pango_font_info_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
paragraphs_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
params_model_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
progress_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
qrsequence_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
recodebeam_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
rect_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
resultiterator_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
scanutils_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
shapetable_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
stats_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
stridemap_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
stringrenderer_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
tablefind_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
tablerecog_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
tabvector_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
tatweel_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
textlineprojection_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
tfile_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
unichar_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
unicharcompress_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
unicharset_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
validate_grapheme_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
validate_indic_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
validate_khmer_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
validate_myanmar_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30
validator_test.cc Tesseract Soucre 4.1.3 updated 2024-10-07 11:19:50 +05:30

README.md

Unit Testing for Tesseract

Requirements

Files and structure


├── langdata_lstm
│   ├── common.punc
│   ├── common.unicharambigs
│   ├── desired_bigrams.txt
│   ├── eng
│   │   ├── desired_characters
│   │   ├── eng.config
│   │   ├── eng.numbers
│   │   ├── eng.punc
│   │   ├── eng.singles_text
│   │   ├── eng.training_text
│   │   ├── eng.unicharambigs
│   │   ├── eng.wordlist
│   │   └── okfonts.txt
│   ├── extended
│   │   └── extended.config
│   ├── extendedhin
│   │   └── extendedhin.config
│   ├── font_properties
│   ├── forbidden_characters_default
│   ├── hin
│   │   ├── hin.config
│   │   ├── hin.numbers
│   │   ├── hin.punc
│   │   └── hin.wordlist
│   ├── kan
│   │   └── kan.config
│   ├── kor
│   │   └── kor.config
│   ├── osd
│   │   └── osd.unicharset
│   └── radical-stroke.txt
├── tessdata
│   ├── ara.traineddata
│   ├── chi_tra.traineddata
│   ├── eng.traineddata
│   ├── heb.traineddata
│   ├── hin.traineddata
│   ├── jpn.traineddata
│   ├── kmr.traineddata
│   ├── osd.traineddata
│   └── vie.traineddata
├── tessdata_best
│   ├── eng.traineddata
│   ├── fra.traineddata
│   ├── kmr.traineddata
│   └── osd.traineddata
├── tessdata_fast
│   ├── eng.traineddata
│   ├── kmr.traineddata
│   ├── osd.traineddata
│   └── script
│       └── Latin.traineddata
└── tesseract
    ├── abseil
    ...
    ├── test
    ├── unittest
    └── VERSION

Fonts

Run tests

To run the tests, do the following in tesseract folder

autoreconf -fiv
git submodule update --init
export TESSDATA_PREFIX=/prefix/to/path/to/tessdata
make check