Comments (5)
Typically such crashes occur on hardware with an insufficient power supply (often notebooks). Multithreaded Tesseract will make heavy use of all available AVX2 units which require more power than other CPU instructions.
from tesseract.
Try running several single-threaded tesseract processes in parallel to use all CPU cores. Maybe that also causes a Linux crash when all processes use AVX2 at the same time. You can also try OMP_THREAD_LIMIT=2
or OMP_THREAD_LIMIT=3
to use multithreading with only some of the available AVX2 units.
from tesseract.
See also issue #2064.
from tesseract.
Hi @stweil - thanks for the feedback. I doubt it's power, the machine is a desktop with plenty of power capacity, and runs severe loads without problem - but difficult to diagnose as machine crashes don't leave any traces. I was thinking bug in libraries for graphics processor ... ?
from tesseract.
Even with plenty of power the machine might have a mainboard which does not deliver that power to the CPU.
Tesseract uses its own code for AVX2, no external library. You could use that code for a local test.
from tesseract.
Related Issues (20)
- 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
- inform where we can find tesseract.exe HOT 2
- Native Crash in otsuthr.cpp HOT 2
- CI: vcpkg failure due to missing xz tarball HOT 4
- link error LNK1120 with text2image.exe
- Mac m1, not able to compile HOT 2
- OCR of Indian Currency Sign " ₹" HOT 2
- please support linux binary , like fzf HOT 1
- Infinite recursion for `tesseract --list-langs` with conda-forge binary HOT 16
- SW Pipeline for Ubuntu failed HOT 2
- text2image needs pango_training.so which in turn is not installed HOT 7
- Can not read input file in /tmp HOT 3
- Tesseract can not recognize grey text in black background HOT 1
- Multiple language detection within an image
- Floating-point exception (SIGFPE) due to out-of-range input to asinf in Wordrec::angle_change HOT 4
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.