title: Auto Crop Picture From Scanned Document
body: <p>i am working on a project where i have to scan a lot of pages (application form) where each form is attached (pasted with glue) with application picture. So, i need to get the picture (crop only the picture) from that scanned page/document.</p>
  
  <p>I have attached a sample..</p>
  
  <p><img src="https://i.stack.imgur.com/bmc8K.jpg" alt="enter image description here"></p>
  
  <p>i can set the exact location on the document/image but few issues with that:
  1. attached/pasted image is not on same size..
  2. it may be not be pasted on same place on each form
  3. it may be rotated slightly..</p>
  
  <p>so, i am looking for some automated process that can take out the picture correctly regardless the above issues. i assume face detection may be the tool, but i am not sure about that..</p>
  
  <p>so, it would be great if any one can help me with that?</p>
  
  <p>thanks in advance</p>
  
  <p>any help will be highly appreciated...</p>