          landmarks = list()
      else:
          raise ValueError("Unsupported face type")
  
      rotation_matrix = cv2.invertAffineTransform(rotation_matrix)
      rotated = list()
      for item in (bounding_box, landmarks):
          if not item:
              continue
          points = np.array(item, np.int32)
 
</s> remove         transformed = cv2.transform(points,
 </s> add         transformed = cv2.transform(points,  # pylint: disable=no-member </s> remove         face = dlib.rectangle(int(pt_x), int(pt_y), int(pt_x1), int(pt_y1))
 </s> add         face = dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(pt_x), int(pt_y), int(pt_x1), int(pt_y1)) </s> remove     elif isinstance(face, dlib.rectangle):
 </s> add     elif isinstance(face,
                    dlib.rectangle):  # pylint: disable=c-extension-no-member </s> remove     rotation_matrix = cv2.getRotationMatrix2D(image_center, -1.*angle, 1.)
 </s> add     rotation_matrix = cv2.getRotationMatrix2D(  # pylint: disable=no-member
        image_center, -1.*angle, 1.)
    rotation_matrix = cv2.invertAffineTransform(  # pylint: disable=no-member
        rotation_matrix)
          landmarks = list()
      else:
          raise ValueError("Unsupported face type")
  
    rotation_matrix = cv2.invertAffineTransform(  # pylint: disable=no-member
        rotation_matrix)
      rotated = list()
      for item in (bounding_box, landmarks):
          if not item:
              continue
          points = np.array(item, np.int32)
keep keep keep keep replace keep keep keep keep keep
 add draw transparent to adjust. Disable seamless clone with -dt flag 
lib/utils.py