1. A method comprising: acquiring a facial image of a person; and via software executed by a processor of a system, using a discriminative face alignment model to align a generic facial mesh to the facial image to facilitate locating of facial features of the facial image, the discriminative face alignment model including a generative shape model component and a discriminative appearance model component, the discriminative appearance model component having been trained with training data to estimate a score function that is a function of a shape parameter of a given image and that seeks to minimize an angle between a gradient direction of the score function for the shape parameter and an ideal alignment travel direction for the shape parameter.