fix(rapidocr_onnxruntime): fixed issue #288

This commit is contained in:
SWHL committed 2024-12-09 09:28:45 +08:00
1 parent 9009d4a464
commit 3da032a00e
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ class RapidOCR:
.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(