The patch_models class stores the correlation patch models for each facial feature as well as the reference frame in which they are trained. It is the patch_models class, rather than the patch_model class, that the face tracker code interfaces with directly, to obtain the feature detections. The following code snippet of the declaration of this class highlights its primary functionality: