You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IoT-For-Beginners/4-manufacturing/lessons/3-run-fruit-detector-edge/README.md

4.2 KiB

Run your fruit detector on the edge

Add a sketchnote if possible/appropriate

This video gives an overview of running image classifiers on IoT devices, the topic that is covered in this lesson.

Custom Vison AI on Azure IoT Edge

🎥 Click the image above to watch a video

Pre-lecture quiz

Pre-lecture quiz

Introduction

In this lesson you will learn about

In this lesson we'll cover:

Edge computing

Azure IoT Edge

The Azure IoT Edge logo

IoT Edge runs code from containers.

Register an IoT Edge device

To use an IoT Edge device, it needs to be registered in IoT Hub.

Task - register an IoT Edge device

  1. Create an IoT Hub in the fruit-quality-detector resource group. Give it a unique name based around fruit-quality-detector.

  2. Register an IoT Edge device called fruit-quality-detector-edge in your IoT Hub. The command to do this is similar to the one used to register a non-edge device, except you pass the --edge-enabled flag.

    az iot hub device-identity create --edge-enabled \
                                      --device-id fruit-quality-detector-edge \
                                      --hub-name <hub_name>
    

    Replace <hub_name> with the name of your IoT Hub.

  3. Get the connection string for your device using the following command:

    az iot hub device-identity connection-string show --device-id fruit-quality-detector-edge \
                                                      --output table \
                                                      --hub-name <hub_name>
    

    Replace <hub_name> with the name of your IoT Hub.

    Take a copy of the connection string that is shown in the output.

Set up an IoT Edge device

Task - set up an IoT Edge device

The IoT Edge runtime only runs Linux containers. It can be run on Linux, or on Windows using Linux Virtual Machines.

Create a classifier that can run on the edge

Run your classifier on the edge

Task - deploy your classifier using IoT Edge

Task - use the edge classifier from your IoT device


🚀 Challenge

Post-lecture quiz

Post-lecture quiz

Review & Self Study

Assignment