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

Claim 0:
1. A method, comprising:
obtaining a plurality of images of a face of a user using a camera located on a device, the device comprising a computer processor and a memory, wherein a first facial recognition authentication algorithm and a second facial recognition authentication algorithm are installed on the computer processor;
operating 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 based on a comparison, by the first facial recognition authentication algorithm, between a combination of facial features of the user in the images and one or more first reference templates associated with the first facial recognition authentication algorithm, and wherein determining that the user is the authorized user authorizes the user to perform at least one operation on the device that requires authentication;
in response to determining that the user in one or more of the images is the authorized user using the facial recognition authentication process, generating a set of templates for the second facial recognition authentication algorithm to be used with the facial recognition authentication process, the set of templates being generated by:
encoding, using the second facial recognition authentication algorithm, authenticated images to generate feature vectors, wherein the authenticated images are images in which the user is determined to be the authorized user by the first facial recognition authentication algorithm, and wherein the feature vectors represent the combination of facial features of the user in the images according to the second facial recognition authentication algorithm; and
storing the feature vectors in the memory of the device as the set of templates for the second facial recognition authentication algorithm;

selecting one of the feature vectors as a second reference template for the second facial recognition authentication algorithm based on an assessment of the set of templates; and
replacing the first facial recognition authentication algorithm with the second facial recognition authentication algorithm for 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.