change scaling

pull/28/head
vahidrezanezhad 5 years ago committed by GitHub
parent 8618be2d9e
commit f94944ee80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save