Apologize for my unclear expression. There are 2 tesseracts on my machine:
1. One is built from the github release (5.5.0). I use the --disable-openmp flag to conigure and I get a build without multithread.
2. I install libtesseract5 (5.3.0-2 amd64) from debian apt and the api head file is in my /usr/include folder. I compile a demo using g++ with version “gcc version 12.2.0 (Debian 12.2.0-14)”.When I run the executable file, the process use 4 threads on my machine.
I find it by checking htop command results.
I just tried using OpenMP to perform multithreaded recognition operations with tesseract::TessBaseAPI* (using libtesseract5), but it seems the multithreading effect has disappeared. That's weird to me.
Thank you for your patience ;)