Skip to Content
Hands-On Edge Analytics with Azure IoT
book

Hands-On Edge Analytics with Azure IoT

by Colin Dow
May 2020
Intermediate to advanced
262 pages
6h 48m
English
Packt Publishing
Content preview from Hands-On Edge Analytics with Azure IoT

Writing the edge code

For the edge component of the Smart Doorbell application, we require two classes and a container script. The following is a diagram of the edge code:

As we can see, Camera is the container script that contains the Face and Message classes. 

For our edge code, we will need to create a project folder with a subfolder called faces. The faces subfolder will store photos of people to train our program with (images available with code are in the GitHub repository). 

To do this, follow these steps:

  1. In Raspbian, navigate to the home directory by clicking on the home folders icon.
  2. Right-click to create a new folder called Smart ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

David Jensen

Publisher Resources

ISBN: 9781838829902Supplemental Content