          so it needs to be cropped out to the appropriate centering.
  
          This function temporarily converts this object to a full head aligned face, extracts the
          sub-cropped face to the correct centering, reverse the sub crop and returns the cropped
          face.
  
          Parameters
          ----------
          image: :class:`numpy.ndarray`
              The original head-centered aligned image
 
</s> remove     def _convert_centering(self, image):
 </s> add     def _convert_centering(self, image: np.ndarray) -> np.ndarray: </s> remove         Items are cached so that they are only created the first time they are called.
        Each item includes a threading lock to make cache creation thread safe.
 </s> add         Parameters
        ----------
        size: int
            The final size of the aligned image in pixels
        coverage_ratio: float
            The ratio of the final image to pad to </s> remove             The aligned image with the correct centering
 </s> add             The aligned image with the correct centering, scaled to image input size </s> remove         if self._is_aligned and self._centering != "head":  # Crop out the sub face from full head
 </s> add         if self._is_aligned and (self._centering != self._source_centering or
                                 self._coverage_ratio != 1.0):
            # Crop out the sub face from full head
        face at the selected coverage ratio.
          so it needs to be cropped out to the appropriate centering.
  
          This function temporarily converts this object to a full head aligned face, extracts the
          sub-cropped face to the correct centering, reverse the sub crop and returns the cropped
        face at the selected coverage ratio.
  
          Parameters
          ----------
          image: :class:`numpy.ndarray`
              The original head-centered aligned image
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