Questions tagged [tess-two]

146 questions
3
votes
6 answers

how to reduce android app size?

First of all , I am using android studio for development of android app. I have build an android app for OCR using tesseract library. The app is currently working great and giving desire output but my problem is with its size. The size of the build…
Rahul Bhavani
  • 311
  • 2
  • 10
3
votes
0 answers

How does the Tesseract variable "save_blob_choices" works?

So I've been trying to use tesseract ocr, (specifically tess-two) for an android project to scan some symbols. Everything works fine but sometimes the recognized String is returned as null. One of the solutions I found was to set the variable…
Samzerge
  • 96
  • 1
  • 8
3
votes
1 answer

Enhance readability of TessBaseAPI.getUTF8Text()

I tried to use Tesseract OCR via Tess-Two in Android to recognize text from an image (developed using Android Studio). In gradle, I added the following line into dependencies section: compile 'com.rmtheis:tess-two:5.4.1' Then, in the main…
Raptor
  • 53,206
  • 45
  • 230
  • 366
3
votes
1 answer

How can I train Tesseract on Windows 7 with tess-two downloaded and built?

So far, i have built an ocr app, using tess-two. In order to build the app, I downloaded and built the tess-two library (thanks rmtheis!). I need to improve OCR output, because the results have less than 20% accuracy levels. I am working with only…
GeorgeF
  • 85
  • 1
  • 5
3
votes
2 answers

Error:Configuration with name 'default' not found in Android Studio

I cloned the repo from Git Hub, and did all the stepts mentioned without any errors. Next i started a new project and added libraries under my app as mentioned in https://coderwall.com/p/eurvaq/tesseract-with-andoird-and-gradle. When i add…
3
votes
0 answers

Can't do OCR with tess-two on Android Studio

everyone. I'm trying to include tess-two OCR library to an Android project but some issues occurred. [What I'm trying to do] Do OCR with tess-two (tess-two github link) on Android Studio. (I'd like to develop some OCR apps) [Where I'm stuck] The…
dixhom
  • 2,419
  • 4
  • 20
  • 36
3
votes
2 answers

tess-two can't find libpng.so

I have followed building instructions for tess-two on Github I build tess-two using NDK successfully and imported the library I am trying to run the test application provided on the same repository but whenever the application starts it gives the…
3
votes
1 answer

Tesseract character recognition problems in Android (but not on iOS?)

I've build an application that uses Tesseract (V3.03 rc1) to identify some specific text strings. These are, unfortunately, printed on a custom font that requires that I build my own traineddata file. I've built the application on both iOS (using…
dedual
  • 153
  • 2
  • 10
2
votes
1 answer

How do I properly extract text and boxRects from tess-two?

I have a TessBaseAPI() object with a returned object. I want to extract the words with their bounding box but can't seem to get it working. val Text = tesseract.getUTF8Text() gives me the text. val Words = tesseract.getWords.boxRects gives me the…
Axel Eriksson
  • 105
  • 1
  • 11
2
votes
0 answers

Adding tess-two library to an android qt creator project

I'm working on an android ocr project with qt creator, the goal is to use tess-two library for android. I've downloaded the tess-two library and run the ndk-build command, after that I've copied the tess-two folder into my android-source folder…
imad kimouche
  • 133
  • 1
  • 1
  • 10
2
votes
1 answer

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 31489 Tess-two

I have this error with this code public MyTessOCR(Context context) { this.context = context ; //initialize Tesseract API String language = "eng"; datapath = this.context.getFilesDir()+ "/tesseract/"; mTess = new…
Castiell
  • 167
  • 13
2
votes
1 answer

How to efficiently convert an Android Bitmap to a Leptonica Pix?

I'm trying to convert a Bitmap to a Pix. However, manually reading every pixel from the Bitmap and setting it in the Pix is too slow. Pix pix = new Pix(width, height, depth); for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { …
2
votes
1 answer

android tess-two OCR speed up and error

The OCR in my application is very slow How can I speed up my application and I have some error when the code executes This is my code of OCR public class ProcessImage extends AsyncTask { String OCRresult = null; …
Tim Chang
  • 27
  • 1
  • 4
2
votes
1 answer

Tesseract OCR with Kivy App

Is it possible to integrate Tesseract-OCR (or Tess-Two) with a Kivy app? I'm looking to create an Android app for OCR-based text recognition using the Kivy Framework. I've worked with the Tesseract API on my PC for sometime and am wondering if there…
CRTejaswi
  • 35
  • 5
2
votes
0 answers

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pngt

I am new android application developer.I Integrate ocr for my app but when I run my app I got Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pngt,lept,less file. I import this project from github…
androidleraner
  • 107
  • 1
  • 7
1
2
3
9 10