US 11,854,310 B2
Face liveness detection method and related apparatus
Xuan Cao, Shenzhen (CN); Shouhong Ding, Shenzhen (CN); Jia Meng, Shenzhen (CN); Taiping Yao, Shenzhen (CN); Yanhao Ge, Shenzhen (CN); and Chengjie Wang, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Jan. 20, 2022, as Appl. No. 17/580,548.
Application 17/580,548 is a continuation of application No. PCT/CN2020/120105, filed on Oct. 10, 2020.
Claims priority of application No. 202010055343.3 (CN), filed on Jan. 17, 2020.
Prior Publication US 2022/0148336 A1, May 12, 2022
Int. Cl. G06V 40/40 (2022.01); G06V 40/16 (2022.01); G06V 10/14 (2022.01); G06V 40/60 (2022.01)
CPC G06V 40/45 (2022.01) [G06V 10/14 (2022.01); G06V 40/166 (2022.01); G06V 40/168 (2022.01); G06V 40/63 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A face liveness detection method performed by an electronic device, the method comprising:
obtaining an initial face image of an object captured in natural light or under illumination of a plurality of light sources;
obtaining a face image set of the object, the face image set comprising N face images of the object captured according to N illumination directions, the N illumination directions corresponding to N light source positions, the N light source positions being not on a same straight line, and N being an integer greater than or equal to 3;
obtaining N difference images according to the initial face image and the N face images in the face image set, wherein each of the N difference images includes pixel value differences of the initial face image and a respective image in the face image set;
generating a normal map and an albedo map according to the N difference images and the N illumination directions, the normal map being an image formed based on normals corresponding to pixels, and the albedo map being an image formed based on albedos corresponding to the pixels; and
determining a face liveness detection result according to the N difference images, the normal map, and the albedo map, wherein the face liveness detection result indicates whether the object has a live face or not.