Questions tagged [tess-two]

146 questions
2
votes
1 answer

Tess two and tessdata folder

I am developing an Android ocr app with the tess-two library. While testing I manually copied the tessdata folder in my test device but now I need a programmatically way to do it. How the other apps do? Is it necessary to copy the folder or can I do…
Enry_h2o
  • 31
  • 1
  • 1
2
votes
1 answer

Tess-two OCR not working

im trying to get text from an image using tess-two on android. But its giving me a really bad result 01-16 12:00:25.339: I/Tesseract(native)(29038): Initialized Tesseract API with language=spa and like 30 seconds later it shows this as result…
Nanoc
  • 2,381
  • 1
  • 20
  • 35
1
vote
3 answers

Tesseract for License Plate (especially Korean version)

I'm working on my project for License Plate Recognition using OpenCV & Tesseract. I use OpenCV to change original image to processed image so that Tesseract can read it well. For example) Original Image Processed Image But the result shows…
Jagpaw
  • 75
  • 1
  • 5
1
vote
0 answers

cannot find -latomic clang++.exe

I am trying to use tess-two to OCR text in image using android by following this tutorial. After I installed android-ndk and add folder path to environment variables, I got error when I tried to use…
yasser93
  • 53
  • 1
  • 11
1
vote
1 answer

Android NDK: iostream file not found

I have tried quite a lot of suggestions regarding this problem, but none seem to solve my problem. This is what I am giving as a command: C:\Users\{name}\Desktop\MyApplication\libraries\tess-two-master\tess-two\jni>…
Akriti Anand
  • 166
  • 3
  • 17
1
vote
0 answers

Tesseract (tess-two) recognising symbols and retraining dataset for a few characters?

Sorry for bothering you but I'm just a beginner with tess-two. The question I want to ask is I have been trying to figure out the characters/symbols that are included in the eng.traineddata but haven't been able to find it. Could anyone guide me in…
1
vote
1 answer

bytes per pixel, bytes per line - How to use function nativeSetImageBytes in tessbaseapi.cpp of tess-two?

we are parsing an image showing a textsnippet which has a resolution of 2121x105 px. In Java we have the following code to get an byte array (one of our constraints is to work with a byte array here): import…
Alexander Belokon
  • 1,452
  • 2
  • 17
  • 37
1
vote
0 answers

Android error "Fatal signal 6 (SIGABRT), code -6 in tid 9961 (ple.myApp)" when using tesseract

I get the above error when attempting to init a TessBaseAPI object to do some OCR. I supply it with the path to the parent directory of "tessdata". I'm new to android so not very sure what else to provide besides the snippet. This error occurs…
felisimo
  • 198
  • 14
1
vote
1 answer

Tesseract in android (Tess Two): Application crashes while using nep.traineddata and Input from Camera is not working

I am not much of an expert.I am using tesseract (tess-two) for developing an android application for my college project. The application crashes when I select the Nepali trained data. *The application works only with Image selected from gallery. The…
Thanos
  • 11
  • 5
1
vote
1 answer

Exception in onSurfaceTextureUpdated when Thread.start() is invoked

I'am writing Tess-two based OCR system for android and stumbled upon strange obstacle. I actually use TextureView connected with deprecated Camera and when I try to execute this code on my Huawei P8: @Override public void…
1
vote
0 answers

In Andriod, using tess-two OCR, is it possible to enable opencl?

I'm currently working on a self-proposed project. It involves tess-two, an Android friendly version of the tesseract OCR engine. As of now the application works, but I want to add in GPU usage capabilities. I've been able to compile tesseract on…
1
vote
0 answers

Android application and java application produces different results for same image

I am developing OCR application for two different platforms. Android Windows I am using android studio for android application development using Tess-two library version 5.4.1. Following is my code that I am using for text recognition from…
1
vote
0 answers

OCR works fine on real android device but it does not work on android emulator

i am developing a simple text recognition android app (OCR) using TessBaseApi. it consists of 2 buttons . one button is used to upload an image from gallery and set it to an imageview(image that contains some text ) and the second button returns…
1
vote
0 answers

tess-two Android Studio app has stopped at data path

I am starting off simple with tess-two in Android Studio (after I managed to import the pre-compiled version of Tesseract into my project!) so I keep adding single lines and moving forward... In strings.xml under values under res, I have defined the…
user285372
1
vote
1 answer

Compiling Tesseract OCR library for Android Studio

I am still confused about how to build a working tess-two Android Studio project for using Tesseract OCR, despite several posts on it. There is a pre-built version available, whose "Usage" section of the "ReadMe" says we can do this by simply adding…
user285372