From c6f759148b15c490d98fc9d0868924ca9ae4b536 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 4 Oct 2018 19:12:22 +0200 Subject: [PATCH] Don't set page segmentation mode for unlv config 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 ecfee53bac59e5467f8a8fb5026928a1d39b5c6d. Signed-off-by: Stefan Weil --- tessdata/configs/unlv | 1 - 1 file changed, 1 deletion(-) diff --git a/tessdata/configs/unlv b/tessdata/configs/unlv index 87c111bdf4..3d70390826 100644 --- a/tessdata/configs/unlv +++ b/tessdata/configs/unlv @@ -1,2 +1 @@ tessedit_write_unlv 1 -tessedit_pageseg_mode 6