  
          self._camera_matrix = self._get_camera_matrix()
          self._rotation, self._translation = self._solve_pnp(landmarks)
          self._offset = self._get_offset()
          self._pitch_yaw = None
  
      @property
      def xyz_2d(self):
          """ :class:`numpy.ndarray` projected (x, y) coordinates for each x, y, z point at a
          constant distance from adjusted center of the skull (0.5, 0.5) in the 2D space. """
 
</s> remove     def xyz_2d(self):
 </s> add     def xyz_2d(self) -> np.ndarray: </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         self._xyz_2d = None
 </s> add         self._xyz_2d: Optional[np.ndarray] = None </s> remove     def __init__(self, landmarks):
 </s> add     def __init__(self, landmarks: np.ndarray) -> None: </s> remove         offset = dict(legacy=np.array([0.0, 0.0]))
        points = dict(head=(0, 0, -2.3), face=(0, -1.5, 4.2))
 </s> add         offset: Dict[CenteringType, np.ndarray] = dict(legacy=np.array([0.0, 0.0]))
        points: Dict[Literal["face", "head"], Tuple[float, ...]] = dict(head=(0.0, 0.0, -2.3),
                                                                        face=(0.0, -1.5, 4.2))
        self._pitch_yaw: Tuple[int, int] = (0, 0)
  
          self._camera_matrix = self._get_camera_matrix()
          self._rotation, self._translation = self._solve_pnp(landmarks)
          self._offset = self._get_offset()
        self._pitch_yaw: Tuple[int, int] = (0, 0)
  
      @property
      def xyz_2d(self):
          """ :class:`numpy.ndarray` projected (x, y) coordinates for each x, y, z point at a
          constant distance from adjusted center of the skull (0.5, 0.5) in the 2D space. """
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