title: Cropping faces from an image
body: <p>I have a collection of face images, with 1 or sometimes 2 faces in each image. What I wanna do, is find the face in each image and then crop It. 
  I've tested a couple of methods, which are implemented in python using openCV, but the results weren't that good. These methods are:</p>
  
  <p>1- <a href="https://github.com/GradyD/FaceDetectionCrop" rel="nofollow noreferrer">Implementation 1</a></p>
  
  <p>2- <a href="https://github.com/ufoym/cropman" rel="nofollow noreferrer">Implementation 2</a></p>
  
  <p>There's one more model that I've tested, but I'm not allowed to post more than two links.
  The problem is that these Haar-Feature based algorithms, are not robust to face size, and when I tried them on images which were taken close to the face, they couldn't find any faces. 
  Someone mentioned to try deep learning based algorithms, but I couldn't find one corresponding to what I want to do. Basically, I guess I need a pre-trained model, which can give me the coordinates of the face bounding box in the image, or better, a pre-trained model which gives out the cropped face image as output.</p>