How to use Tesseract-android-Tools - android

I am having the tesseract-android-tools 1.00, please help me to use the interface TessBaseAPI.
I juss want to pass one .jpg image to an android application which is having some text as a part of image. then through this tesseract engine i want to extract those text into editable format..
please help to create this application in android...

Did you ever search in the internet for a manual? There are a lot of hints. Recently someone wrote a small tutorial.
Even it is for Ubuntu, but I think it gives you a clue how to proceed.
If not, your operating system is needed.
I tried compiling the tesseract-android-tools (tat) with Windows and Cygwin and failed. Some other succeeded. Then after I compiled the tat with the MAC OS and Terminal and succeeded, by using the NDK 5b.
So first have a closer look in the internet and then specify your question, so appropriate help can be posted.
Best wishes,
Volker

I recently used tess-two, which is a fork of tesseract android tools. Step-by-step tutorial on how to setup your development environment, and how to use the library with android, is provided at the readme section here - https://github.com/gorjanz/com-vodi-smetka.android

Related

How to compile and use FFMPEG library in Android Studio?

i'm newbie in Android Developing. I need use some video library to decompose my video. I have chose FFMPEG, and faced with a question - how integrate ffmpeg to my application and how to use it? I have Android Studio on Windows.
The main problem is this:
FFMPEG is a binary, and there are no nice, user-friendly libraries that mimick it's behaviour out there...
One attempt is this: https://github.com/RkShaRkz/android-ffmpeg (the avatar gives me away)
Another one is this: https://sourceforge.net/projects/ffmpeg4android/files/20121012/
Alot of "solutions" revolve around either
1) launching the FFMPEG binary (process) and piping commands to it.
2) calling into FFMPEG libraries
But noone has yet made a nice FFMPEG-alike SDK library which lets you use everything it offers programatically in Java nor Android.
This was too long for a comment so thats why i posted it as an answer, i hope this doesn't get downvoted to oblivion for not providing a concrete answer/solution to your question.
i resolved it please follow this...
firstly go in File--->New-->Import module--> than Select FFMPEG Folder from your Computer.
after that it will be added in same hierarchy of your Project,
after again go into the File-->Project Structure-->app--> dependencies--> click on plus icon -->select 3).Module Dependencies Now in your list its been shown your Library select it
this solution is working for me
if not solved than please tell me i can help you if possible

Openni, Android, and PrimeSense Setup

I am trying to develop a simple Android application (running on nexus 10) that will connect to a PrimeSense camera. From my research it seems that Openni is the way to go; however, I'm having a hard time figuring out what I need. When I download the Openni software and install it I get a whole bunch of different files but I'm unable to find a simple explanation of how to do a simple 'hello world' type application:
What openni jars do I need and where can I find them?
How do I configure my Eclipse/Android Studio project to include these jars.
Are there any other files that I need besides those jars: drivers..?
I just started Android dev and I've never used PrimeSense nor any other 3D scanning cameras so maybe I'm just missing something obvious?
Could someone point me in the right direction? I haven't been able to find anything on the Openni website that would help.
Thanks in advance.
The following is a simple tutorial on how to proceed. It's straightforward
http://www.hirotakaster.com/weblog/openframeworks-8-1-and-openni-2-2-on-android-tutorial/

How does android source code work?

I have download a set of android source code, which has folders such as "bionic, bootable, build, dalvik, development, frameworks, hadware, packages, prebuilt" and so on. When I browse the whole code, wonder how "import android.preference.PreferenceActivity;" works in Settings.java(D:\android-srce\Google-source\packages\apps\Settings\src\com\android\settings\Settings.java). I guess there is a android.jar file somewhere after compilation. But how does Settings.java import PreferenceActivity correctly?? I'm a beginner in Android, please help me.
Sounds like you have downloaded the source code to the Android OS. If you want to build your own ROMS then you need to study about building the OS for a particular hardware platform. This is not trivial.
If you want to build an Android app that runs on an Android device then you want to download the SDK instead - start at Android SDK and follow your nose, buy a book, read the sample code.
There is not a lot of information how to change parts of Android. However, you can read information that is connected with the aosp tag. The first cite is source.android.com After the installation of android build system you can see video from marakana group. You'll find a lot of valuable information there.

What are Steps to grab the samples from AndEngine Repository

I had tried to grab the samples of AndEngine using Mercurial eclipse plugins, but that was firing some sort of error to me again and again. So, can someone please let me know what could be the easiest way to get the AndEngine examples or samples from the repository. I am working on Windows.
Thanks.
Update:
Change the Mercurial client from the built in one to TortoiseHG (in the Eclipse preferences).
Previous Answer:
Plan A: Make sure to use native Mercurial with EclipseHG (not the one which ships with the plugin). You can find the settings the preferences dialog. Last time I tried, the built-in version was broken. If it fails again, copy and paste the error message.
Plan B: Try TortoiseHG
Plan C: Give us a concrete error message. (Which should actually be Plan A ;) )
You download the zip from https://github.com/nicolasgramlich/AndEngineExamples

How do I see the core Android classes?

I am trying to look inside a couple of Android core classes to see about overriding some methods. I have looked into getting the Android source code, but the process described on the Android dev site is all about installing and setting up some kind of development environment. This is not necessary to me. I just want to open a class or two in a text editor and look at its contents. Does anyone know if this is possible without going through the multitude of steps described on the Android dev forums?
The easiest way is to use Google Code Search. You just have to try a search like Activity.java android and you can see the source code of that class. It even has an outline inspector:
You can download the entire source with git our just look it up as a reference on the git site. Here is a link to the sdk code:
https://android.googlesource.com/platform/frameworks/base
Another option is to use http://grepcode.com/ and perform a search such as "android ViewGroup". I've really enjoyed the style of using grepcode.

Categories

Resources