You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Add below Tesseract dll files in a java project
liblept168.dll, libtesseract302.dll.
2. Add below jar files as supporting jars
tess4j.jar, ghost4j-0.5.1.jar, jai_imageio.jar, jna-4.1.0.jar,
junit-4.10.jar.
3.
Run this code with the attached file.
public class TestTess4J {
public static void main(String[] args) {
File imageFile = new File("E:\\test\\rc1.jpg");
Tesseract instance = Tesseract.getInstance(); //
try {
String result = instance.doOCR(imageFile);
System.out.println(result);
} catch (TesseractException e) {
System.err.println(e.getMessage());
}
}
}
What is the expected output? What do you see instead?
The text in the attached image.
What version of the product are you using? On what operating system?
Compiled in JDK 6. OS: Windows 7 64 bit.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 26 Aug 2014 at 5:01
Original issue reported on code.google.com by
[email protected]
on 26 Aug 2014 at 5:01Attachments:
The text was updated successfully, but these errors were encountered: