jQuery Face Detection Plugin – This is a jQuery plugin to detect faces over images, videos and canvases.
Include jQuery library and the plugin.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="path/to/dist/jquery.facedetection.min.js"></script>
Now set a photo with some faces in your HTML page.
<img id="image" src="img/myface.jpg">
Apply the plugin to this photo and get the face coordinates.
<script>
$('#image').faceDetection({
complete: function (faces) {
console.log(faces);
}
});
</script>
Glass at height is easy to overlook, in both senses. It is out of reach,…
Almost every rental business starts the same way. A handful of items, a notebook or…
When it comes to designing the office interior you need a highly professional designer. Your…
Emergencies can happen anywhere, whether at home, in the workplace, at school, or during outdoor…
A dental practice’s website is essential, but it is only one place where prospective patients…
Golf is often described as a game of patience, practice, and precision. That is true,…