mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-09 11:50:02 +02:00
change scaling
This commit is contained in:
parent
8618be2d9e
commit
f94944ee80
1 changed files with 1 additions and 1 deletions
|
@ -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]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue