Comments (8)
Can you please provide a unit test example? Which version are you using?
from tess4j.
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.
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.
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.
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.
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.
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.
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)
- Docker Image with Java 11 + tess4j:5.2.0 + Spring Boot 2.6.6 not working HOT 9
- Getting error Invalid memory access when use Tess4j in JAVA project Netbeans HOT 2
- OCRResult only contains last page's scan
- "createDocumentsWithResults(...)" fails when "filename" is null HOT 2
- Performance degradation for multipaged tiff ocr result HOT 2
- error: Error looking up function 'TessBaseAPIInit5': dlsym(0x7fe46b6d06a0, TessBaseAPIInit5): symbol not found HOT 1
- Tesseract.doOCR() failing on Windows from cmd line for Java 17, works in eclipse HOT 2
- JVM crash on M1 / MacOS with tess4j HOT 4
- Can tess4j be used to convert a pdf with images as content to a searchable pd HOT 2
- doOCR() vs. createDocuments() / createDocumentsWithResults() HOT 4
- meanTextConfidence is 0 for doc with empty last page but non-empty others in createDocumentsWithResults method HOT 2
- java.lang.UnsatisfiedLinkError HOT 4
- TIFF to PDF (text_only==false) recognition (or conversion) failed. HOT 3
- Tess4j not work on Mac M1 even with new JNA5.12.1 HOT 2
- linux
- Memory leak when using tess4j for parallel processing in docker environment HOT 1
- Tess4j does not correctly handle images with alpha channel HOT 8
- java.lang.UnsatisfiedLinkError : Error Looking Up function TessBaseAPICreate : The specified procedure can not be found. Tess4j 5.8.0 HOT 5
- LoadLibs copies files into wrong directory when a custom value for jna.library.path is set HOT 5
- Unable to set non-English datapath in Tess4J HOT 2
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 tess4j.