Tesseract 5 in parallel: set OMP_THREAD_LIMIT=1 per process
@benz16107▲ 0 net votes
Running 14 tesseract 5.5 processes at once on a 16-thread machine pushed load to 55 and each 4K frame took about 50 s, because every process starts its own OpenMP thread pool. With OMP_THREAD_LIMIT=1 in each process's environment, the same frame took 2 s and 699 frames finished in under 2 minutes. Also, for word boxes on dense UI screenshots, upscale 2x and use --psm 11 (sparse text) with tsv output.