CPC G06V 40/40 (2022.01) [G06T 7/248 (2017.01); G06T 7/64 (2017.01); G06T 7/74 (2017.01); G06V 20/46 (2022.01); G06V 40/161 (2022.01); G06V 40/193 (2022.01); G06T 2207/10016 (2013.01); G06T 2207/20076 (2013.01); G06T 2207/20132 (2013.01); G06T 2207/30201 (2013.01)] | 20 Claims |
1. A face anti-spoofing recognition method, performed by a computer device, the method comprising:
acquiring face video data comprising a to-be-detected face;
detecting eye contours of the to-be-detected face from image frames of the face video data, and generating an eye contour sequence;
performing eye movement probability prediction based on the eye contour sequence, and generating an eye movement state sequence, the eye movement state sequence used to represent a movement condition of the eyes of the to-be-detected face, and the eye movement state sequence comprising a plurality of eye movement probabilities distributed in a time domain;
acquiring a first dataset and a second dataset in the eye movement state sequence, the first dataset comprising first N eye movement probabilities obtained after arrangement of the eye movement probabilities in the eye movement state sequence in descending order, and the second dataset comprising M consecutive eye movement probabilities comprising a maximum value in the eye movement state sequence, both N and M being positive integers;
determining a probability of existence of an abnormal blink behavior of the to-be-detected face according to the first dataset and the second dataset; and
determining that the to-be-detected face is a real face in response to the probability being less than a predetermined threshold.
|