              The (x, y) offset from the center point to return the mask for
          centering: str
              The centering to set the sub crop area for. One of `"legacy"`, `"face"`. `"head"`
          """
          if centering == self.stored_centering:
              return
  
          src_size = self.stored_size - (self.stored_size * _EXTRACT_RATIOS[self.stored_centering])
          offset *= ((self.stored_size - (src_size / 2)) / 2)
          center = np.rint(offset + self.stored_size / 2).astype("int32")
 
</s> remove         src_size = self.stored_size - (self.stored_size * _EXTRACT_RATIOS[self.stored_centering])
        offset *= ((self.stored_size - (src_size / 2)) / 2)
        center = np.rint(offset + self.stored_size / 2).astype("int32")

        crop_size = get_centered_size(self.stored_centering, centering, self.stored_size)
 </s> add         center = get_adjusted_center(self.stored_size,
                                     source_offset,
                                     target_offset,
                                     self.stored_centering)
        crop_size = get_centered_size(self.stored_centering,
                                      centering,
                                      self.stored_size,
                                      coverage_ratio=coverage_ratio) </s> remove         offset: :class:`numpy.ndarray`
            The (x, y) offset from the center point to return the mask for
        centering: str
 </s> add         source_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at its stored centering
        target_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at the requested target centering
         centering: str </s> remove         sub_crop_offset: :class:`numpy.ndarray`
            The (x, y) offset to crop the mask from the center point. Set to `None` if the mask
            does not need to be offset for alternative centering
 </s> add         source_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at its stored centering
        target_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at the requested target centering </s> remove         sub_crop_offset: :class:`numpy.ndarray`
            The (x, y) offset to crop the mask from the center point. Set to `None` if the mask
            does not need to be offset for alternative centering
 </s> add         source_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at its stored centering
        target_offset: :class:`numpy.ndarray`
            The (x, y) offset for the mask at the requested target centering
        if centering == self.stored_centering and coverage_ratio == 1.0:
              The (x, y) offset from the center point to return the mask for
          centering: str
              The centering to set the sub crop area for. One of `"legacy"`, `"face"`. `"head"`
          """
        if centering == self.stored_centering and coverage_ratio == 1.0:
              return
  
          src_size = self.stored_size - (self.stored_size * _EXTRACT_RATIOS[self.stored_centering])
          offset *= ((self.stored_size - (src_size / 2)) / 2)
          center = np.rint(offset + self.stored_size / 2).astype("int32")
keep keep keep keep replace keep keep keep keep keep
 lib.detected_face.Mask
  - Add source + target offset and coverage to set_sub_crop method 
lib/align/detected_face.py