          """ int: The size (in pixels) of one side of the square extracted face image. """
          return self._size
  
      @property
      def padding(self):
          """ int: The amount of padding (in pixels) that is applied to each side of the
          extracted face image for the selected extract type. """
          return self._padding[self._centering]
  
      @property
 
</s> remove     def size(self):
 </s> add     def centering(self) -> Literal["legacy", "head", "face"]:
        """ str: The centering of the Aligned Face. One of `"legacy"`, `"head"`, `"face"`. """
        return self._centering

    @property
    def size(self) -> int: </s> remove     def matrix(self):
 </s> add     def matrix(self) -> np.ndarray: </s> remove     def _head_size(self):
        """ int: The size of the full head extract image calculated from the required
        centering. """
        with self._cache["head_size"][1]:
            if self._centering not in self._cache["head_size"][0]:
                self._cache["head_size"][0][self._centering] = get_centered_size(self._centering,
                                                                                 "head",
                                                                                 self.size)
        return self._cache["head_size"][0][self._centering]

    @property
    def pose(self):
 </s> add     def pose(self) -> "PoseEstimate": </s> remove             logger.trace("original matrix: %s, new matrix: %s", self._matrices["legacy"], matrix)
 </s> add             logger.trace("original matrix: %s, new matrix: %s",  # type: ignore
                         self._matrices["legacy"], matrix) </s> remove     def original_roi(self):
 </s> add     def original_roi(self) -> np.ndarray:
    def padding(self) -> int:
          """ int: The size (in pixels) of one side of the square extracted face image. """
          return self._size
  
      @property
    def padding(self) -> int:
          """ int: The amount of padding (in pixels) that is applied to each side of the
          extracted face image for the selected extract type. """
          return self._padding[self._centering]
  
      @property
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