Implement CascadedPoseRegression.