Commit 0b8a9d51 authored by myhloli's avatar myhloli
Browse files

feat: add content field to interline equation block in model_json_to_middle_json.py

parent 374f464b
...@@ -89,6 +89,7 @@ def page_model_info_to_page_info(page_model_info, image_dict, page, image_writer ...@@ -89,6 +89,7 @@ def page_model_info_to_page_info(page_model_info, image_dict, page, image_writer
"type": ContentType.INTERLINE_EQUATION, "type": ContentType.INTERLINE_EQUATION,
'score': block['score'], 'score': block['score'],
"bbox": block['bbox'], "bbox": block['bbox'],
"content": "",
}) })
all_bboxes, all_discarded_blocks, footnote_blocks = prepare_block_bboxes( all_bboxes, all_discarded_blocks, footnote_blocks = prepare_block_bboxes(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment