Faster Inference with assume_straight_pages=False #1605
dhcracchiolo
started this conversation in
General
Replies: 1 comment
-
|
Hi @dhcracchiolo 👋, What hardware do you run on ? You can play around with For CPU workloads you can also take a look at: https://github.com/felixdittrich92/OnnxTR On GPU (PyTorch backend) you can move the whole ocr_predictor to Best regards, |
Beta Was this translation helpful? Give feedback.
0 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.
-
When setting assume_straight_pages to false there are a lot of slow cv2 operations that are slowing down inference tremendously. This is currently a big bottle neck for my setup. Just curious if there's any easy way to speed things up?
P.S. I'm already orienting my images straight however due to creases and such in the pages I'm still benefitting from rotated rectangular bounding boxes.
Beta Was this translation helpful? Give feedback.
All reactions