From f94944ee80ce26821a748f32b469d852db4998eb Mon Sep 17 00:00:00 2001 From: vahidrezanezhad Date: Sat, 11 Apr 2020 02:52:41 +0200 Subject: [PATCH] change scaling --- qurator/sbb_textline_detector/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/sbb_textline_detector/main.py b/qurator/sbb_textline_detector/main.py index a73c537..5595cdd 100644 --- a/qurator/sbb_textline_detector/main.py +++ b/qurator/sbb_textline_detector/main.py @@ -194,7 +194,7 @@ class textline_detector: self.height_org = self.image.shape[0] self.width_org = self.image.shape[1] - if self.image.shape[0] < 1000: + if self.image.shape[0] < 2500: self.img_hight_int = 2800 self.img_width_int = int(self.img_hight_int * self.image.shape[1] / float(self.image.shape[0]))