>
> 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 defaul*t) 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?
>
>
> On Wed, Sep 30, 2020 at 5:39 PM Zdenko Podobny <[email protected]> wrote:
>
>> 1. OMP_THREAD_LIMIT is an environment variable so it affects "everything"
>> not only tesseract.
>> 2. How did you measure performance? Provide details including OS, hw
>> etc.
>>
>> Zdenko
>>
>>
>> st 30. 9. 2020 o 14:05 Sarath C P <[email protected]> napĂ­sal(a):
>>
>>> OpenMP disabled in tesseract-ocr default. but when I am seeting
>>> OMP_THREAD_LIMIT it gives performance improvement why?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "tesseract-ocr" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tesseract-ocr/66b3ec4b-a9ce-4bb1-8bd8-e4f858204106n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tesseract-ocr/66b3ec4b-a9ce-4bb1-8bd8-e4f858204106n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "tesseract-ocr" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tesseract-ocr/Zo4jqQT0--w/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xNrMmS6sVu8ob_tJ36HKsfthyvdntLqHb8j%2Bb5herpnA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xNrMmS6sVu8ob_tJ36HKsfthyvdntLqHb8j%2Bb5herpnA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAAEyU3ZtUPEV0%3DT55FYyi24%2BVe%3Dj3bm-qk0osKyK5rxfyYpJNQ%40mail.gmail.com.

Reply via email to