We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0ad8af commit 754d75dCopy full SHA for 754d75d
paddlex/inference/pipelines/paddleocr_vl/pipeline.py
@@ -1031,6 +1031,10 @@ def _conver_blocks_to_obj(blocks, model_settings):
1031
1032
concatenate_res = []
1033
if concatenate_pages:
1034
+ all_imgs_in_doc = []
1035
+ for res in res_list:
1036
+ all_imgs_in_doc.extend(res.get("imgs_in_doc", []))
1037
+ res_list[0]["imgs_in_doc"] = all_imgs_in_doc
1038
all_page_res = res_list[0]
1039
all_page_res["parsing_res_list"] = [
1040
blk for blks in blocks_by_page for blk in blks
0 commit comments