Code Monkey home page Code Monkey logo

Comments (6)

deajan avatar deajan commented on August 23, 2024

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.

popnt avatar popnt commented on August 23, 2024

Yes, Tesseract does not support all cores by default, but your point that it running on multiple computers sounds very useful too!

from pmocr.

deajan avatar deajan commented on August 23, 2024

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.

popnt avatar popnt commented on August 23, 2024

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.

deajan avatar deajan commented on August 23, 2024

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.

popnt avatar popnt commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.