          The mask should be the original output from  :mod:`plugins.extract.mask`
  
          Parameters
          ----------
          mask: numpy.ndarray
              The mask that is to be added as output from :mod:`plugins.extract.mask`
              It should be in the range 0.0 - 1.0 ideally with a ``dtype`` of ``float32``
          affine_matrix: numpy.ndarray
              The transformation matrix required to transform the mask to the original frame.
          interpolator, int:
 
</s> remove         affine_matrix: numpy.ndarray
 </s> add         affine_matrix: :class:`numpy.ndarray` </s> remove         mask: numpy.ndarray
 </s> add         mask: :class:`numpy.ndarray` </s> remove         affine_matrix: numpy.ndarray
 </s> add         affine_matrix: :class:`numpy.ndarray` </s> remove     def add(self, mask, affine_matrix, interpolator):
 </s> add     def add(self, mask: np.ndarray, affine_matrix: np.ndarray, interpolator: int) -> None: </s> remove         return self.y + self.h

    def add_mask(self, name, mask, affine_matrix, interpolator,
                 storage_size=128, storage_centering="face"):
 </s> add         assert self.top is not None and self.height is not None
        return self.top + self.height

    def add_mask(self,
                 name: str,
                 mask: np.ndarray,
                 affine_matrix: np.ndarray,
                 interpolator: int,
                 storage_size: int = 128,
                 storage_centering: "CenteringType" = "face") -> None:
        mask: :class:`numpy.ndarray`
          The mask should be the original output from  :mod:`plugins.extract.mask`
  
          Parameters
          ----------
        mask: :class:`numpy.ndarray`
              The mask that is to be added as output from :mod:`plugins.extract.mask`
              It should be in the range 0.0 - 1.0 ideally with a ``dtype`` of ``float32``
          affine_matrix: numpy.ndarray
              The transformation matrix required to transform the mask to the original frame.
          interpolator, int:
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
lib/align/detected_face.py