🧹 sbb_textline_detector: Do not create empty/space-only TextEquivs (again)

pull/1/head
Gerber, Mike 5 years ago
parent bf41a29e7b
commit 4fb3e70ef6

@ -1392,13 +1392,6 @@ class textlineerkenner:
#print(points_co) #print(points_co)
coord.set('points',points_co) coord.set('points',points_co)
texteqreg=ET.SubElement(textregion, 'TextEquiv')
unireg=ET.SubElement(texteqreg, 'Unicode')
unireg.text = ' '
tree = ET.ElementTree(data) tree = ET.ElementTree(data)

Loading…
Cancel
Save