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-ocr+unsubscr...@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.

Reply via email to