I used my photo camera to "scan" a heavy dictionary. I tried to have flat images by pressing the margins of the pages with my fingers.
The color of the background is (normally) black and my fingers have different colors from the color of the page margins.
My questions is: Is it possible to apply Mathematica photo tools to automatically remove the finger tips from the scanned pages?
For experiments, you can freely use the following photo
img = Import["https://i.stack.imgur.com/oY9cp.jpg"]
ImageLines
) to find the orientation of the text and correct it to make all the pages horizontal. Then you can whiten the background and re-pad the margins to your desired thickness. $\endgroup$