ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
This library is awesome, especially for edge detection. But the quality of saved image is not so good. Is there any way to enhance image quality?