Patent attributes
Methods, systems, and computer-readable storage media for determining that a subject is a live person using a color-coded sequence including a sequence of colors. A subject is illuminated in accordance with the sequence of colors. A sequence of images of the subject is captured, where the sequence of images are temporally synchronized with illumination by the color-coded sequence. A filtered response image is generated, by a matched filtering process on the sequence of images using the selected color-coded sequence. A determination is made, based on structural features around an eye region of the filtered response image, that the subject is a live person. Responsive to determining that the subject is a live person, initiating an authentication process to authenticate the subject.