Skip to content

Commit

Permalink
Update textract2page/convert_aws.py
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Sachunsky <[email protected]>
  • Loading branch information
rue-a and bertsky authored Apr 15, 2024
1 parent 9604759 commit fd2e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textract2page/convert_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def convert_file(
type_=layout.page_layout_type,
custom=f"textract-layout-type: {layout.textract_layout_type.split('LAYOUT_')[1].lower()};",
)
pagexml_page.add_TextRegion(pagexml_text_region)
pagexml_page.add_ImageRegion(pagexml_img_region)

if preserve_reading_order:
global_ordered_group.add_RegionRefIndexed(
Expand Down

0 comments on commit fd2e5fb

Please sign in to comment.