Patent attributes
In a method for determining whether a finger is a real finger at an ultrasonic fingerprint sensor, a first image of a fingerprint pattern is captured at an ultrasonic fingerprint sensor, wherein the first image is based on ultrasonic signals corresponding to a first time of flight range. A second image of the fingerprint pattern is captured at the ultrasonic fingerprint sensor, wherein the second image is based on ultrasonic signals corresponding to a second time of flight range, the second time of flight range being delayed compared to the first time of flight range. A difference in a width of ridges of the fingerprint pattern in the first image compared to the width of ridges of the fingerprint pattern in the second image is quantified. Based on the quantification of the difference, a probability whether the finger is a real finger is determined.