Comments (10)
@stweil
Do you think we need it?
from tesseract.
Using AX_PTHREAD
would introduce a new dependency, because it is part of the GNU Autoconf Archive. On all of my build hosts, the Debian package autoconf-archive
would have to be installed.
I only found a configure.ac for powertop which uses AX_PTHREAD
, so it seems to be rarely used.
If we have multi-threaded code based on pthread, it is necessary to use the right compiler and linker options. Those options can be set by AX_PTHREAD
, but also by software packages using pkg-config.
@elfring, did you notice missing options for pthread support in some Tesseract configurations?
from tesseract.
If we have multi-threaded code based on pthread, it is necessary to use the right compiler and linker options.
- Which script should determine appropriate parameters for your current build specification?
- Would you like to bundle it with your build system?
from tesseract.
I don't use any private scripts for compiler or linker options in Tesseract builds.
As far as I see, Tesseract only uses multi-threading for the viewer (only built for Windows, see viewer/svutil.cpp
and for builds with OpenCL (which is disabled by default). So I assume that there is currently a problem with missing multi-threading compiler / linker options for these two configurations. Is that correct? Personally I must admit that I used neither of both configurations up to now.
from tesseract.
Would you like to improve the build situation generally for the mentioned software areas?
from tesseract.
Yes, of course, but I won't be able to contribute much during the next few weeks due to other activities.
from tesseract.
@elfring
I can't guarantee that there will be someone available to review these build system changes. I was hoping that @stweil could do it, but he has other priorities right now...
from tesseract.
Also note that we want to support cygwin and mingw.
from tesseract.
And we need to support Visual Studio ;-)
from tesseract.
Closing as it seems no progress for 2 years. Feel free to send PR with code/build system improvement.
from tesseract.
Related Issues (20)
- Ocr's some numbers as text strings HOT 1
- Failed dependency : liblept.so.5() HOT 4
- Tesseract 5.0.0-alpha command line is crashing HOT 1
- unicharset_extractor does not build anymore HOT 2
- Tesseract fails to OCR text with very clear hexadecimal digits HOT 5
- Two little bugs for tesseract HOT 1
- multithreaded tesseract causes Linux crash HOT 5
- Linker Error for tesseract53.lib HOT 1
- Add redirect function HOT 1
- Add ICD Codes in english trained Data HOT 2
- Some CI jobs (GitHub Actions) are failing HOT 10
- uuencode-generated text is OCRed with many mistakes HOT 2
- Error! The command "tesseract" was not found. HOT 2
- Error! The command "tesseract" was not found
- unicharset_extractor segfault HOT 31
- Please add the API call to translate the language code to the full language name HOT 3
- Warning: LSTMTrainer deserialized an LSTMRecognizer! Error, data/eng/eng_num_vert.lstm is an integer (fast) model, cannot continue training HOT 7
- Add the NN for a 'random' ASCII language HOT 1
- "min_characters_to_try" parameter does not work HOT 2
- phonetic symbols and special characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesseract.