mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-06-09 11:50:02 +02:00
replace 'PrintSpace' with 'Border'
This commit is contained in:
parent
36adbe29d8
commit
e4798c6811
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ class OcrdSbbTextlineDetectorRecognize(Processor):
|
|||
page = pcgts.get_Page()
|
||||
|
||||
# Merge results → PAGE file
|
||||
if page.get_PrintSpace():
|
||||
log.warning("Page already contained a printspace")
|
||||
page.set_PrintSpace(tmp_page.get_PrintSpace())
|
||||
if page.get_Border():
|
||||
log.warning("Page already contained a border")
|
||||
page.set_Border(tmp_page.get_Border())
|
||||
if page.get_ReadingOrder():
|
||||
log.warning("Page already contained a reading order")
|
||||
page.set_ReadingOrder(tmp_page.get_ReadingOrder())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue