                                         self._rotation,
                                         self._translation,
                                         self._camera_matrix,
                                         self._distortion_coefficients)[0].squeeze()
              logger.trace("center %s: %s", key, center)
              offset[key] = center - (0.5, 0.5)
          logger.trace("offset: %s", offset)
          return offset
  
  
 
</s> remove         logger.trace("offset: %s", offset)
 </s> add         logger.trace("offset: %s", offset)  # type: ignore </s> remove             center = cv2.projectPoints(np.float32([pnts]),
 </s> add             center = cv2.projectPoints(np.array([pnts]).astype("float32"), </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         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)) </s> remove def _umeyama(source, destination, estimate_scale):
 </s> add def _umeyama(source: np.ndarray, destination: np.ndarray, estimate_scale: bool) -> np.ndarray:
            logger.trace("center %s: %s", key, center)  # type: ignore
                                         self._rotation,
                                         self._translation,
                                         self._camera_matrix,
                                         self._distortion_coefficients)[0].squeeze()
            logger.trace("center %s: %s", key, center)  # type: ignore
              offset[key] = center - (0.5, 0.5)
          logger.trace("offset: %s", offset)
          return offset
  
  
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