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

The “Shortage” of Women in Tech Leadership Is Not Real

Ask any conference organizer why their speaker lineup skews heavily male, and the answer is…

25 minutes ago

8 Great Success Business Stories

In the business world, there’s no such thing as a new idea. The best we…

2 weeks ago

Faceless YouTube vs Blogging: Which Monetization Path Fits Beginners Better?

Both of these work. Both are difficult. And anyone telling you one is obviously better…

2 weeks ago

Spreading the Word of Digital Marketing Physically: A How-To Guide

Digital marketing naturally focuses on online spaces. Businesses invest in social media, SEO, email campaigns,…

2 weeks ago

What Skills Do You Need to Become a Full-Stack Developer? A Complete Roadmap

Introduction There is an increasing need for full-stack developers because companies want people who can…

1 month ago

The Enduring Influence Of Classic Russian Literature On Modern Storytelling

Classic Russian literature holds a quiet power that still shapes stories today. Its voice feels…

2 months ago