Skip to content

Commit

Permalink
Don't set page segmentation mode for unlv config
Browse files Browse the repository at this point in the history
Setting the page segmentation mode to 6 ("Assume a single uniform block
of text") typically improves the layout detection for such texts, but
should not be done in the config file.

unlvtests/runtestset.sh adds `--psm 6` explicitly, so test results
won't change when using that script.

This is similar to commit ecfee53.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 4, 2018
1 parent a86292b commit c6f7591
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tessdata/configs/unlv
@@ -1,2 +1 @@
tessedit_write_unlv 1
tessedit_pageseg_mode 6

0 comments on commit c6f7591

Please sign in to comment.