From 8c954a6c7abef7d6deb0c48138f32556154ada97 Mon Sep 17 00:00:00 2001 From: "Rezanezhad, Vahid" Date: Thu, 31 Oct 2019 17:08:35 +0100 Subject: [PATCH] Update main.py --- qurator/sbb_textline_detector/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qurator/sbb_textline_detector/main.py b/qurator/sbb_textline_detector/main.py index 3fc0cd3..406b38f 100644 --- a/qurator/sbb_textline_detector/main.py +++ b/qurator/sbb_textline_detector/main.py @@ -1550,6 +1550,7 @@ class textlineerkenner: np.repeat(textline_mask_tot[:, :, np.newaxis], 3, axis=2)) try: + denoised=None textline_con=self.return_contours_of_image(crop_img) textline_con_fil=self.filter_contours_area_of_image(crop_img,textline_con,denoised,max_area=1,min_area=0.0008) y_diff_mean=self.find_contours_mean_y_diff(textline_con_fil)