1. A device, comprising: a biometric sensor; and a processing system configured to: receive, from the biometric sensor, an input image of a biometric; obtain keypoint locations of keypoints in the input image, wherein keypoints in the input image comprise local regions of interest in the input image; compute one or more anti-spoof metrics of the input image based on the keypoint locations; and determine whether the input image is a replica of the biometric based on the one or more anti-spoof metrics.