1. A method comprising: receiving, by a computing device, a first authentication image; outputting, by the computing device, a prompt to perform a predetermined liveness gesture; receiving, by the computing device, a second authentication image; detecting, by the computing device, a liveness gesture based on at least one of a yaw angle of the second authentication image relative to the first authentication image and a pitch angle of the second authentication image relative to the first authentication image, wherein the yaw angle corresponds to a transition centered around a vertical axis, and wherein the pitch angle corresponds to a transition centered around a horizontal axis; determining, by the computing device, whether the detected liveness gesture matches the predetermined liveness gesture; and determining, by the computing device, based on whether the detected liveness gesture matches the predetermined liveness gesture, whether to deny authentication with respect to accessing one or more functionalities controlled by the computing device.