Hi all,

For an app I'm developing I'd like to be able to perform optimizations to camera images to make it more suitable for text recognition. What I'm looking for is basically what DocScan does. If you use your camera to take a picture it detects the borders of the document and crops it to that. The user can change the borders if necessary.
Are there any open source components that can do something similar to that?