Error with det=True #12837
-
Detection mode one does not work anymore on the latest version. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
same, got this issue too |
Beta Was this translation helpful? Give feedback.
-
I have integrated this code to fix the bug in my CD |
Beta Was this translation helpful? Give feedback.
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @theophiledebouetduportal ,
Any suggestion? |
Beta Was this translation helpful? Give feedback.
-
Solved after making sure updated version was installed- And separately, making sure font could be accessed on Colab while drawing visualization of result-
|
Beta Was this translation helpful? Give feedback.
-
at https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/paddleocr.py#L681 You can put: if not dt_boxes: Replace with: if len(dt_boxes) == 0: It will be solved. |
Beta Was this translation helpful? Give feedback.
-
In the branch of main, this bug has been solved. |
Beta Was this translation helpful? Give feedback.
at https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/paddleocr.py#L681
You can put:
if not dt_boxes:
Replace with:
if len(dt_boxes) == 0:
It will be solved.