I’m trying to create a camera activity for taking photos to be OCR’d. Here’s what I wish to accomplish:
- A resizable box in the middle of the camera preview to indicate which particular area will be created into a Bitmap and processed by the OCR engine.
- Continuous autofocus (done)
I’m using tesseract btw.
If anyone would care to point me to some reference / examples / tutorials, that would be great.
There’s a viewfinder rectangle here:
https://github.com/rmtheis/android-ocr/blob/master/android/src/edu/sfsu/cs/orange/ocr/CaptureActivity.java