Questions tagged [tess-two]

146 questions
0
votes
1 answer

Android studio Can't create a new directory on sdcard?

I'm useing a library called scanlibrary to scan the photo and then pass it to tess-two to perform the OCR process. The problem is that the directory "ScanDemoExample" is not being created thus the tessdata files aren't copied and when I run my…
engineering student
  • 233
  • 1
  • 3
  • 14
0
votes
1 answer

Android studio is not importing file

I am developing app that is text detection using ocr. I get the source code from https://github.com/GautamGupta/Simple-Android-OCR. When i am using latest android studio. I didn't get the import file of TessBaseAPI. I try add tess-two to project…
fazil tm
  • 299
  • 1
  • 5
  • 23
0
votes
1 answer

Junk results when using Tesseract OCR and tess-two

I have developed OCR Application using Tesseract OCR Library and referred from the following Links. android-ocr tesseract But I am getting junk data as results sometimes. Can anyone help me what to do further to get accurate results.
0
votes
1 answer

Cropped image not working with tess-two

I am creating an app that can capture image through camera and can extract the text in the image using tess-two library of android. The code works fine until I added the option of cropping the image. After cropping the image the error occurs on the…
Akshansh Jain
  • 297
  • 1
  • 5
  • 19
0
votes
1 answer

How can I be Android tesseract Increasing recognition?

I am developing an Android OCR. Using tess-two in the Android made the OCR. I have downloaded the 'traineddata'(tess-two) file in from here. I wanted to increase the recognition performance of 'traineddata' files. But I found code only for iphone or…
ro Ro
  • 123
  • 10
0
votes
1 answer

How to build Tesseract OCR library for Android Studio?

I was trying to build the tesseract ocr library for android studio, i used the tutorilas present on the internet they contains some commands that to be run on cmd. But, the problem is that i am not getting how to exactly run these codes because i…
Aakash Patel
  • 1
  • 1
  • 2
0
votes
1 answer

Tressact Arabic OCR app gets stuck

I've followed these links: http://gaut.am/making-an-ocr-android-app-using-tesseract/#comment-184181 http://gaut.am/making-an-ocr-android-app-using-tesseract/ to make an OCR app on android studio. The app works perfectly fine when i include…
Areeba Kamil
  • 23
  • 1
  • 7
0
votes
1 answer

NDK compile warnings on OCR tesseract libraries for android

I am trying to compile android NDK version of OCR tesseract libraries tess-two but I am confused why I am getting the following warning. I have just downloaded the library from the github and trying to compile using NDK…
wolvorinePk
  • 1,760
  • 5
  • 36
  • 67
0
votes
1 answer

Android tess-two ndk-build keeps failing with 'Error 87' on libtess.so

I have been trying to compiling the tess-two project for android but it keeps failing. I have tried chaning the 'command' like this commandLine 'C:\Users\user\AppData\Local\Android\android-ndk-r10e', '-C',…
Ayanami
  • 25
  • 5
0
votes
1 answer

Android - Path to Raw folder in the Res folder not found

My Package is: com.abdulwasaetariq.odnvt. I have a folder named tessdata in res/raw/ In the Tesseract API, there is this init function whose documentation and prototype is: /* @param datapath the parent directory of tessdata ending in a forward * …
0
votes
1 answer

Best Tess-two configuration to get optimal recognition results?

I'm currently working on an android app utilizing the open source OCR library "Tesseract" to make an app for receipt recognition. I've gotten the library working with the "Tess-two" fork of Tesseract. The problem I'm having is that the recognition…
0
votes
3 answers

Android NDK ndkbuildFailed

I tried to build android app with JNI and NDK by using tess-two but i keep getting this error. i'm using Android Studo 2.0, i've installed android ndk r11c. gradle build successfully but keep getting failed to build APK. this is my android.mk file…
ranxrose
  • 245
  • 1
  • 2
  • 10
0
votes
1 answer

How to solve com.library.android error?

apply plugin: 'com.library.android' buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:2.0.0' } } The android studio says plugin with id com.library.android is not…
lost
  • 1
  • 1
0
votes
0 answers

How to find confidence level of OCR text extracted using tesseract in java?

import java.io.File; import com.googlecode.tesseract.android.TessBaseAPI; public class ConfidenceLevelFinder { public static void main(String[] args) { TessBaseAPI baseApi=new TessBaseAPI(); …
0
votes
0 answers

error LNK2001: unresolved external symbol when linking with tesseract

I cannot solve this linking problem LNK2001 in MSVC. What is the root cause of this problem? Is it come from the friend class? Or I have called the function in a wrong manner. I not have much experience about C++. Please help. Header…