An OpenCV program constructing the recognition feature of the app "ScannerPro". It extracts the main document object from an image and adjust it to A4 size.