mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
fix(rapidocr_paddle): fixed issue #288
This commit is contained in:
1 parent
5f9491676d
commit
5d0d35fc4e
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