
This program goes trough a number of steps to detect photograps in a bigger image, and tries to estimate the angle of each found photo, in order to rotate them back to their orignal orientation.
More explaination might follow later.. for now I will just show a few of the intermediate images of the detection process:
Each column contains the steps used to process a single scan, the input image at the top, and the output images at the bottom, this process is fully automated.