how to use tesseract OCR for windows XP for eclipse? - android

I am trying to develop my first OCR app using tesseract. I'm developing under Windows XP using Eclipse and targeting Android 2.1+
do i need cygwin?
do i need the android ndk?
--->Through vast research and consultation, I realize that you dont need cygwin or ndk either. But still, the code and procedure on Gautams blog gives error. I tried building the app and ended but with an application package file that does nothing but force closes when I press the "OCR!" button on the app. Any idea??

No, you do not need Cygwin.
Yes, you need to have the Android NDK installed.
Gautam's tutorial is the best tutorial for using Tesseract OCR on Android.

Related

How to develop android apps on linux without android studio?

most guides on building applications for android are for android studio or outdated eclipse plug in so i was wondering is there a way to build a c++ android application without using android studio on Debian?
Eclipse is a good one to devolop android apps. If you don't like Eclipse than you can try Phonegap. You can follow the guide if you have trouble to install Phonegap in Linux.
You can also try QT.
There are also many websites where you can create apps like:
Thunkable
Appsgeyser
Appypie
Appypie, Appsgeyser, Thunkable etc.

How can I install and use Python (with Kivy) in android studio?

I am a fan of Python and I would like to develop android apps using Kivy, I could just use the default Pyhton IDLE but while I was searching in youtube for kivy tutorials I realise that one guy was using android studio not with Java but with Python (and kivy)!
Well after some research in the web nobody knows nothing about it and here I am asking this: 1)How can I write android apps using android studio with Python or simply How this guy did this?
For those who want to know, here is the kivy tutorial that runs Python inside android studio!: https://www.youtube.com/watch?v=VDRa5RZx-X0&list=PLZocUikpczs_E9lPp4uzA8c8203sW-4Ux
The person who made the tutorial is using PyCharm, not Android studio.
PyCharm is the python version of Intellij (both developed by JetBrains), on which Android Studio is largely based, hence they look so much alike.
You cannot do python for android in Android Studio.

Installing scikit-image on Android

Can I run scikit-image on Android? Do I need a specific version of the OS? I haven't been able to find a doc or tutorial explaining its installation on the platform. The instructions only mention Debian and Ubuntu. Would I need to compile from source?
Scikit-image is strictly a Python library, and Android runs on Java.
As an alternative, I would suggest JavaCV if you want something like scikit-image. It's a Java port of the OpenCV library, which is very similar to what you are looking for. https://github.com/bytedeco/javacv
However, if you are intent on using scikit-image, you can try using Jython, although it may be buggy when used with Android. http://www.jython.org/
You can use Cygwin if you want to install with Linux commands on a Windows computer. https://www.cygwin.com/

Using mixed Java/Ruby code in an Android app?

Is it possible to write part of the Android app in Ruby and then, using JRuby and Android Tools, compile the code to run on Dalvik VM? I don't need any run-time support for interpreting Ruby code, just to run one Ruby module. It would be nice if the compiled code is minimal, to not drag along the entire Ruby standard library.
How to configure some IDE (like Eclipse) and Android Tools to support that?
See these/three/answers (on stackoverflow) regarding #CharlesOliverNutter 's Ruby-like Mirah language that runs on the Dalvik VM.
Have a look at Ruboto.
Some time ago I was working on a debug lib for android that was using it but I got out of time. I looked at the ruboto-irb source code a lot.
The major downside I came up is that it needed to have ruboto installed on the device.

How to install OpenCV in Linaro Android on Pandaboard

I'm doing a project using OpenCV 2.3.1 and I want to embedded this on a pandaboard. So I'm looking for someone who can help me to instal opencv on Pandabord using Linaro Android 11.11 . If you have some link or if you can advise me I would appreciate.
Thanks in advance.
Best Regards
If you want to run openCV on android I would suggest you learn about the java native interface, JNI. I have developed image processing algorithms on Android cell phones. You want to get Eclipse and install the SDK :http://developer.android.com/sdk/installing.html
After that you need to install the Eclipse NDK in order to develop C/C++ code in your java apps, this gave me about x5 increase in performance: http://developer.android.com/sdk/ndk/index.html
Finally you need to download and link the openCV C/C++ library to your projects:
http://opencv.itseez.com/doc/tutorials/introduction/android_binary_package/android_binary_package.html#android-binary-package
You should also check out the google Play Store, they have some cool OpenSource projects you can look at.

Categories

Resources