News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Robert Eisele's Blog:
Face detection with PHP
July 24, 2008 @ 12:55:41

Robert Eisele has posted on an interesting topic recently - using a PHP interface to the OpenCV library (from Intel) to detect faces in images.

The headline does say facedetection - but what does this mean? Easy said, this article focus on how to find faces on images with PHP. Faces have a certain form and so it is possible to search for it. At the end of the search you will say how many human faces are on the image or better: Where are human faces on my image. This article is not intended to be mathematically.

The OpenCV library is a pattern-detection tool that can, based on the "experience" it has trained on with sample files, do its best to find similar structures in any given image. He's come up with a wrapper that handles most of the details for you. You can define the xml file type (frontalface, lowerbody, upperbody, etc) that you want it to try to match to.

He gives some examples of the output from each on one of the sample images included in the training group as well as a random photo grab from flickr that dynamically tries to apply one of the face filters.

0 comments voice your opinion now!
face detect opencv intel wrapper tutorial


blog comments powered by Disqus

Similar Posts

Noupe.com: How To Create Your Own Stats Program (JavaScript, AJAX, PHP)

Fawad Hassan's Blog: CRUD using jQuery and Codeigniter (Part 2)

Stoyan Stefanov: Server-side React with PHP

DevShed: Developing an Extensible Template Processor in PHP 5 (Part 1)

Cory Fowler: Enabling PHP 5.4 in Windows Azure Web Sites


Community Events





Don't see your event here?
Let us know!


framework symfony podcast security library introduction opinion community interview tool series release version language package laravel install voicesoftheelephpant update composer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework