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

Claim 14:
15. A method, comprising:
performing a first set of operations comprising:
obtaining an image 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;
encoding, using the first facial recognition authentication algorithm, the image to generate at least one first feature vector, wherein the first feature vector represents one or more facial features of the user in the image;
comparing, using the first facial recognition authentication algorithm, the first feature vector to one or more reference templates to obtain a first matching score for the image;
authorizing, using the first facial recognition authentication algorithm, the user to perform at least one operation on the device that requires authentication in response to determining the first matching score is above an unlock threshold of the device;
encoding, using the second facial recognition authentication algorithm, the image to generate at least one second feature vector, wherein the second feature vector represents the one or more facial features of the user in the image;
comparing, using the second facial recognition authentication algorithm, the second feature vector to a temporary template to obtain a second matching score for the image, wherein the temporary template is a template determined by the second facial recognition authentication algorithm based on at least one previous image captured by the camera in which the first matching score was above the unlock threshold, the temporary template being different from the one or more reference templates;
determining whether the second matching score is above the unlock threshold of the device;

repeating the first set of operations for a plurality of images;
performing a second set of operations subsequent to performing the first set of operations for the plurality of images, the second set of operations including:
comparing a performance of the second facial recognition a authentication algorithm to a performance of the first facial recognition authentication algorithm for the plurality of images; and
implementing the second facial recognition authentication algorithm to replace the first facial recognition authentication algorithm for authorizing the user to perform at least one operation on the device that requires authentication in response to the second facial recognition authentication algorithm having a selected performance with respect to the first facial recognition authentication algorithm.