Skip to main content

Build a fruit quality detector

Instructions

Build the fruit quality detector!

Take everything you have learned so far and build the prototype fruit quality detector. Trigger image classification based off proximity using an AI model running on the edge, store the results of the classification in storage, and control an LED based off the ripeness of the fruit.

You should be able to piece this together using code you have previously written in all the lessons so far.

Rubric

CriteriaExemplaryAdequateNeeds Improvement
Configure all the servicesWas able to set up an IoT Hub, Azure functions application and Azure storageWas able to set up the IoT Hub, but not either the Azure functions app or Azure storageWas unable to set up any internet IoT services
Monitor proximity and send the data to IoT Hub if an object is closer than a pre-defined distance and trigger the camera via a commandWas able to measure distance and send a message to an IoT Hub when an object is close enough, and have a command send to trigger the cameraWas able to measure proximity and send to IoT Hub, but unable to get a command sent to the cameraWas unable to measure distance and send a message to IoT Hub, or trigger a command
Capture an image, classify it and send the results to IoT HubWas able to capture an image, classify it using an edge device and send the results to IoT HubWas able to classify the image but not using an edge device, or was unable to send the results to IoT HubWas unable to classify an image
Turn the LED on or off depending on the results of the classification using a command sent to a deviceWas able to turn an LED on via a command if the fruit was unripeWas able to send the command to the device but not control the LEDWas unable to send a command to control the LED