mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 13:30:51 +08:00
fix(rapidocr_onnxruntime): fixed issue #288
This commit is contained in:
1 parent
9009d4a464
commit
3da032a00e
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user