Or a crop. In case you were wondering, I’m talking about cropping a picture, to garner greater accuracy in the OCR engine results. Sometimes we just don’t want to OCR everything!
To do this I had to have a separate intent to crop the picture and I used the “com.android.camera.action.CROP” activity for the intent and set the settings as follows:
// set crop properties
// indicate output X and Y
// retrieve data on return
This helped me generate a nice crop box with edit-able properties, unfortunately it is always a square and not editable. So I will have to figure out a way to make it rectangular. However, Sprint 2 is going well! Hope to get to the OCR Regex-ing soon! 🙂