How did you install tesseract? What is the output of `tesseract -v`?
Zdenko so 25. 5. 2024 o 11:03 Kassim Papa <[email protected]> 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xMWPjDeq9Yf%3DL4%3DbtesvFD6_h5nV-VL2atWxCLfqi49Q%40mail.gmail.com.

