Archive

Posts Tagged ‘NDK’

Conclusion of the Android Components Class

September 26, 2012 Leave a comment

The Android Components Class is now over, so this series on Android Requirements is complete.

The purpose of the posts was to explore software modeling thought the Eclipse Modeling Framework (EMF). That was achieved.

I’m happy to report that I did get a very good grade. However there are more to do. Eventually I do intent to return to this project and complete the OCR component. Read more…

Building the Tesseract NDK library for Android

August 4, 2012 11 comments

My project for my Android Components graduate class at FAU (COT6930) was a component to allow programmers better access to the Optical Character Recognition (OCR) package Tesseract maintained by Google.

The issue with this library, is that it is written in C and C++. It contains not only the OCR library, but also the Leptonica Image Processing Library.

Available Resources

We have the Android Native Development Kit (NDK) that offers the means of utilizing code written in C and or C++ in our Android programming. However the process of compiling and preparing those libraries is very complex, lengthy and error prone. Below I describe the process; however after my component will allow users to have a more direct access to the OCR libraries onĀ  their own Android development.

We have available the excellent work of Robert Theis with his tess-two project. Tess-two uses the Tesseract project and adds the Android Java Native Interface (JNI) to allow compilation for the Android platform, complete in an Eclipse project.

Read more…