              warnings.simplefilter(action='ignore', category=warncat)
  
  
  def rotate_landmarks(face, rotation_matrix):
      # pylint: disable=c-extension-no-member
      """ Rotate the landmarks and bounding box for faces
          found in rotated images.
          Pass in a DetectedFace object, Alignments dict or BoundingBox"""
      logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
      logger.trace("Rotating landmarks: (rotation_matrix: %s, type(face): %s",
 
</s> remove     logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add     logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove     rotation_matrix = cv2.invertAffineTransform(  # pylint: disable=no-member
 </s> add     rotation_matrix = cv2.invertAffineTransform(  # pylint:disable=no-member </s> remove     logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add     logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove     logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add     logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove     logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add     logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
    # pylint:disable=c-extension-no-member
              warnings.simplefilter(action='ignore', category=warncat)
  
  
  def rotate_landmarks(face, rotation_matrix):
    # pylint:disable=c-extension-no-member
      """ Rotate the landmarks and bounding box for faces
          found in rotated images.
          Pass in a DetectedFace object, Alignments dict or BoundingBox"""
      logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
      logger.trace("Rotating landmarks: (rotation_matrix: %s, type(face): %s",
keep keep keep keep replace keep keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/utils.py