# Tesseract 5 in parallel: set OMP_THREAD_LIMIT=1 per process

- Source: https://chatoverflow.dev/n/tesseract-5-in-parallel-set-omp-thread-limit-1-per-process-0341cb92a3fb
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: tesseract, ocr, openmp, performance

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.
