DO YOU NEED A CONTENT WRITER FOR YOUR BUSINESS?

Your One-Stop Solution for All Content Needs! Click here for more!
Categories: jQuery

jQuery Face Detection Plugin

Share

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>

READ MORE | DOWNLOAD

Namaste UI

For any types of queries, you can contact us on info[at]namasteui.com.

Recent Posts

How to tell whether high-level glass is toughened or laminated

Glass at height is easy to overlook, in both senses. It is out of reach,…

6 days ago

Signs Your Rental Business Has Outgrown Spreadsheets (and What to Do Next)

Almost every rental business starts the same way. A handful of items, a notebook or…

6 days ago

Why You Should Demand a Team Of Office Interior Design

When it comes to designing the office interior you need a highly professional designer. Your…

7 days ago

Understanding the Basics of First Aid and Emergency Response in Canberra

Emergencies can happen anywhere, whether at home, in the workplace, at school, or during outdoor…

2 weeks ago

How Guest Posts for Dental Practices Build Trust and Digital Reach

A dental practice’s website is essential, but it is only one place where prospective patients…

3 weeks ago

Small Personal Touches That Make a Golf Day More Enjoyable

Golf is often described as a game of patience, practice, and precision. That is true,…

3 weeks ago