AI-powered Security Cam – Technology deep-dives Part 1

AI-powered Security Cam – Technology deep-dives Part 1

[Reading Time: 3 minutes]

Introduction

After long, intensive hours, I finally have my SecurityCam in a state that I would like to introduce to you. I use cutting-edge technologies that are worth taking a closer look at. But before I start with the Technology-DeepDive in a multi-part report, I would like to give you my motivation. Maybe you can find yourself in it?

Why a smart SecurityCam

Quite a long time ago, I wanted to know what was going on on my doorstep. But especially I would like to know when the postman arrives or when he was there. If you have young children who should also have a nap in the afternoon, you know that. Nobody wants them to be awakened by a shrill bell. What our postmen usually can’t (or don’t want to 😈).

So I simply wanted to build a system that informs me that the postman is entering my courtyard driveway. Doof only that most systems of SecurityCams do not know what a postman is. That is why I have tried my own approach. .. and that came out of it:

System that people, cars, postcars and much more. recognizes and tracks.

This multi-part article is full of technologies that I would like to explain to you in more detail. Perhaps the list below will make you curious.

  • Azure IoTHub
  • Azure IoTEdge
  • Computer Vision API
  • Custom Vision API
  • Tensorflow
  • Azure Blob Storage
  • Jetson Nano

My hardware setup consists, roughly described, of a Jetson Nano (an embedded device from NVidia), connected via Ethernet (but can also WLAN) to the Internet and a WebCam. Since machine learning always needs a little more power and thus also ensures temperature, I have attached a fan to it.

Jetson Nano Setup

I have sketched the software-side components as a high-level architecture. In it, the Jetson Nano runs as an edge device and is connected to Microsoft Azure via the IoT Hub (Cloud Gateway). A loudspeaker enables machine-human communication.

High-level architecture

The nano can operate offline, but can also communicate with the cloud when the Internet connection is available. The Jetson Nano analyzes the images that a WebCam provides. Any object that is detected is cut out and placed in local storage. If the system detects a post bus, the message “I see a post bus” is displayed simultaneously on a loudspeaker. If the Internet connection is intact, the detected objects (image snippets) are transferred to the online storage and deleted locally. At the same time, the event data (when which object was sighted) is streamed to the cloud as time sequence data. The following image shows the incoming events in a filterable chart.

Figure 3 Timeseries data

And, are you curious? Then, in the next post, he continued: “
Custom Vision – I recognize the Postbus“. In this article, I describe how I built a machine learning model for recognizing a postcar.

By Thomas Tomow

As a Managing Consultant, I am working at Alegri in Stuttgart/Germany. There I keep focusing with a team specialized in IoT, UX/Design and DevOps on preparing customers for the next digital future. I have been working as IT Consultant, IT Architect and lead developer with skills in .NetFramework, agile methodologies like Scrum and much more for nearly 2 decades. In the last few years I started focusing in IoT & Digitalization strategies in enterprise scenarios. Manly I used Microsofts Azure Cloud, to support customers in letting their visions become true. Sharing knowledge and practicing principles is something, that I like very much. Therefore I am also Co-Administrator of Azure-Meetup group in Stuttgart, where I'd also like to share my experiences. With this I was awarded in november by Microsoft as a MVP (Most Valuable Professional).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.