Corrects perspective distortion and enhances contrast in smartphone scans of unfolded paper mail envelopes to meet official submission requirements.