GithubHelp home page GithubHelp logo

Comments (5)

jflesch avatar jflesch commented on May 23, 2024

Thanks for the information. I will see what I can do.
Do you know on which versions of Tesseract the changes were made ?

from pyocr.

andyschmid avatar andyschmid commented on May 23, 2024

I can't say what version this change was introduced in, but I ran into testing the latest Ubuntu 16.04 docker image. Here is the tesseract version:

tesseract 3.04.01
leptonica-1.73
libgif 5.1.2 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.1.0

from pyocr.

andyschmid avatar andyschmid commented on May 23, 2024

Here is one solution to the change in the output fields of the tesseract command. I'm currently using this as a work-around

issue-35-patch.txt

Note: this solution is on the assumption that the Rotate field is only in the new revision, and the value returned in the Rotate field is reversed as the value of the Orientation in degrees used to be. Hopefully the tesseract developers stick to an api moving forward.

from pyocr.

jflesch avatar jflesch commented on May 23, 2024

Ok, I think I will use your patch as is. However, next time, please send a pull request so I can (easily) give you proper credits.

from pyocr.

jflesch avatar jflesch commented on May 23, 2024

Fixed: 899872b
The next planned version is 0.4.0, but I'm having problems with the support of Libtesseract. So I may have to release a 0.3.2 first instead.

Thanks for this very detailed ticket and the corresponding fix :-)

from pyocr.

Related Issues (20)

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.