Does rapid ocr supporting batch inference? #131
-
Hello, trying to get a faster inference time. Been looking at the code and can't seem to see any support for batching. Am I missing something or is this not supported at the moment? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
SWHL
Oct 24, 2023
Replies: 1 comment 8 replies
-
RapidOCR is mainly divided into three parts, one is text detection and the other is text recognition. Among them, the text detection part does not support batch inference, and the text recognition part used batch inference by defatult. If you want faster inference, try using |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We recently encapsulated a library that uses GPU reasoning,
rapidocr_paddle
, based on the paddle inference engine. The inference speed has been improved by orders of magnitude. You can try it out.For specific documentation, see: https://rapidai.github.io/RapidOCRDocs/docs/install_usage/rapidocr_paddle/