Questions tagged [tess-two]
146 questions
1
vote
0 answers
DPI increase for OCR (Tesseract)
I am using tess-two to OCR images in Android. I have pre-processed the input PNG image by deskewing, resizing, binarizing (Bradley threshold), and De-Noising the image. When I run tess-two, the results are pretty poor. When I ran it on command line…

Mallik Kumar
- 540
- 1
- 5
- 28
1
vote
1 answer
Android Tess-Two library load data
I am using the Tess-Two tesseract library. In most example code, the external tessdata is loaded by accessing the SD card, something like: Environment.getExternalStorageDirectory().toString() + "/TesseractSample/";. Is it possible to access this…

Rgfvfk Iff
- 1,549
- 2
- 23
- 47
1
vote
1 answer
tess-two won't initialise, even with correct permissions
Here's what I'm currently doing:
tess-two is set up in my Android project
I have permissions specified in the AndroidManifest.xml of my main app (not the tess-two AndroidManifest.xml):
I also check for permissions explicitly in my code:
int…

LomaxOnTheRun
- 592
- 1
- 8
- 21
1
vote
1 answer
How to augment OCR output of tesstwo using user data in ANDROID?
I am using Tess-two to OCR documents.It seems that the team of Tesseract has done a great job and the results are extremely good!!
But now I want to use only words from my user_data file.
Here…

Farmaker
- 2,700
- 11
- 16
1
vote
1 answer
java.lang.UnsatisfiedLinkError opencv tess-two libraries?
I've downloaded this project : https://github.com/jhansireddy/AndroidScannerDemo
It uses OpenCV and it works perfectly, what it does is scan a photo taken with the phone's camera (or from gallery) and scan it. My purpose is OCR so I included…

engineering student
- 233
- 1
- 3
- 14
1
vote
1 answer
How to do multi-language Tesseract-ocr
I have followed building instructions for DemoImagetoText on Youtube I build DemoImagetoText successfully. Then I want to develop this application by do multi-language OCR. If I want to do multi-language OCR what should I do or change from this…

wanipook
- 33
- 2
- 7
1
vote
1 answer
UnsatisfiedLinkError at runtime
I am using scanlibrary module in my project and it works fine, but when I include tess-two 6.0.4 in build.gradle file it generates following error:
java.lang.UnsatisfiedLinkError:…

Shahrukh Haider
- 454
- 2
- 16
1
vote
1 answer
Cannot build libtess.so in tess-two
Basically when I run ndk-build command in the tess-two folder which I have extracted after downloading, the following error occurs -
https://i.stack.imgur.com/nYQvr.png
my ndk version is android-ndk-r10c
Due to this libtess.so is not being created…

Akshansh Jain
- 297
- 1
- 5
- 19
1
vote
1 answer
Unable to build tess-two library
I'm trying to build the tess-two library by following this tutorial:
http://www.codeproject.com/Tips/840623/Android-Character-Recognition
On Windows the compile of the library fails immediately on Linux I receive the following error:
make: Entering…

DarkVex
- 157
- 1
- 11
1
vote
1 answer
Cannot update project from terminal in Android
I am developing an Android project. In my project, I need to do OCR. So found this tutorial http://www.codeproject.com/Tips/840623/Android-Character-Recognition. I am trying to follow that tutorial. But I am having problems with set up, especially…

Wai Yan Hein
- 13,651
- 35
- 180
- 372
1
vote
1 answer
Tesseract max recognition time in android
I have a problem with tesseract recognition time in android, it's taking too much time to recognize text. In ios it has a function to give tesseract max recognition time like tesseract.maximumRecognitionTime = 60.0.
Is there any way to give…

crafter
- 53
- 7
1
vote
2 answers
extracting numbers from Bitmap in android using tess-two library
I want to extract a number from a Bitmap. I'm using the tess-two library, but it does not recognize correctly.
Example Code:
@Override
public void onClick(View v) {
switch (v.getId()){
case R.id.b2:
InputStream…

karim saikouki
- 19
- 4
1
vote
2 answers
Tesseract getutf8text performance
I have been working with an app that uses the Tesseract API in order to support OCR. This is done by using a Surfaceview which shows the camera output (Camera2 API) and a ImageReader instance which is used to get the images from the camera. The…

Araw
- 2,410
- 3
- 29
- 57
1
vote
1 answer
Execution failed for task ':tess-two:processReleaseResources' after migration to Android Studio 1.5
I just migrated to Android Studio 1.5 and started to get the error bellow. Before mgration I could build the project, no problem at all. Now I can't.
Any help will be preciated.
Thank you in advance.
ERROR
13:13:26.569 [ERROR]…

Carlos
- 433
- 5
- 19
1
vote
0 answers
Migrate to gradle experimental:0.2.0 NDK
i use project with openCV integrated:
https://github.com/joaopedronardari/OpenCV-AndroidSamples
This project use "gradle experimental:0.2.0", i want to import my OCR tesseract,
but android can`t load library :
System.loadLibrary("pngt");
In old…

Geralt_rivv
- 101
- 1
- 9