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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.