Face Detection, Pose Estimation, and Landmark Localization in the Wild