| CPC G06F 21/57 (2013.01) [G06F 21/32 (2013.01); G06V 10/12 (2022.01); G06V 40/172 (2022.01); G06F 2221/034 (2013.01)] | 19 Claims |

|
1. A face recognition method, comprising:
obtaining time-of-flight (TOF) data, the TOF data comprises a safety indication frame and a face recognition frame;
storing, through a kernel layer, the TOF data into a trusted execution environment (TEE);
generating an automatic exposure (AE) result in the TEE based on the TOF data, wherein the AE result is used to adjust an exposure parameter of a TOF camera;
transmitting first storage information of the TOF data in the TEE from a rich execution environment (REE) to the TEE, wherein the first storage information indicates a storage address of the TOF data in the TEE;
processing the TOF data corresponding to the first storage information into a TOF image in the TEE; and
performing face recognition in the TEE using the TOF image to obtain a recognition result.
|