01
Auto-straighten
Finds the four corners of the sheet, crops away the desk, the shadow and the black border, then corrects perspective. It only acts past 0.5° of tilt — a straight photo is left alone. If it can't find the sheet, it falls back to the original and moves on.
45 out of 50 or morestraightened in one pass