Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-06-12 Thread ShreeDevi Kumar
Thank you for the info. The following link also has helpful info. https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.2/com.ibm.xlc131.aix.doc/compiler_ref/omp_thread_limit.html ShreeDevi भजन - कीर्तन - आरती @

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-06-08 Thread Jakob Salomonsson
After speaking to one of the tesseract contributors: import os os.environ['OMP_THREAD_LIMIT'] = '2' Should do the job, as OMP_NUM_THREADS is an environment variable. However, the speed difference is very small. It might be better to process several images in parallell rather than to process

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread nick
hi I don't know , which file should change for *OMP_NUM_THREADS ? or wihch command should test ?* On Monday, May 28, 2018 at 3:10:25 PM UTC+4:30, Jakob Salomonsson wrote: > > Calling the help function in python through help(pytesseract.pytesseract) > yields this result, among others: > >

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread Jakob Salomonsson
Calling the help function in python through help(pytesseract.pytesseract) yields this result, among others: *DATA* *OMP_NUM_THREADS = 3* *OMP_THREAD_LIMIT = 3* *RGB_MODE = 'RGB'* *__warningregistry__ = {'version': 332, ('unclosed file <_io.BufferedWr...* *numpy_installed =

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread nick
how and where we could change this variable ? -- 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 post to this

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread Jakob Salomonsson
Thank you for your responses ShreeDevi. I have read the documentation you are referring to, but still I can't manage to get my head around on how, and where, to set this variable. A concrete example would be highly appreciated. Jakob Den mån 28 maj 2018 kl 11:19 skrev ShreeDevi Kumar

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread ShreeDevi Kumar
Also see https://github.com/tesseract-ocr/tesseract/issues/1317 ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com On Mon, May 28, 2018 at 2:45 PM, ShreeDevi Kumar wrote: > Please see

Re: [tesseract-ocr] Re: use multi threads in tesseract

2018-05-28 Thread ShreeDevi Kumar
Please see https://github.com/tesseract-ocr/tesseract/wiki/FAQ#can-i-increase-speed-of-ocr Set the maximum number of threads using the environment variable OMP_THREAD_LIMIT. ShreeDevi भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com