                                         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
  
  
  def _umeyama(source, destination, estimate_scale):
      """Estimate N-D similarity transformation with or without scaling.
 
</s> remove             logger.trace("center %s: %s", key, center)
 </s> add             logger.trace("center %s: %s", key, center)  # type: ignore </s> remove def _umeyama(source, destination, estimate_scale):
 </s> add def _umeyama(source: np.ndarray, destination: np.ndarray, estimate_scale: bool) -> np.ndarray: </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     def offset(self):
 </s> add     def offset(self) -> Dict[CenteringType, np.ndarray]:
        logger.trace("offset: %s", offset)  # type: ignore
                                         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)  # type: ignore
          return offset
  
  
  def _umeyama(source, destination, estimate_scale):
      """Estimate N-D similarity transformation with or without scaling.
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