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 <[email protected]>: > 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 <[email protected]> > wrote: > >> 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 >> >> On Mon, May 28, 2018 at 2:35 PM, Jakob Salomonsson < >> [email protected]> wrote: >> >>> Hello, >>> >>> Im having roughly the same problem, but related to pytesseract (maybe >>> the same answer can be applied to both of them). >>> I have tried several things, such as stating OMP_THREAD_LIMIT=4, for >>> example, when calling the pytesseract function or adding "OMP_THREAD_LIMIT >>> 4" in one or several of the config files. >>> >>> But still, no changes. Maybe Im just stating or adding in a wrong >>> manner. >>> >>> >>> Anyone knows how to help us advance in this? It would be of great help. >>> >>> >>> >>> >>> Den måndag 28 maj 2018 kl. 09:27:00 UTC+2 skrev nick: >>>> >>>> I found OMP_THREAD_LIMIT but i don't know to change it to 20 ?! >>>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/tesseract-ocr. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tesseract-ocr/02d2b68d-993a-46e3-a362-4a982f4d7de5%40googlegroups.com >>> <https://groups.google.com/d/msgid/tesseract-ocr/02d2b68d-993a-46e3-a362-4a982f4d7de5%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > 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/HA_q6F1_34E/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduV3pAGGhjXM%3Dy-EYuGzgSn1Uqeh3ygcDTJf6LOZtsQiyA%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduV3pAGGhjXM%3Dy-EYuGzgSn1Uqeh3ygcDTJf6LOZtsQiyA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CALhJBJFoHJYaDP9zHZmJoKjyVjVORJKFFaGDh%3DD5Wiu6_2EOig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

