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. Build library successfully
2. Use TessBaseAPI in my app
3. Here is the code:
TessBaseAPI baseApi = new TessBaseAPI();
File file = new File(link.getText().toString());
baseApi.init("/mnt/sdcard/", "eng"); // myDir + "/tessdata/eng.traineddata" must be present
baseApi.setImage(file);
String recognizedText = baseApi.getUTF8Text(); // Log or otherwise display this string...
baseApi.end();
content.setText(recognizedText);
What is the expected output? What do you see instead?
The content of image file must display in the EditText view, but the app was
force closed.
And I don't know how to find out the error.
What version of the product are you using? On what operating system?
I use eclipse Eclipse IDE for Java Developers, tesseract android tools 1.00,
API 8 android 2.2.
Please provide any additional information below.
I don't have file buld.xml in my tesseract-android-tools-1.00,
Original issue reported on code.google.com by fantasy1...@gmail.com on 22 Aug 2011 at 3:36
Original issue reported on code.google.com by
fantasy1...@gmail.com
on 22 Aug 2011 at 3:36The text was updated successfully, but these errors were encountered: