Straighten the document, correct the tilted perspective, make it well-aligned and properly positioned like a flat scan