Using tesseract OCR in android - android-ndk

Can anyone please provide a clear instruction on using tessaract ocr as a library in android development. I'm currently developing an application to perform text extraction. I'm using cygwin to clone tesseract from github but i'm facing problem on "ndk-build" step. How to set my application project path in cygwin in order to make the ndk-build successful? NDK_PROJECT_PATH := $(strip $(NDK_PROJECT_PATH)) from build-local.mk in android ndk folder. PLEASE HELP ME

You may use Tesseract. It's powerful library and it has java wrapper Tess4j too.

Related

Android-NDK how to compile this code? | Beginner

A developer has published its code in GitHub for anyone who wants to create their server for SAMP Android (a project in development that allows them to play Android GTA online).
Code Link: https://github.com/4x11/SAMP-Android
I want to know which program to use and the right commands to compile this code. As far as I know, this is an NDK build code ..
You can start by reading the NDK guide.
https://developer.android.com/ndk/guides/
Then since the code makes use of the old ndk-build makefiles,
https://developer.android.com/ndk/guides/ndk-build
And the respective integration samples,
https://github.com/googlesamples/android-ndk/tree/master/other-builds/ndkbuild

Using Zxing Library in my aplication

I have seriously tried to find a method to integrate zxing library for my barcode scanning application and found some examples and tutorials, but they mostly concentrate on the code of integrating the project library. I have understood how to use it but my only issue is I cant seem to find a correct way to copy the new zxing library. Please can anyone guide me through which files to copy where or how to bind the project in Android Studio.
I believe you want to 'add' the zxing library in your Android Studio project.
If you are comfortable with using Gradle, just add the below line in your app's build.gradle file under dependencies.
compile 'com.google.zxing:core:3.2.0'
Build your project and then start integrating zxing by importing the required classes.
I hope this answers your question and solves your problem.

using Zbar library in Android project

I am developping an Android App in witch I want to use Zbar library functions to facilitate Qr code Scan. I am using Android SDK+NDK. I followed this tutorial. It worked pretty well until the last step, i don't manage to build NDK.
The error I have is :
fatal error: com_hae_zapp_Zbar.h: No file or directory.
I looked for this file but it seems unfound. Does anybody know how would I overcome that problem? Do they use Zbar SDK? ( I use the standard android SDK )
I`m not sure if this is the kind of answer that you are expecting, but if you are having problems trying to integrate ZBar with your application, you should try to use the DushyanthMaguluru / ZBarScanner library to simplify the use.
I have used this library in my application and took me about 20 minutes to be able to use the qrcode scanner.

Tesseract Development

I am quite new into application development.
Just wanted to ask you guys, How do I implement the source code from Tesseract inside Visual Studio that I could compile and run? What are steps I have to do to get it running? I can't seem to find the full project file for it. Thanks in advanced.
Have you tried the instruction for building on Windows from this page?
https://code.google.com/p/tesseract-ocr/wiki/Compiling
While a go I was in the same situation, Google Code was shutting down and the official Github Tesseract implementation for Visual Studio was really buggy, old and didn't compile.
This repository with a ready to go VS 3.02 tesseract implementation with Leptonica helped me:
https://github.com/charlesw/tesseract-vs2012
It has a documentation how to run it. But basically you have to open it with VS and run it. It will create the dll and libraries required to use Tesseract in a VS Project and the binaries ready to go using Command Lines.
If you need the documentation for Tesseract 3.02 or higher you can find it here:
http://tesseract-ocr.github.io/modules.html
The oficial forum is in google groups there you will find some examples:
https://groups.google.com/forum/#!forum/tesseract-ocr

Where can I find binarycreator in QT sdk for creating Qt Installer

I am creating Qt Installer for some QT application, When I gone through the Qt Installer Framework Manual at some point I found to rum binarycreator please see the image , but I am unable to find that binary file in Qt SDK, Please can any one help for this.
You can either build the Qt Installer Framework yourself following instructions from here, or download pre-built binaries for it from the official releases page, as specified in this wiki page.
Once installed or built, binarycreator is found in the 'bin' directory, e.g. E:\QtIFW2.0.1\bin.
My guess is that <location-of-ifw> means the Location of the Installer Framework, so that binary file must be part of the Installer Framework rather than the Qt SDK

Resources