Questions tagged [tess-two]
146 questions
2
votes
0 answers
Not able to add Tesseract OCR module to Android Studio
I followed the step by step guide found here:
https://www.codeproject.com/Articles/840623/Android-Character-Recognition
At step 2 when I added tess-two as module dependency to app and synced gradle, it failed with the following error:
Error:Project…

Lakshesh Girdhar
- 21
- 5
2
votes
0 answers
using tess-two how to add a frame to particularline to scan android
i am able to scan the document (whole).i want to able to select only one particular line from the document.how to achieve that .i was using tess-two Library.

sanjana
- 220
- 1
- 15
2
votes
0 answers
Could not initialize Tesseract API with language=eng
when I use the tess-two:6.1.1, I got below error
Tesseract(native): Could not initialize Tesseract API with language=eng!
ActivityThread: Performing resume of ActivityRecord{dc1c46c token=android.os.BinderProxy@ce1ba35…

guodong cao
- 33
- 6
2
votes
2 answers
Tess-Two (Tesseract OCR in Android) shows very inaccurate results
I use the following function to perform offline OCR using Tesseract OCR's Android fork Tess-Two :
private String startOCR(Uri imgUri) {
try {
ExifInterface exif = new ExifInterface(imgUri.getPath());
int exifOrientation =…

Raptor
- 53,206
- 45
- 230
- 366
2
votes
1 answer
Stop tessseract recognize in Android
I use Tess_two library and need to interrupt recognizing(method getUTF8Text) if it goes too long. How can i do it. Method stop() dosen't work((

JJoe
- 175
- 6
2
votes
1 answer
How can I be output Android only numbers in OCR?
I am developing an Android OCR.
Using tess-two in the Android made the OCR.
I have downloaded the 'traineddata' file. And it has succeeded in output in English . But I want to output a number.
In the Internet gave me inform the sentence 'tesseract…

ro Ro
- 123
- 10
2
votes
2 answers
Cannot initialize tessdata path for OCR using tess-two in Android
I am developing an Android OCR project. In my project, I am using tess-two. But I am having problem with initializing trainned data from tessdata folder for tess-two.
I installed tess-two in grandle like this
dependencies {
compile…

Wai Yan Hein
- 13,651
- 35
- 180
- 372
2
votes
0 answers
Surprisingly large difference between tess4j and tess-two
tess-two seems to work pretty well when I know EXACTLY the location on screen where the text I want to OCR is.
Now I'm trying to scan for text against a busy background, and it's not working quite as well.
annotated android screenshot
I built a…

steve
- 21
- 1
2
votes
1 answer
Default datapath of tessdata folder
I found a strange issue like even If I explicitly mention the datapath to be /data/local/tmp/tesseract/, the TessBaseAPI uses the tessdata inside /data/data/tesseract/ (Only if it exists). If tesseract directory does not exist inside /data/data…

Nagaraja Thangavelu
- 1,168
- 1
- 15
- 31
2
votes
1 answer
Tesseract pdf renderer with 24 bit depth jpg image
I've to create a searchable pdf from multiple 24 bit depth jpg images. I'm using tess-two which by default comes with libpng. The problem is that tesseracts output a corrupt pdf! The images are not present in the pdf. The text is still present in…

ArjanSchouten
- 1,360
- 9
- 23
2
votes
1 answer
Android UnsatisfiedLinkError With Tesseract and OpenCV
I have been trying to get OpenCV and the android version of tesseract (tess-two) to work with my android app. I am developing in Android Studio 1.4, the problem is that if I add the tess-two dependency alone, the app works fine and I can load the…

Tedi
- 86
- 7
2
votes
1 answer
OCR implementation error-java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "png_set_longjmp_fn" referenced by "liblept.so"
I am using tesseract library in my code for OCR implementation.But find the above error(mentioned in title).Tried with new tess-two library in the link:https://github.com/rmtheis/tess-two.
But still same issue.Isue found only in samsung s3 and s4…

Archana
- 59
- 8
2
votes
1 answer
Progress/cancel callback in Tesseract using ETEXT_DESC
Is there a way to specify a progress and cancel callback in Tesseract? I'm using Tesseract in Android, using the tess-two project.
There is already a previous question - Android Tesseract progress callback. However, the answers there imply that it's…

sashoalm
- 75,001
- 122
- 434
- 781
2
votes
1 answer
meaning of android target when building tess-two ocr
I am following this tutorial - http://gaut.am/making-an-ocr-android-app-using-tesseract/ in order to build and use the tess-two library.
I ran into an error when running
android update project --path .
and in the tutorials, it says:
On Windows:…

Ofek Agmon
- 5,040
- 14
- 57
- 101
2
votes
1 answer
Hard time compiling tess-two for android
I'm trying to build eyes-two from the tess-two project using android studio. I did the
ndk-build
android ...
ant release
stuff for tess-two and eyes-two, imported eyes-two, configured ndk.dir path and all, but, while build I get the following error…

Italo Maia
- 1,956
- 3
- 18
- 31