mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-07-28 03:39:57 +02:00
🧹 sbb_textline_detector: Do not create empty/space-only TextEquivs (again)
This commit is contained in:
parent
bf41a29e7b
commit
4fb3e70ef6
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue