Questions tagged [tess-two]
146 questions
0
votes
1 answer
How to force tesseract to recognize a single character, instead of ignoring it?
I have been using tesseract (tess-two to be more precise)to make an app in android to recognize certain non conventional symbols. The purpose is to identify the symbol and redirect to the description of said symbol.
The symbols can be recognized…

Samzerge
- 96
- 1
- 8
0
votes
1 answer
Split words with Tesseract tess-two on Android
I try to use tesseract tess-two to read question and answears from images in android. At the moment I get a String with every word on the image.
My problem is that I can't split the answears
Is it possible to split the answear with TessBaseAPI? A…

Maddin
- 81
- 6
0
votes
1 answer
android update project --path "path" error: target invalid (ubuntu)
I am trying to build tesseract library in android studio.
abhimanyu@MyPC:~/Documents/tess-two-master/tess-two$ /home/abhimanyu/Android/Sdk/tools/android update project --path .
Error: The project either has no target set or the target is…

abhimanyu bishnoi
- 11
- 2
0
votes
1 answer
Could not initialize Tesseract API with language=eng for tess-two API
I'm trying to implement the tess-two api for my Android application and I'm getting this error no matter how I try to fix it:
E/Tesseract(native): Could not initialize Tesseract API with language=eng!
I do have WRITE_EXTERNAL_STORAGE permission in…

June
- 55
- 2
- 9
0
votes
1 answer
How to find whether tess-two/BUILDING done successfully or not.?
i am working on an android OCR application, for that i am using Tesseract. Therefor it is necessary to do tess-two buidling first. I actually completed tess-two building but i don't know whether tess-two building completed successfully or…

Junaid Ahmad
- 43
- 1
- 6
0
votes
1 answer
Not able to initialize tess-two (Could not initialize Tesseract API error)
I wrote a sample Android app. I am getting 'Tesseract(native): Could not initialize Tesseract API with language=eng!' error.
I did include
compile 'com.rmtheis:tess-two:5.4.0'
in the gradle file
Also copied all 'data files' 3.04.00 version to…

mahabudhi
- 91
- 1
- 10
0
votes
1 answer
android tessaract API to recognize non words
I'm trying to recognize random chars in android with tess-two API .
I have a printed paper sheet with the string: "5XqaLB"
when i show to the camera parts of the string to recognize it, i get th following examples:
original -> result
"5XqaLB"…

r3v3r53
- 142
- 1
- 1
- 10
0
votes
1 answer
java.lang.UnsatisfiedLinkError: Couldn't load lept
When I am running the code below on a real device (ZTE, Android 4.2.2) I got an error:
_tessApi = new TessBaseAPI();
_tessApi.setDebug(false);
try {
_tessApi.init(Environment.getExternalStorageDirectory().getPath(), "chi_sim");
…
user4890334
0
votes
1 answer
libs folder in tess-two and eyes-two are empty
So I successfully built tess-two using the following commands
git clone git://github.com/rmtheis/tess-two tess
cd tess
cd tess-two
ndk-build -path '~/Desktop/OCR/tess/eyes-two/jni'
android update project --target 6--path .
ant release
The reason…

Bhavik P.
- 905
- 3
- 10
- 28
0
votes
1 answer
Tesseract ocr returns null string
I am building an OCR app for android and i use tesseract ocr engine. Somehow every time i use the engine on a photo it returns an empty text.
This is my code:
public String detectText(Bitmap bitmap) {
TessBaseAPI tessBaseAPI = new…

Montoya
- 2,819
- 3
- 37
- 65
0
votes
1 answer
Android Tess-two: library configuration using cygwin
i am following this tutorial here to use Tesseract libs for android. and in step(b) in the link posted, it says: b.export TESSERACT_PATH=${PWD}/external/tesseract-3.01
and in cygwin i wrote the following:
dm@me…

rmaik
- 1,076
- 3
- 15
- 48
0
votes
1 answer
Tesseract Project: dlopen failed: cannot locate symbol "png_set_longjmp_fn" refrenced by "liblept.so"
I'm trying to make an app that use tess-two library and is suppose to give me back the string format of a word picture.
this is my process for importing tess-two and I'm using cygwin for it:
PART1: CYGWIN:
export…

Abtin B.F
- 1
- 2
0
votes
0 answers
android - troubles integration Tess-two library with Android Studio
I'm tryin' to set up Tess-Two library in Android Studio using this instruction:
Tess-two instruction for Android Studio
But I fail on the step 8 - it says something like "android" is not the system command (or something like this - my OS is not in…

Justin McGuire
- 365
- 1
- 5
- 18
0
votes
1 answer
working of tesseract,(tess-two,eyes-two) and its gradle errors with default config in android studio
Iam trying to use tessearct for an image based compiler App.
I have created a library under the main project which contains both tess-two and eyes-two files.
Iam having problems in building their build.gradle files
THE PROJECT'S Root build.gradle…

Pavithra Gunasekar
- 11
- 2
0
votes
1 answer
Call end() method in tess-two is causing app crash
I'm using tess-two without problems, but when I call the TessBaseAPI.end() the application crashes. This log message is displayed.
06-26 09:06:18.065 2347-14702/? I/ActivityManager﹕ Killing proc 14146:br.com.nglauber.app.ocr/u0a10163: force stop…

nglauber
- 18,674
- 6
- 70
- 75