From the course: Code Clinic: JavaScript

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Intro: Facial recognition

Intro: Facial recognition - JavaScript Tutorial

From the course: Code Clinic: JavaScript

Start my 1-month free trial

Intro: Facial recognition

(chiming music) (computer starting up) - Hello and welcome to the fifth problem of the code clinic series. This is a challenge to find faces in a photograph. 50 years ago, this problem would have been difficult or impossible, the technology and algorithms for facial recognition were just being created. Computers were barely powerful enough to run the algorithms and it could take hours to recognize one face. Today we have real time performance and use it as a security device on some mobile computers. In this challenge, we're asking our authors to demonstrate how to do this using their programming language. We've challenged our authors to create a function that does the following. First the function should accept a jpg, gif, or png file of varying dimensions. Their function should then identify the number of faces in that image. There may not be any faces, in which case the function should return 0. If the author chooses to go for extra credit, their function can create a copy of the…

Contents