  
  def rotate_landmarks(face, rotation_matrix):
      """ Rotates the 68 point landmarks and detection bounding box around the given rotation matrix.
  
      Paramaters
      ----------
      face: DetectedFace or dict
          A :class:`DetectedFace` or an `alignments file` ``dict`` containing the 68 point landmarks
          and the `x`, `w`, `y`, `h` detection bounding box points.
      rotation_matrix: numpy.ndarray
 
</s> remove         * **landmarks** (`numpy.ndarray`, `optional`). Required if :attr:`warp_to_landmarks` is \
        ``True``. The 68 point face landmarks from an alignments file.
 </s> add         * **landmarks** (`numpy.ndarray`, `optional`). Required if using a :attr:`mask_type` is \
        not ``None`` or :attr:`warp_to_landmarks` is ``True``. The 68 point face landmarks from \
        an alignments file. </s> remove         dict of `{name (str): mask (numpy.ndarray)}
 </s> add         dict of {**name** (`str`): :class:`Mask`}. </s> remove         config item ``warp_to_landmarks`` is ``True``. If the landmarks for an image cannot be
        found, then an error is raised. """
 </s> add         config item ``warp_to_landmarks`` is ``True`` or if :attr:`mask_type` is not ``None``. If
        the landmarks for an image cannot be found, then an error is raised. """ </s> remove import base64
import zlib
 </s> add 
    Parameters
  
  def rotate_landmarks(face, rotation_matrix):
      """ Rotates the 68 point landmarks and detection bounding box around the given rotation matrix.
  
    Parameters
      ----------
      face: DetectedFace or dict
          A :class:`DetectedFace` or an `alignments file` ``dict`` containing the 68 point landmarks
          and the `x`, `w`, `y`, `h` detection bounding box points.
      rotation_matrix: numpy.ndarray
keep keep keep keep replace keep keep keep keep keep
 Serialize masks to alignments file

- Add new serializers (npy + compressed)
- Remove Serializer option from cli
- Revert get_aligned call in scripts/extract
- Default alignments to compressed
- Size masks to 128px and compress
- Remove mask thresholding/blur from generation code
- Add Mask class to lib/faces_detect
- Revert debug landmarks to aligned face
- Revert non-extraction code to staging version 
lib/faces_detect.py