title: Facial recognition/detection PHP or software for photo and video galleries
body: <p>I have a very large photo gallery with thousands of similar people, objects, locations, things. The majority of the people in the photos have their own user accounts and avatar photos to match. There are also logical short lists of people potentially in the photo based on additional data available for each photo. I allow users to tag photos with their friends and people they know but an automated process would be better.</p>
  
  <p>I've used photo tagger/finder from face.com integrating with Facebook photos and the Google Picasa photo tagger for personal albums also does the same thing and is exactly what I'm looking to do.</p>
  
  <p>Is there a PHP script, API for Google Picasa, face.com or other recognition service or any other open source project that provides server-side facial recognition and/or grouping photos by similarity?</p>
  
  <p><strong>Examples:</strong> As you can see, various photo sharing sites offer the feature, but are there any that provide an API for images stored on my own server or something extensive enough to link into my own gallery and tagging system?</p>
  
  <ul>
  <li><a href="http://www.viewdle.com/" rel="noreferrer"><strong>viewdle</strong></a> - Face recognition/Tagging for video</li>
  <li><a href="http://svay.com/blog/index/post/2009/06/19/Face-detection-in-pure-PHP-%28without-OpenCV%29" rel="noreferrer">PHP - Face detection in pure PHP</a></li>
  <li><a href="http://www.xarg.org/2008/07/face-detection-with-php/" rel="noreferrer"><strong>Xarg</strong></a></li>
  <li><a href="http://opencv.willowgarage.com" rel="noreferrer"><strong>OpenCV</strong></a></li>
  <li><a href="http://www.face.com" rel="noreferrer"><strong>Face.com</strong></a> - app for finding and tagging photos in Facebook</li>
  <li><a href="http://picasaweb.google.com/home" rel="noreferrer"><strong>Google Picasa</strong></a> - photo sharing</li>
  <li><a href="http://www.terasnaps.com" rel="noreferrer"><strong>TeraSnaps</strong></a> - photo sharing site</li>
  <li><a href="http://www.idiap.ch/googleportrait/" rel="noreferrer"><strong>Google Portrait</strong></a> - photo grouping from Google Image results</li>
  <li><a href="http://www.faceonit.ch/" rel="noreferrer"><strong>FaceOnIt</strong></a> - Video face recognition</li>
  <li><a href="http://demo.pittpatt.com/" rel="noreferrer"><strong>PittPatt</strong></a> - Detection, Recognition, Video Face Mining</li>
  <li><a href="http://www.betaface.com/Demo.aspx" rel="noreferrer"><strong>BetaFace</strong></a></li>
  <li><a href="http://www.geocities.com/telnykha/" rel="noreferrer"><strong>ChaosFace</strong></a> - Real-time Face Detector</li>
  </ul>