          Parameters
          ----------
          mask_size: int
              The original size of the mask.
          affine_matrix: numpy.ndarray
              The affine matrix to transform the mask at original size to the parent frame.
  
          Returns
          -------
          affine_matrix: numpy,ndarray
 
</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 _adjust_affine_matrix(self, mask_size, affine_matrix):
 </s> add     def _adjust_affine_matrix(self, mask_size: int, affine_matrix: np.ndarray) -> np.ndarray: </s> remove         numpy.ndarray: The mask affined to the original full frame of the given dimensions
 </s> add         :class:`numpy.ndarray`: The mask affined to the original full frame of the given dimensions
        affine_matrix: :class:`numpy.ndarray`
          Parameters
          ----------
          mask_size: int
              The original size of the mask.
        affine_matrix: :class:`numpy.ndarray`
              The affine matrix to transform the mask at original size to the parent frame.
  
          Returns
          -------
          affine_matrix: numpy,ndarray
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