Creating the Face class

The Face class is at the heart of the Smart Doorbell application. With the Face class, we can pass in a picture of a person and have the Face class either return the name of that person or state that the person is unknown based on a repository of photos.   

The following diagram explains the Face class from a high-level perspective:

As you can see, Face is instantiated with the faces repository. An unknown face is passed into the get_name() method and compared to faces stored in the faces repository. Of note are the differences between the picture of Rolo Slope in the faces repository and the one used in the get_name() ...

Get Hands-On Edge Analytics with Azure IoT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.