Batch processing using paddleocr

  Kiến thức lập trình

I am using the PaddleOCR library to detect and extract tables from images. Firstly, I am running the layout detection on an image, if the layout detector detects a table in the image, then I am sending the image to the PaddleOCR. However, it does not natively support batch processing due to which the execution time is scaling linearly with the number of images being processed.
The library processes one image at a time. Is there any way to process multiple images simultaneously at the gpu using paddleOCR so that the execution time does not scale linearly with the the number of images? Or are there any open source alternatives to PaddleOCR to accomplish the task?

I am trying to detect tables in images and extract them in a csv file and i want to implement batch processing so that the gpu utilization is efficient and execution time is minimized

New contributor

Saanvi Bhagat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT