Viewing results from AWS DeepLens

There are two ways that we can observe the predictions from our model:

  1. View text predictions that AWS DeepLens sends back to the cloud
  2. View the video stream with the predictions overlaid onto image (the project stream)

Option 1. View text predictions in AWS IoT

We can see the inference results inside the AWS IoT console. Inside your device page, click copy to copy the IoT topic.

lab1-view-iot-1

Then click AWS IoT console to view the output.

Paste in the IoT topic and click Subscribe.

lab1-view-iot-2

You should see results like below:

lab1-view-iot-3

Because this is all captured and recorded in the cloud, you can make a function that acts on the inference results.

Option 2. View the video stream

DeepLens outputs 2 video streams: one from the raw camera and one with the predictions overlaid on top of the camera feed (project stream).

Here are the steps to view the video stream from your computer:

Step 1: Install the streaming certificate

From your AWS DeepLens console, go to Devices and click on your device name. You should see a page like the one below.

lab0-setup-stream-1

Now connect your device via USB cable and select Device Settings under Video Streaming.

Device Settings

lab0-setup-device-settings

Under video streaming, select your browser and OS. Follow the instructions provide to install the streaming certificate.

lab0-setup-stream-2

Hint: for newer macOS and Windows, you can double click on the downloaded certificate to install it. You will need administrative access to your computer to install the certificate.

Step 2: View the video stream

Go back to your device page and click View video stream.

You will be taken to a page like this. Do not be alarmed.

Click on Advanced and Proceed to x.x.x.x (unsafe). Trust us, it’s safe.

lab0-setup-stream-3

For macOS you’ll need to select the streaming certificate you installed earlier.

lab0-setup-stream-4

It will take a couple of seconds for the stream to load, please be patient.