I'm not using any other libraries, I'm just sending a Bitmap to
setImage() in TessBaseAPI. For image capture, I used the camera code
from the ZXing Barcode Scanner.

During the "continuous preview," the OCR has already been performed by
the time you see the preview text, so there's the impression of fast
OCR after you click the shutter button, but really it's already been
performed by that point. During the preview, the "time required"
number you see at the bottom of the screen is just the time needed for
setImage() + wordConfidences() + meanConfidence().

I think you can make it work efficiently using setImage() and storing
as a String before packaging into JSON.

On Sep 30, 4:39 pm, dev751 <[email protected]> wrote:
> Hi Robert,
> How do I get an efficiency and speed of recognizing text through OCR
> like your app? Did you mix up a lot of libraries? is it achievable
> through tesseract android tools alone?
>
> I am just trying to obtain a string through OCR but not translate it
> and instead send it to a server for further processing? So, I suppose
> I just need a way to efficiently recognize the text and store it
> before I send it as a JSON object! Any suggestion on that?
>
> Thanks !
>
> On Sep 27, 1:25 pm, dev751 <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi Robert
> > Thanks for providing the link, I will try that once I get back home.
> > Also I would be eagerly waiting for your code release so that I can
> > understand the flow of things a bit better!
>
> > On Sep 26, 8:05 pm, Robert T <[email protected]> wrote:
>
> > > Yes--you need to use the NDK in order to use Tesseract Android Tools.
> > > There are some instructions for getting started here:
>
> > >http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-and...
>
> > > In a few weeks, once I get the code cleanedup, I'll be releasing the
> > > source code for my OCR Test app to Github. I also plan on open
> > > sourcing my fork of tesseract-android-tools that provides a couple
> > > additional Tesseract functions through JNI.
>
> > > The code for my app is a bit complicated, though, so I think the above
> > > instructions are a good starting point.
>
> > > On Sep 25, 12:41 pm, dev751 <[email protected]> wrote:
>
> > > > Hello Everyone!
> > > > I am a university student and I saw this ocr test app posted by Robert
> > > > Theis (https://market.android.com/details?
> > > > id=edu.sfsu.cs.orange.ocr&hl=en) and would like to make a similar app
> > > > in order to get some experience with ocr on Android. I have a Nexus S
> > > > and some experience with Android app development using Android SDK.
>
> > > > I wanted to ask that if I want to use Tesseract Android Tools (http://
> > > > code.google.com/p/tesseract-android-tools/) then do I need to setup
> > > > Android NDK for that?
> > > > Also  How do I use this tool?
> > > > It would be really nice if someone could provide a step wise approach
> > > > to use this tool?
>
> > > > Also if there is an alternative approach then please direct me there!
>
> > > > Thanks

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to