Questions tagged [tess-two]

146 questions
0
votes
1 answer

Why does tess-two show different result than tesseract for windows (by UB Mannheim) for the same image?

I am using Tess-Two for creating an OCR for Android. I used the same image for conversion, but the result is very different from the tesseract for desktop. The desktop version of tesseract gives a better result. I am using the following lines on…
0
votes
1 answer

How I can load digits traineddata in tess-two?

I downloaded tess-two for testing car plate number recognition, but its accurate as the alphabet characters so downloaded trained digit files from here. The problem I could not find a way to load it, and I did not find a tutorial about, would kindly…
Marvix
  • 179
  • 3
  • 16
0
votes
1 answer

Android Tesseract Error. Data file not found at

I'm studying android using NDK with opencv. I success using ndk. So I get usable data ( I mean the data was done by canny.) When I use Tesseract, Data file not found at /storage/emulated/0/tesseract/tessdata/eng.traineddata This Error is…
강지수
  • 21
  • 6
0
votes
0 answers

TessBaseAPI.Init Error

When I use traineddata different than "eng.traineddata", for example "7seg.traineddata" from here: 7seg traineddata files my app crash with error: fseek(data_file_, static_cast(offset_table_[tessdata_type]), SEEK_SET) == 0:Error:Assert failed:in…
Kacper
  • 620
  • 1
  • 7
  • 16
0
votes
1 answer

Coordinates of a character/word [OCR app]

So basically, I'm creating an android app (using tesseract and OpenCV) which when given a word after pre-processing and scan steps, draws a rectangle around that word - basically "finds" the word and marks it. However I'm wondering how to get…
0
votes
0 answers

Chemical displayed formula recognizer is it possible to get location of charcter from google vision?

I want to create an app that you can take a photo of a chemical displayed formula and it will give you its name and formula. I want to use google vision, but I am not sure if google vision can recognize characters or can it only recognize words?…
Nima Hojat
  • 31
  • 7
0
votes
2 answers

Tesseract TessBaseApi init() Error

I am using rmtheis tess-two depencies in my project. Have read many tutorials but nothing helped me. package com.example.shaur.ocrapp; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import…
0
votes
1 answer

I am using tess-two for image to text conversion

i try to take photo from gallery and stored in viewImage and change to text, its loading for a long time and prompting not responding, if i tried with small size jpg file its converting. `findViewById(R.id.gallery).setOnClickListener(new…
0
votes
1 answer

Types of filters used by Tesseract

I'm working on testing how much can I improve results of Tesseract OCR recognition by different filters used on image preprocessing. But to do so accordingly, I need to know what type of filtration Tesseract uses by itself. By seeing results most…
Kamajabu
  • 596
  • 1
  • 5
  • 19
0
votes
2 answers

How to fix UnsatisfiedLinkError for tesseract in android

i am trying to use "tesseract" for android i am using following libraries compile 'org.bytedeco.javacpp-presets:tesseract:3.04.01-1.3' compile 'org.bytedeco:javacpp:1.3.2' i have the train data in assets. my source code if the main activity is…
MD TAHMID HOSSAIN
  • 1,581
  • 7
  • 29
  • 54
0
votes
1 answer

Tesseract's output is completely wrong and gibberish

I am using Tesseract (tess-two) library in my Android Application for real time text detection. My code : public void onPreviewFrame(byte[] data, Camera camera) { try { Camera.Size previewSize =camera.getParameters().getPreviewSize(); …
0
votes
2 answers

Tesseract traineddata path

I am trying to use tesseract-ocr in my android app. When I am trying to init() I get IllegalArgumentException because in this folder there is no 'tessdata' dir! Here is my project structure. project structure Here I used InputStream and…
user5553995
0
votes
1 answer

Tesseract recognizing Arabic text in android

I'm developing an application which I use Tesseract OCR to recognize a text in an image. I tested it for English and Japanese and it works fine, but when I tried Arabic the application crashes before even launching! Why? What's wrong with the…
Lama Tatwany
  • 95
  • 5
  • 16
0
votes
0 answers

Shared libraries give problems after upgrading ndk-14

I'm working on project, and integrated card.io and tess-two libraries. I have already owned these libraries, and use for reading national ID and other ID cards. Before upgrading to ndk-14, everything worked well. But after upgrade, i got lots of…
JavadKhan
  • 625
  • 6
  • 18
0
votes
2 answers

OCR text recognition wrong text displaying

I am new to tess-two library. I am able to add that library and getting image from drawable and its even converting, but I am getting wrong text as below: Here is my complete code: Bitmap image; private TessBaseAPI mTess; String datapath =…
sanjana
  • 220
  • 1
  • 15