We’re all well aware of many of the cool things we can do with JavaScript – data retrieval, visualization, effects, and so on.
But this is somewhat new – checkout this jQuery plugin for face detection…
The jQuery Face Detection plugin is obviously self-explanatory and the implementation is impressive. To get started using this plugin:
- Include jQuery in the head element of your page. Grab the reference to it here.
- Include the plugin reference in the head of your page.
- Write a line of code that references the photo’s container element (example below) and you’re done.
[cc lang=”javascript”]
$(function() {
$(‘#myPhotograph’).faceDetection();
});
[/cc]
Browse it on GitHub, too.
Speak your mind...