From 037210b292aefaea0d26b40fce03d609992457df Mon Sep 17 00:00:00 2001 From: vahidrezanezhad Date: Wed, 14 Apr 2021 08:55:54 -0400 Subject: [PATCH] update writer.py --- qurator/eynollah/writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/eynollah/writer.py b/qurator/eynollah/writer.py index 317ac4e..7069785 100644 --- a/qurator/eynollah/writer.py +++ b/qurator/eynollah/writer.py @@ -87,7 +87,7 @@ class EynollahXmlWriter(): points_co += str(int((all_found_texline_polygons_marginals[marginal_idx][j][l][0][0] + all_box_coord_marginals[marginal_idx][2] + page_coord[2]) / self.scale_x)) points_co += ',' points_co += str(int((all_found_texline_polygons_marginals[marginal_idx][j][l][0][1] + all_box_coord_marginals[marginal_idx][0] + page_coord[0]) / self.scale_y)) - points += ' ' + points_co += ' ' coords.set_points(points_co[:-1]) def serialize_lines_in_region(self, text_region, all_found_texline_polygons, region_idx, page_coord, all_box_coord, slopes, counter):