Coder Social home page Coder Social logo

Default dpi about aiopytesseract HOT 4 CLOSED

shizacat avatar shizacat commented on June 11, 2024
Default dpi

from aiopytesseract.

Comments (4)

shizacat avatar shizacat commented on June 11, 2024 1

@amenezes, don't worry about this.
Ok, as you decide.

from aiopytesseract.

amenezes avatar amenezes commented on June 11, 2024

Hello again @shizacat.

I purposely fixed the DPI option. I've had some problems with default option on tesseract-ocr v4, so I thought I'd use a default value maybe to provide a better result or even to try follow the resizing suggested in the documentation, although the current value is 200 and the wrapper do not perform any type of treatment in the image provided.

Do you have any specific needs or would it be a suggestion to leave the wrapper in greater compliance with tesseract-ocr?

from aiopytesseract.

shizacat avatar shizacat commented on June 11, 2024

@amenezes, Hello!
No, I don't have specific require, I need recognize documents. But when I was checking different options for recognize, tried to find better configuration, this library I don't have possibility to make it.
But, same tesseract is had it feature. I think will be better to stay this feature.

If you need default value, may be to do: if value dpi is None, don't set him.
What do you tell?
Only into one place is needed to change: '_build_cmd_args' ;)

from aiopytesseract.

amenezes avatar amenezes commented on June 11, 2024

@shizacat, sorry for delay.

Let's wait a little longer to make this adjustment, at least until there is a real need.

As I commented with you I have noticed several warnings regarding the use of the features in standard mode. I have used latest release to process more than 1M page per week without any problem.

from aiopytesseract.

Related Issues (7)

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.