title: Skimage SimilarityTransform spoils image
body: <p>I have a code which recognizes faces on images (dlib implementation, 68 points)</p>
  
  <p>I want to rotate a bit some images but after a get following trouble: my image becomes somehow spoiled</p>
  
  <pre><code>from skimage import io
  from skimage import transform as tf
  img = io.imread(f)
  tform = tf.SimilarityTransform(rotation=np.deg2rad(10),translation=(10,12))
  img = tf.warp(img,tform)
  </code></pre>
  
  <p>I plot image with 2 ways:</p>
  
  <pre><code>plt.imshow(img) #the right picture (matplotlib)
  win = dlib.image_window() #the left picture (dlib)
  win.set_image(img) #the left picture
  </code></pre>
  
  <p>As you can see dlib image is broken. Also algorithm which can find facial keypoints stopps working.</p>
  
  <p>Without SimilarityTransform dlib works correctly.</p>
  
  <p>Help me please! I want to rotate an image and to pass it to dlib</p>
  
  <p><a href="https://i.stack.imgur.com/mKhBw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mKhBw.jpg" alt="the prolem"></a></p>