Skip to content

Commit

Permalink
fix(rapidocr_paddle): fixed issue #288
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Dec 9, 2024
1 parent 5f94916 commit 5d0d35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rapidocr_paddle/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __call__(
.tolist()
)

if dt_boxes is not None and rec_res is not None:
if dt_boxes is not None:
dt_boxes = self._get_origin_points(dt_boxes, op_record, raw_h, raw_w)

ocr_res = self.get_final_res(
Expand Down

0 comments on commit 5d0d35f

Please sign in to comment.