From 4fb3e70ef60e9d42d9a557e7c6172badb14ebf50 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 19 Nov 2019 11:08:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20sbb=5Ftextline=5Fdetector:=20Do?= =?UTF-8?q?=20not=20create=20empty/space-only=20TextEquivs=20(again)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/sbb_textline_detector/main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qurator/sbb_textline_detector/main.py b/qurator/sbb_textline_detector/main.py index 6f30785..8003646 100644 --- a/qurator/sbb_textline_detector/main.py +++ b/qurator/sbb_textline_detector/main.py @@ -1391,16 +1391,9 @@ class textlineerkenner: points_co=points_co+' ' #print(points_co) coord.set('points',points_co) - - texteqreg=ET.SubElement(textregion, 'TextEquiv') - - unireg=ET.SubElement(texteqreg, 'Unicode') - unireg.text = ' ' - - tree = ET.ElementTree(data) tree.write(os.path.join(self.dir_out, self.f_name) + ".xml")