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.
As soon as ScanActivity is opened, native memory consumption keeps increasing until the app crashes.
I could not find the reason for memory leak.
Steps to reproduce
Any help would be appreciated.