mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-01 06:59:54 +02:00
In the case of skip_layout_and_reading_order, the confidence value was not set correctly, leading to an error while writing to the XML file.
This commit is contained in:
parent
192b9111e3
commit
83211ae684
1 changed files with 1 additions and 1 deletions
|
@ -4328,7 +4328,7 @@ class Eynollah:
|
||||||
polygons_lines_xml = []
|
polygons_lines_xml = []
|
||||||
contours_tables = []
|
contours_tables = []
|
||||||
ocr_all_textlines = None
|
ocr_all_textlines = None
|
||||||
conf_contours_textregions =None
|
conf_contours_textregions = [0]
|
||||||
pcgts = self.writer.build_pagexml_no_full_layout(
|
pcgts = self.writer.build_pagexml_no_full_layout(
|
||||||
cont_page, page_coord, order_text_new, id_of_texts_tot,
|
cont_page, page_coord, order_text_new, id_of_texts_tot,
|
||||||
all_found_textline_polygons, page_coord, polygons_of_images, polygons_of_marginals,
|
all_found_textline_polygons, page_coord, polygons_of_images, polygons_of_marginals,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue