I have a camera in my android app. with which I can take pictures and send it for OCR using Tesseract. But, the results are not at all accurate.
So, I want to reduce the scannable area by customizing the camera view. For that, I need a overlay rectangle, so that when a picture is taken, only the image inside the overlay will be sent to OCR.
How can I put this overlay this overlay in camera view. I need some kind of start.