      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)
          self._offset = self._get_offset()
          self._pitch_yaw = None
 
</s> remove     def __init__(self, landmarks):
 </s> add     def __init__(self, landmarks: np.ndarray) -> None: </s> remove         self._pitch_yaw = None
 </s> add         self._pitch_yaw: Tuple[int, int] = (0, 0) </s> remove     def xyz_2d(self):
 </s> add     def xyz_2d(self) -> np.ndarray: </s> remove     def __init__(self, landmarks, image=None, centering="face", size=64, coverage_ratio=1.0,
                 dtype=None, is_aligned=False):
        logger.trace("Initializing: %s (image shape: %s, centering: '%s', size: %s, "
                     "coverage_ratio: %s, dtype: %s, is_aligned: %s)", self.__class__.__name__,
                     image if image is None else image.shape, centering, size, coverage_ratio,
                     dtype, is_aligned)
 </s> add     def __init__(self,
                 landmarks: np.ndarray,
                 image: Optional[np.ndarray] = None,
                 centering: CenteringType = "face",
                 size: int = 64,
                 coverage_ratio: float = 1.0,
                 dtype: Optional[str] = None,
                 is_aligned: bool = False,
                 is_legacy: bool = False) -> None:
        logger.trace("Initializing: %s (image shape: %s, centering: '%s', "  # type: ignore
                     "size: %s, coverage_ratio: %s, dtype: %s, is_aligned: %s, is_legacy: %s)",
                     self.__class__.__name__, image if image is None else image.shape,
                     centering, size, coverage_ratio, dtype, is_aligned, is_legacy) </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"),
        self._xyz_2d: Optional[np.ndarray] = None
      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: Optional[np.ndarray] = None
  
          self._camera_matrix = self._get_camera_matrix()
          self._rotation, self._translation = self._solve_pnp(landmarks)
          self._offset = self._get_offset()
          self._pitch_yaw = None
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