In using the OCRTesseractDoOCR() method I see it does not take a threading argument like OcrPages() does. Is there any way to enable OCRTesseractDoOCR() to take full advantage of the hardware cores available on a server to speed the processing?
I am seeing times of 7-9 seconds per page to do the OCRTesseractDoOCR() call. Is this normal?
David
OCR speed and threading
Re: OCR speed and threading
Hello,
No it is not possible. The only way to use multi-threading is to run different ocr processes asynchronously. This is what OcrPages does. You can also decrease the processing time by
setting the number of passes: Use 0 for automatic (default value). Use 1 to obtain the best speed. Use 2 to favor accuracy (slower).
https://www.gdpicture.com/guides/gdpicture/web ... nt32).html
With best regards,
Loïc
No it is not possible. The only way to use multi-threading is to run different ocr processes asynchronously. This is what OcrPages does. You can also decrease the processing time by
setting the number of passes: Use 0 for automatic (default value). Use 1 to obtain the best speed. Use 2 to favor accuracy (slower).
https://www.gdpicture.com/guides/gdpicture/web ... nt32).html
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest