Comments (9)
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.
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.
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.
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.
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.
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.
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.
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.
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)
- PSM constants are incorrect HOT 1
- Add tests for Bitmap <=> Pix conversion
- Error in loading eng.traineddata (3.01) using com.android.content.res.AssetManager() HOT 6
- Can not figure out which word corresponds to which confidence value. Hope the output api is as rich as in tesseract C++ API. HOT 1
- Getting Fatal signal 11 error while capture line of numbers HOT 1
- Update to Tesseract 3.02 HOT 1
- Missing files for native build HOT 1
- Binarize Image in tesseract
- How do I use tesseract-andriod-tools?
- WriteFile don't work as expected
- ndk-build fail allheaders.h missing HOT 4
- ndk-build failure due to unsafe fprintf usage in tesseract source. HOT 1
- Assert failed when using tesseract with PSM_OSD_ONLY flag
- nativeSetImage not found
- ChoiceIterator
- Getting result words array
- javax.imageio.IIOException: ICC APP2 encountered without prior JFIF in Tesseract OCR
- root galaxy centra sch-7
- how to Image binarization
- error on compiling tessaract-android-tools ndk-build fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesseract-android-tools.