| CPC G06V 40/40 (2022.01) [G06T 3/40 (2013.01); G06T 7/11 (2017.01); G06T 7/50 (2017.01); G06V 10/44 (2022.01); G06V 10/764 (2022.01)] | 16 Claims |

|
1. A method for extracting biological features, performed by a computer device, the method comprising:
generating an image sequence according to a biological feature image, the image sequence comprising the biological feature image and n local image blocks, the local image blocks being obtained by segmenting the biological feature image, n being a positive integer;
generating a feature vector group based on the image sequence, feature vectors in the feature vector group being generated based on a feature information interaction result between the biological feature image and the local image blocks and a feature information interaction result between the local image blocks;
taking a feature vector corresponding to the biological feature image in the feature vector group as biological feature information of the biological feature image;
performing data processing on the biological feature information of the biological feature image; and
determining that an object in the biological feature image is a living body based on the data processing comprising:
performing data processing on the biological feature information through an image depth network, and outputting a depth map of the biological feature image; and
determining that an object in the biological feature image is a living body based on a first prediction score being greater than a determination threshold and the depth map being not an all-zero map, the all-zero map representing that pixel values of all pixel points in an image being all zero.
|