Questions tagged [tess-two]
146 questions
1
vote
1 answer
Importing tess-two and eyes-two in Android Studio project
I am trying to import the tesseract android version to my project, but I’ve found a lot of troubles to import native libraries as tess-two into AS (for the non full supporting of ndk by AS for now). Fortunately this link propose a sort of workaround…

Alessandro Borile
- 189
- 1
- 8
1
vote
4 answers
Android Tesseract App crashes on OCR Function
I am trying to implement Tesseract into my android project but am getting a crash when trying to complete the OCR.
Here is how I'm setting up Tesseract:
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
…

ScottMobile
- 83
- 8
1
vote
2 answers
Get path of data directory(android)
I am using tesseract ocr in my app. In order to use tesseract i need to use several language files that are located at a directory called - 'tessdata'.
This is my method code:
public String detectText(Bitmap bitmap) {
TessBaseAPI tessBaseAPI…

Montoya
- 2,819
- 3
- 37
- 65
1
vote
3 answers
tess-two import in android sdk build error in windows
I have build the project vie steps in the git download page
https://github.com/rmtheis/tess-two#build
I have installed ndk/sdk an configured in my path environment,
also i have add ndk path in project local.properties. Here is my project build log,…

Julian Danchev
- 31
- 1
- 5
1
vote
3 answers
TessBaseAPI cannot resolve symbol tess-two OCR Android
I am trying to run Demo App for OCR using tess-two but i am having problem with code:
I have follow these following steps:
Firstly i have downloaded and install the ndk from here https://developer.android.com/tools/sdk/ndk/index.html.
And I…

Jana
- 68
- 1
- 7
1
vote
1 answer
android - recognized text from tess-two library is wrong
I am trying to use the tess-two library to recognize text from imagae.
Here is my code:
load.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// recognize text
…

Ofek Agmon
- 5,040
- 14
- 57
- 101
1
vote
1 answer
windows - building tess-two with ndk
I am Working on Windows
I want to use the open source tess-two project for image processing in an android application - https://github.com/rmtheis/tess-two.
now, according to this tutorial -…

Ofek Agmon
- 5,040
- 14
- 57
- 101
1
vote
0 answers
Tesseract in Android Studio NDK error
So, I've been trying to make an OCR app with Tesseract. So I've downloaded tess-two, builded it with NDK and added to Android Studio as module. And here comes my problem. My code:
public class MainActivity extends ActionBarActivity implements…

Michał Romanowski
- 19
- 4
0
votes
0 answers
Need help on how to improve accuracy Tesseract Android OCR to read meter more accurately
I have been working in a meter reading project. I try to use the Tesseract for android to get 5 digit of the meter readout but having difficulties on the accuracy.
Meter Image(https://i.stack.imgur.com/5Y8cc.png)
It does not correctly translate the…

AppleBeeT
- 1
- 1
0
votes
0 answers
black screen on camera view while developing android OCR (tesseract)
I'm trying to test OCR system with android 8.0 version.
My Properties are as below;
Compile Sdk Version: 29
Build Tools Version: 29.0.3
Android Gradle Plugin Version: 4.0.1
Gradle Version: 6.1.1
My CameraView shows black screen when it tries to…

김경수
- 1
- 1
0
votes
2 answers
How should I replace FeatureDetector function in new OpenCV latest version 4.0.1?
I am developing an android text recognition app in java with Opencv 4.0.1 and tests-two(tesseract).
I am doing with downloaded source code. they have used OpenCV version 3.2.0 But the Issue is when I was trying to import FeatureDetector for MSER…

Nusry KR
- 105
- 1
- 3
- 13
0
votes
1 answer
How can i set textord_equation_detect true in TessBaseApi in Android
I added tess-two library in build.gradle like below
implementation 'com.rmtheis:tess-two:9.1.0'
and I want to recognize mathematical expression,symbol with TessBaseApi() so i need set true textord_equation_detect but i don't know how to do…

sedaylmz64
- 1
- 1
0
votes
0 answers
Cannot find local variable 'OpenCVLoader' in java Android Studio
I develop mobile app that recognize math expressions. I am using opencv and tess-two library. But i take error is that Cannot find local variable 'OpenCVLoader'. Why am I getting this error. How can i fix it.Can you help me please. This is important…

sedaylmz64
- 1
- 1
0
votes
0 answers
Tess-two + "tessdata_fast" : crashes
I am using tess-two for OCR.
The version I use is : https://github.com/alexcohn/tess-two
Code:
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
baseApi.init(pathfiles, language);
…

user1974065
- 1
- 1
0
votes
0 answers
Why OCR Tess-two only numbers doesn´t works?
I´am using "rmtheis:tess-two" (tesseract) for identify numbers (only digits), but this don´t work.
My code:
import com.googlecode.tesseract.android.TessBaseAPI;
...
mTess = new TessBaseAPI();
//…

Xococode
- 1
- 1