title: Smart cropping for ImageViews in Android
body: <p>I'm looking for an automatic croppping tool for ImageViews in Android, that would crop the image in ImageView in runtime in a content-aware way.
  This is also called Smart Crop or something. Here is an <a href="https://github.com/jwagner/smartcrop.js" rel="nofollow noreferrer">example</a> for Javascript.</p>
  
  <p>Is there a similar library with those smart crop algorythms implemented for Android ImageViews?
  The idea of how it should work:</p>
  
  <ol>
  <li>Getting the actual width-height of ImageView on the screen of the device in runtime.</li>
  <li>Smart-cropping of the original image (or setting the positioning of the image, as if it's in the background) in a content-aware way (like, center on faces)</li>
  </ol>