Skip to content

Commit 3da032a

Browse files
committed
fix(rapidocr_onnxruntime): fixed issue #288
1 parent 9009d4a commit 3da032a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/rapidocr_onnxruntime/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def __call__(
118118
.tolist()
119119
)
120120

121-
if dt_boxes is not None and rec_res is not None:
121+
if dt_boxes is not None:
122122
dt_boxes = self._get_origin_points(dt_boxes, op_record, raw_h, raw_w)
123123

124124
ocr_res = self.get_final_res(

0 commit comments

Comments
 (0)