Hi,
Please see steps followed.
OS: LINUX, 4 CPUS , 2 CORES
Version tesseract - 4.1
1. Our python web application running in nginx and gunicorn(3 worker and 1 thread)
2. We tried to stimulate 3 requests in parallel using script.
3. In
tesseract - 4.1 (Openmp disabled by default)
wthout setting
OMP_THREAD_LIMIT tesseract gave 20 seconds to process 3 request's in avareage. after setting
OMP_THREAD_LIMIT=1 , It processed 3 requests in 10 seconds.
Previously when used tesseract-4.0(Openmp enabled by default) was giving the worst performance. Then we thought to disable it by OMP_THREAD_LIMIT=1 and gave a good performance.
we used pytesseract==0.3.0 for calling the tesseract-ocr.why this contradiction, please comment on this?
Can you comment on following question
If we didn't set up the OMP_THREAD_LIMIT, does it enable multithreading in Tesseract-4.1?