Classification of captured and recaptured images to detect photograph spoofing