Skip to content

Commit

Permalink
[Fix] Return bboxes in MMOCRInferencer
Browse files Browse the repository at this point in the history
  • Loading branch information
gaotongxiao committed Jul 20, 2023
1 parent 1dcd6fa commit 316afec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmocr/apis/inferencers/mmocr_inferencer.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def postprocess(self,
pred_results[i].update(
dict(
det_polygons=det_dict_res['polygons'],
det_bboxes=det_dict_res['bboxes'],
det_scores=det_dict_res['scores']))
if 'kie' in self.mode:
for i, kie_pred in enumerate(preds['kie']):
Expand Down

0 comments on commit 316afec

Please sign in to comment.