Patent ID: 11869255
Assignee: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 3:
4. A multi-lens camera, comprising:
a TOF camera, an RGB camera and a control module;
the TOF camera is configured for acquiring a depth image and an infrared image;
the RGB camera is configured for acquiring an RGB image; and
the control module is configured for analyzing the RGB image through a preset face detection algorithm to determine an RGB face region of a face in the RGB image and position information of the RGB face region; determining a depth face region of the face in the depth image and an infrared face region of the face in the infrared image based on the position information of the RGB face region; and determining that the face passes the detection when the depth face region, the infrared face region and the RGB face region meet corresponding preset rules respectively;
wherein determining that the face passes the detection when the depth face region, the infrared face region and the RGB face region meet corresponding preset rules respectively, comprises:
calculating a similarity between the depth face region and a reserved priori face template;
determining a first image feature of the infrared face region, and analyzing the first image feature through a pre-trained first deep learning model to obtain an infrared analysis result;
determining a second image feature of the RGB face region, and analyzing the second image feature through a pre-trained second deep learning model to obtain an RGB analysis result; and
determining that the face passes the detection, when the similarity is greater than a preset similarity threshold, the infrared analysis result indicates that the face is a living body, and the RGB analysis result indicates that the face is a living body;
wherein calculating the similarity between the depth face region and the reserved priori face template comprises:
determining a side view and a top view of the face based on the depth face region; and
calculating a similarity between a face depth change curve of the side view and a face depth change curve of the top view and face depth change curve of the reserved priori face template.