Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi,

The minimum sdk version needed is 2.2. If you try to deploy it on verison 
before 2.2. It crashes.

Original comment by [email protected] on 18 May 2011 at 4:02

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi, 

yes. I that is exactly the issue. still, more than 20 percent of active devices 
are pre 2.2 devices. 

Hence, the question is if there is any workaround to get it to work on pre 2.2 
platforms. So far, I narrowed it down to the gnustl_static library against 
which tesseract is compiled. 

Original comment by [email protected] on 18 May 2011 at 6:02

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi, using NDK version 6 solves the problem for Android phones pre 2.2. Good 
luck. Volker

Original comment by [email protected] on 17 Aug 2011 at 9:25

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi,

using NDK version 6 solves the problem for Android phones pre 2.2.
We tested it with a phone having Android version 2.1 and the OCR was working 
fine.

Best wishes,
Volker

Original comment by [email protected] on 17 Aug 2011 at 9:30

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi,

using NDK version 6 solves the problem for Android phones pre 2.2.
We tested it with a phone having Android version 2.1 and the OCR was working 
fine.

Best wishes,
Volker

Original comment by [email protected] on 17 Aug 2011 at 9:31

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi,

Was anyone able to successfully try this on Android Version 2.1 ? It works fine 
on 2.2 and not on 2.1...

Can you share the libraries and sample code for the version that works on 2.1 ?

Best regards,
vkasirajan

Original comment by [email protected] on 14 Oct 2011 at 6:56

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi vkasirajan,

If u read me comment above, you would have read that using the NDK version 6 
provided on the Android developer website will solve your problem. Just 
recompile the same libs you use with NDK 6 and it should run und 2.1 and below.
We did just that and for our project it is working. I am sorry that we can't 
provide any source code or libs.

Best regards,
Volker

Original comment by [email protected] on 16 Oct 2011 at 9:40

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hi Volker,

Thank you for your reply. As you suggested, I tried to recompile the libs using 
the NDK 6. I get the following error:

Unable to dlopen(/data/data/com.android.mytest/lib/liblept.so): Cannot load 
library: link_image[1721]:    30 could not load needed library 'libjpeg.so' for 
'liblept.so' (load_library[1051]: Library 'libjpeg.so' not found)

I took libjnigraphics.so and tried to load it using System.loadLibrary. This 
gives "UnsatisfiedLinkError". I used the 2.1 emulator as well as a 2.1 device. 
Both gives me the same errors.

All the library files are properly copied into the respective paths...

Any help, will be greately appreciated. I have attached the logs...

Best regards,
vkasirajan

Original comment by [email protected] on 16 Oct 2011 at 5:39

Attachments:

from tesseract-android-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Removed support for APIs < 8.

Original comment by [email protected] on 11 Sep 2012 at 8:06

  • Changed state: Fixed

from tesseract-android-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.