                                    [0, 0, 1]], dtype="double")
          logger.trace("camera_matrix: %s", camera_matrix)
          return camera_matrix
  
      def _solve_pnp(self, landmarks):
          """ Solve the Perspective-n-Point for the given landmarks.
  
          Takes 2D landmarks in world space and estimates the rotation and translation vectors
          in 3D space.
  
 
</s> remove         logger.trace("camera_matrix: %s", camera_matrix)
 </s> add         logger.trace("camera_matrix: %s", camera_matrix)  # type: ignore </s> remove     def xyz_2d(self):
 </s> add     def xyz_2d(self) -> np.ndarray: </s> remove     def _get_offset(self):
 </s> add     def _get_offset(self) -> Dict[CenteringType, 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         logger.trace("points: %s, rotation: %s, translation: %s", points, rotation, translation)
 </s> add         logger.trace("points: %s, rotation: %s, translation: %s",  # type: ignore
                     points, rotation, translation)
    def _solve_pnp(self, landmarks: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
                                    [0, 0, 1]], dtype="double")
          logger.trace("camera_matrix: %s", camera_matrix)
          return camera_matrix
  
    def _solve_pnp(self, landmarks: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
          """ Solve the Perspective-n-Point for the given landmarks.
  
          Takes 2D landmarks in world space and estimates the rotation and translation vectors
          in 3D 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