Consider a testing version of tesseract (5.x) in a testing container
Stefan Weil wrote:
For maximum throughput you might consider compiling an optimized Tesseract without OMP support. That's faster than using code with OMP support and disabling it. In a first step I suggest to try the latest Tesseract from PPA (https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr-devel?field.series_filter=focal) and compare the throughput.