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)
- Dropout layers for Tesseract HOT 5
- Build system drags in "avx512" support on setup that does not support this instructions HOT 2
- Inconsistencies in detection and extraction of text using tesseract HOT 4
- Floating point exception with tessdata models since version 5.4.0 HOT 6
- Differences in image contrast, brightness, and sharpness can lead to different directions of ocr recognition HOT 3
- OCR from grayscale TIFFs produces inconsistent results HOT 3
- Inconsistencies, sometimes, on similar characters. Is there a list of mistakes for characters that are very similar? HOT 1
- Assert fail in src/ccstruct/pageres.cpp, line 1502 with specific image and language combination - all languages from ubuntu repos HOT 1
- where can i get the dll of visual studio version on the windows platform? HOT 1
- Tesseract OCR LED/LCD display text recognition
- Tesseract doesn't always recognise diacritics HOT 2
- After update with Homebrew, version number is included in TESSDATA_PREFIX HOT 3
- PDBCMake Error: TARGET_PDB_FILE is allowed only for targets with linker created artifacts HOT 3
- Tesseract hangs when you run 2 or more instances of them at the same time. HOT 6
- How to use Tesseract in a multi-threaded environment? HOT 4
- problem with train without lstmf HOT 1
- Failed to load language error when using multiple langages for recognition HOT 1
- tesseract fails to read simple numbers HOT 8
- '±' is recognised as '+' HOT 4
- phonetics training - problem with superscript letters
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.