主权项 |
1. A method comprising:
obtaining, by a processor, a plurality of images, wherein the plurality of images includes a first correct image, a second correct image, a first incorrect image, and a second incorrect image; presenting, by the processor, a first subset of the plurality of images for display, wherein the first subset includes the first correct image and the first incorrect image; receiving, by the processor, a first input by a user and from the first subset, wherein the first input selects one of the first correct image or the first incorrect image; incrementing, by the processor, a correct selection count associated with the user when the first input selects the first correct image, wherein the user is determined to be authenticated when the correct selection count meets a first threshold; incrementing, by the processor, an incorrect selection count associated with the user when the first input selects the first incorrect image, wherein the user is determined to not be authenticated when the incorrect selection count meets a second threshold; presenting, by the processor, a second subset of the plurality of images for display when the first input selects the first correct image and the correct selection count does not meet the first threshold or when the first input selects the first incorrect image and the incorrect selection count does not meet the second threshold, wherein the second subset includes the second correct image and the second incorrect image; receiving, by the processor, a second input by the user and from the second subset, wherein the second input selects identifies one of the second correct image or the second incorrect image; and determining, by the processor, whether the user is authenticated based on the second input. |