Split scanned photos

Scanned many photos at once? Get each photo as a separate, straightened image.