Hi, I was trying to set up the same environment on my Mac. I got some errors:
Gautam-Mac:tesseract-android-tools Gautam$ ndk-build Install : libjpeg.so => libs/armeabi/libjpeg.so Compile++ thumb : lept <= box.cpp In file included from //Users/Gautam/Documents/workspace/tesseract- android-tools/tesseract-android-tools/jni/ com_googlecode_leptonica_android/box.cpp:17: //Users/Gautam/Documents/workspace/tesseract-android-tools/tesseract- android-tools/jni/com_googlecode_leptonica_android/common.h:22:24: error: allheaders.h: No such file or directory //Users/Gautam/Documents/workspace/tesseract-android-tools/tesseract- android-tools/jni/com_googlecode_leptonica_android/box.cpp: In function 'jint Java_com_googlecode_leptonica_android_Box_nativeCreate(JNIEnv*, _jclass*, jint, jint, jint, jint)': //Users/Gautam/Documents/workspace/tesseract-android-tools/tesseract- android-tools/jni/com_googlecode_leptonica_android/box.cpp:27: error: 'BOX' was not declared in this scope [... many more ...] Any idea why these are being caused? On Oct 15, 3:45 am, Robert T <[email protected]> wrote: > Try editing the makefiles per the instructions at the link you found. > > Alternatively, you could do the build on an Ubuntu VirtualBox VM on > top of your Windows system, and sharing a folder between Windows and > Ubuntu. Building like this on a VM seems to work well. > > On Oct 11, 1:55 pm, dev751 <[email protected]> wrote: > > > > > > > > > hey Robert > > Earlier you had provided me with this link > > -http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-and... > > > does this work on windows 7 as well? if not, what alternative approach > > can I take? > > > Also still waiting for your code for your magic app :) > > > On Oct 1, 3:47 pm, Robert T <[email protected]> wrote: > > > > 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 mixupa 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

