So you build the tesseract library without openmp, but when you use it (by calling api) multithreading is there? Do I understand you correctly? How did you find it out?
Zdenko st 18. 12. 2024 o 6:43 Xingtong Chen <chenxt200...@gmail.com> napĂsal(a): > In tesseract document, I found that if I need to disable multithread, I > need the configure option > > ../../configure --disable-openmp > > This works well on my machine. > > But I still cannot figure out how to disable multithread tesseract when > using teseract api. > > I have tried -DOPENMP_SIMD_FALSE, but this didn't work. Is there any > compile flag to disable openmp? > > I use g++ compiler with version "gcc version 12.2.0 (Debian 12.2.0-14)". > > -- > 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 visit > https://groups.google.com/d/msgid/tesseract-ocr/554ec663-9411-4844-8fbf-8939c84fe594n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/554ec663-9411-4844-8fbf-8939c84fe594n%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 visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wF_SWG2etghdpaU-QxHUJfwh_5GbPomNV1hkv4ha2FoA%40mail.gmail.com.