Comments (6)
I already have a parallel job control function which is portable to bsd and mac.
It should be easy to send OCR function to background without using gnu parallel.
What's the purpose here ?
Is the purpose is to use tesseract on all cores (abbyyocr11 is already threaded) ?
Is the purpose to run on multiple computers ?
from pmocr.
Yes, Tesseract does not support all cores by default, but your point that it running on multiple computers sounds very useful too!
from pmocr.
It's called "poor man" ocr service, running on multiple cores should be enough :)
I've commited some quick and dirty parallel execution work.
Number of processes is set in config header.
Please test it and tell me if it works for you.
from pmocr.
Just gave it a try and seems to work just fine..! I set the process limit to 3 on a system with 4 cores, I'll monitor if it uses more than 3 but so far it looks stable.
from pmocr.
Commited what should become v1.5.
Fixes an issue introduced with parallel processing on filenames with spaces and adds a couple of options for tesseract. Feel free to update and test.
Also, feel free to tell me if you have other ideas for this script :)
from pmocr.
tested v1.5 and runs well. Also integrated instructions to run a new instance as outlined in Issue-7, it all seems stable!
from pmocr.
Related Issues (12)
- init file starts even if CheckEnvironment exits with exitcode 1
- Setting up ServiceMode HOT 7
- https://github.com/deajan/osync/issues/156 HOT 1
- Tesseract 4 support HOT 5
- convert: Option '-resample' requires an argument or argument is malformed HOT 12
- where can i get FineReader OCR Engine 11 CLI for Linux HOT 1
- install.sh: check destination for SERVICE_DIR_SYSTEMD_SYSTEM HOT 6
- Merge ofunctions
- Enhance multilingual processing/options HOT 32
- installer thinks there must be a pmocr-batch.sh HOT 1
- (CRITICAL): not present appearing in log first run issue 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 pmocr.