Flatten the document, correct perspective and warping so it looks like a flat scanned document
Are you sure?