Skip to content

Commit 4f54aa6

Browse files
authored
add layout score return (#13068)
1 parent 335c5c2 commit 4f54aa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ppstructure/predict_system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def __call__(self, img, return_ocr_result_in_table=False, img_idx=0):
169169
"img": roi_img,
170170
"res": res,
171171
"img_idx": img_idx,
172+
"score": region["score"],
172173
}
173174
)
174175

0 commit comments

Comments
 (0)