Skip to content

Commit

Permalink
chore: Compatible with python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Oct 17, 2024
1 parent 5e1b5ef commit c3504c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rapidocr_onnxruntime/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def _get_origin_points(
raw_w: int,
) -> np.ndarray:
dt_boxes_array = np.array(dt_boxes)
for op in list(reversed(op_record.keys())):
for op in reversed(list(op_record.keys())):
v = op_record[op]
if "padding" in op:
top, left = v.get("top"), v.get("left")
Expand Down

0 comments on commit c3504c2

Please sign in to comment.