some checks for two fingerprint image based on template matching