title: Detect head tilt in a image
body: <p>I am suppose to detect if there is a head tilt in photos. These photos are identity card size photos or passport size photos. If a head tilt is detected, then I need to correct / rectify the tilt error by rotating the image clockwise or anticlockwise.</p>
  
  <p>I want to know if there is any open source library or dll that can be used in the project that will help me detect face &amp; facial features like eyes and ears. </p>
  
  <p>The detection must be done on the fly as there will be a 1000's of images opened from a directory.</p>
  
  <p>I've gone through <a href="http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-Using-Emgu-CV-Open" rel="nofollow">http://www.codeproject.com/Articles/462527/Camera-Face-Detection-in-Csharp-Using-Emgu-CV-Open</a> tutorial, but did not solve my problem. Also I've gone through EmguCV's eg. Example.FaceDetection.exe in the bin folder, but it does not detect the face. I tried loading other images as well, but still the same &amp; no highlighting of face or facial features.</p>