Giter Club home page Giter Club logo

Comments (8)

4F2E4A2E avatar 4F2E4A2E commented on August 20, 2024

Can you please provide a unit test example? Which version are you using?

from tess4j.

paulovictorv avatar paulovictorv commented on August 20, 2024

Well, there's no unit test for it, I just enabled the HOCR output using the Tesseract1 class.

The version for Tess4j is 1.3.0 and Tesseract is version 3.03.

from tess4j.

4F2E4A2E avatar 4F2E4A2E commented on August 20, 2024

I meant a code example or your unit test for it. Is there any particular reason why you are not using a newer Release? https://github.com/nguyenq/tess4j/releases/tag/tess4j-2.0.0
Investigating...

from tess4j.

paulovictorv avatar paulovictorv commented on August 20, 2024

Well, I didn't know there was a newer version, so that's why :D

I will try with a newer version and get back to you.

Thanks a lot

2015-06-03 14:51 GMT-03:00 4F2E4A2E [email protected]:

I meant a code example or your unit test for it. Is there any particular
reason why you are not using a newer Release?
https://github.com/nguyenq/tess4j/releases/tag/tess4j-2.0.0
Investigating...


Reply to this email directly or view it on GitHub
#19 (comment).

Paulo Victor Vieira de Melo
Graduando em Ciência da Computação
Lattes : http://lattes.cnpq.br/7418993216312941
Currículo StackOverflow Carrers:
http://careers.stackoverflow.com/paulovictorv
UFAL - IC

from tess4j.

4F2E4A2E avatar 4F2E4A2E commented on August 20, 2024

Hi there! Did you make use of the setHocr like described in the wiki [1]?
Please take notice that the hocr file will be the return value, you will have to take care of persisting the file to the file system yourself.

instance.setHocr(true);
result = instance.doOCR(imageFile);

1: https://github.com/nguyenq/tess4j/wiki/Code-Sample#junit-hocr-example

from tess4j.

4F2E4A2E avatar 4F2E4A2E commented on August 20, 2024

Did you manage to get it done? Can i close this one? Are you using the HOCR to create PDFs? If yes with which Library?

from tess4j.

paulovictorv avatar paulovictorv commented on August 20, 2024

Sorry for the delay. Yeah, it was pretty obvious, but I couldn't find any
documentation at the time.

You can go ahead and close this, thanks for the help.

2015-06-06 2:30 GMT-03:00 4F2E4A2E [email protected]:

Did you manage to get it done? Can i close this one?


Reply to this email directly or view it on GitHub
#19 (comment).

Paulo Victor Vieira de Melo
Graduando em Ciência da Computação
Lattes : http://lattes.cnpq.br/7418993216312941
Currículo StackOverflow Carrers:
http://careers.stackoverflow.com/paulovictorv
UFAL - IC

from tess4j.

4F2E4A2E avatar 4F2E4A2E commented on August 20, 2024

No problem! Thank you for the feedback. By the way what are you actually doing with the HOCR files? Creating PDFs?

from tess4j.

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.