          if not item:
              continue
          points = np.array(item, np.int32)
          points = np.expand_dims(points, axis=0)
          transformed = cv2.transform(points,  # pylint: disable=no-member
                                      rotation_matrix).astype(np.int32)
          rotated.append(transformed.squeeze())
  
      # Bounding box should follow x, y planes, so get min/max
      # for non-90 degree rotations
 
</s> remove     rotation_matrix = cv2.invertAffineTransform(  # pylint: disable=no-member
 </s> add     rotation_matrix = cv2.invertAffineTransform(  # pylint:disable=no-member </s> remove     img = cv2.imencode(extension, image)[1]  # pylint: disable=no-member
 </s> add     img = cv2.imencode(extension, image)[1]  # pylint:disable=no-member,c-extension-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         cv2.imdecode(img, cv2.IMREAD_UNCHANGED)).hexdigest()  # pylint: disable=no-member
 </s> add         cv2.imdecode(  # pylint:disable=no-member,c-extension-no-member
            img,
            cv2.IMREAD_UNCHANGED)).hexdigest()  # pylint:disable=no-member,c-extension-no-member
        transformed = cv2.transform(points,  # pylint:disable=no-member
          if not item:
              continue
          points = np.array(item, np.int32)
          points = np.expand_dims(points, axis=0)
        transformed = cv2.transform(points,  # pylint:disable=no-member
                                      rotation_matrix).astype(np.int32)
          rotated.append(transformed.squeeze())
  
      # Bounding box should follow x, y planes, so get min/max
      # for non-90 degree rotations
keep keep keep keep replace keep keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/utils.py