      ----------
      Head Pose Estimation using OpenCV and Dlib - https://www.learnopencv.com/tag/solvepnp/
      3D Model points - http://aifi.isr.uc.pt/Downloads/OpenGL/glAnthropometric3DModel.cpp
      """
      def __init__(self, landmarks):
          self._distortion_coefficients = np.zeros((4, 1))  # Assuming no lens distortion
          self._xyz_2d = None
  
          self._camera_matrix = self._get_camera_matrix()
          self._rotation, self._translation = self._solve_pnp(landmarks)
 
</s> remove         self._xyz_2d = None
 </s> add         self._xyz_2d: Optional[np.ndarray] = None </s> remove         self._pitch_yaw = None
 </s> add         self._pitch_yaw: Tuple[int, int] = (0, 0) </s> remove             xyz = cv2.projectPoints(np.float32([[6, 0, -2.3], [0, 6, -2.3], [0, 0, 3.7]]),
 </s> add             xyz = cv2.projectPoints(np.array([[6., 0., -2.3],
                                              [0., 6., -2.3],
                                              [0., 0., 3.7]]).astype("float32"), </s> remove     def xyz_2d(self):
 </s> add     def xyz_2d(self) -> np.ndarray: </s> remove             center = cv2.projectPoints(np.float32([pnts]),
 </s> add             center = cv2.projectPoints(np.array([pnts]).astype("float32"),
    def __init__(self, landmarks: np.ndarray) -> None:
      ----------
      Head Pose Estimation using OpenCV and Dlib - https://www.learnopencv.com/tag/solvepnp/
      3D Model points - http://aifi.isr.uc.pt/Downloads/OpenGL/glAnthropometric3DModel.cpp
      """
    def __init__(self, landmarks: np.ndarray) -> None:
          self._distortion_coefficients = np.zeros((4, 1))  # Assuming no lens distortion
          self._xyz_2d = None
  
          self._camera_matrix = self._get_camera_matrix()
          self._rotation, self._translation = self._solve_pnp(landmarks)
keep keep keep keep replace keep keep keep keep keep
 lib.align.aligned_face updates
  - Typing
  - Legacy support for pre-aligned faces
  - Coverage support for pre-aligned faces
  - Standardized retrieval of sub-crops 
lib/align/aligned_face.py