Patent ID: 11935327
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A device, comprising:
a computer processor;
a memory;
a camera;
at least one illuminator providing infrared illumination;
circuitry coupled to the camera and the illuminator, wherein the circuitry is configured to:
obtain a plurality of images of a face of a user using the camera, wherein a first facial recognition authentication algorithm and a second facial recognition authentication algorithm are installed in the memory;
operate a facial recognition authentication process on the images using the first facial recognition authentication algorithm, wherein the facial recognition authentication process is used to determine that the user is an authorized user of the device and authorize the user to perform at least one operation on the device that requires authentication, and wherein the second facial recognition authentication algorithm is configured to replace the first facial recognition authentication algorithm in operation of the facial recognition authentication process when a performance of the second facial recognition authentication algorithm is assessed to meet one or more selected performance criteria with respect to a performance of the first facial recognition authentication algorithm;
in response to determining that the user in one or more of the images is the authorized user using the facial recognition authentication process, generate a set of templates for the second facial recognition authentication algorithm by:
encoding, using the second facial recognition authentication algorithm, images in which the user is determined to be the authorized user to generate feature vectors, wherein the feature vectors represent one or more facial features of the user in the images; and
storing the feature vectors in the memory of the device as the set of templates for the second facial recognition authentication algorithm; and

select one of the feature vectors as a reference template for the second facial recognition authentication algorithm based on an assessment of the set of templates.