Replies: 1 comment 2 replies
-
Please set enable_mkldnn=True when initializing PaddleOCR(). When predicting the first image, the model needs to be initialized, which will take a certain amount of time. After predicting the second picture, the inference speed will be much faster than the first inference. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First, thanks for continuing the improvement work on PPOCR.
Recently I tested ppocr-v3 on my laptop, looks like it takes 6+s/per page for text detection, which is far away from the benchmark results. I was wondering whether there are some parameters i had messed up. would any of you mind helping me to understand why and guide me on how to achieve text detection in hundreds of milliseconds as reported benchmark result on cpu. Thank you in advance!
My laptop configuration and script are as following:

Beta Was this translation helpful? Give feedback.
All reactions