| CPC G06V 40/45 (2022.01) [G06V 10/82 (2022.01); G06V 40/172 (2022.01)] | 18 Claims |

|
1. A face liveness detection method performed by a computer device, the method comprising:
receiving an image from a terminal, the image comprising a face of an object captured by a camera of the terminal;
performing data augmentation on the image, to obtain a plurality of extended images corresponding to the image, wherein each extended image is a variation of the image;
performing liveness detection on the plurality of extended images independently, to obtain a plurality of intermediate detection results of the plurality of the extended images, wherein each intermediate detection result is obtained from the liveness detection on a corresponding extended image, a liveness detection model used in liveness detection being obtained by performing model training on an initial neural network model according to a sample image and extended sample images corresponding to the sample image;
counting a first number of intermediate detection results indicating that the object is a liveness;
counting a second number of intermediate detection results indicating that the object is not a liveness;
obtaining, when the first number is greater than the second number, a final liveness detection result indicating that the object is a liveness; and
performing a predefined operation in accordance with an identity of the object and the final liveness detection result.
|