fix(rapidocr_paddle): fixed issue #288

This commit is contained in:
SWHL committed 2024-12-09 09:30:40 +08:00
1 parent 5f9491676d
commit 5d0d35fc4e
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(