We use a C# wrapper.
This .net library found on nugget : https://github.com/charlesw/tesseract



Le samedi 25 mai 2024 à 11:14:36 UTC+2, zdenop a écrit :

> How did you install tesseract?
>
> What is the output of `tesseract -v`?
>
>
> Zdenko
>
>
> so 25. 5. 2024 o 11:03 Kassim Papa <kassi...@gmail.com> napísal(a):
>
>> Current Behavior :
>>
>> Despite putting omp_thread_limit=1 tesseract still use all cores on my 
>> machine (i7-7th - windows 10).
>>
>> We used this (at the beginning of the code) :
>> Environment.SetEnvironmentVariable("OMP_THREAD_LIMIT", "1");
>>
>> And this ( a batch) :
>> @echo off
>> set OMP_THREAD_LIMIT=1
>> start "" "path_to_your_application.exe
>>
>> We have 1 big image Tesseract takes 7 second when we go over it at once.
>>
>> When we divide the image in 4 and run 4 instances of tesseract in 
>> parallel it take 7 second too : no changes at all.
>>
>> Expected Behavior :
>>
>> We should see in the task manager that tesseract only use 1 cores
>>
>> there should be a significant improvement when running 4 images in 
>> parallel. Multiple people had success with this method.
>>
>> -- 
>> 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 tesseract-oc...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/008e9795-877c-4638-af08-0dc7e3af00ecn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/008e9795-877c-4638-af08-0dc7e3af00ecn%40googlegroups.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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/2ca978b6-0061-425a-aa2e-a7065fa5acc4n%40googlegroups.com.

Reply via email to