During the current uncertain times, providing peace-of-mind for both customers and passengers in airports, malls, and bus/train stations is paramount. Enterprises are in search of a comprehensive and flexible threat detection and management solution curated to meet their needs.
As part of the Microsoft Azure Percept Bootcamp, a team from HCL, leveraging the capabilities of Azure Percept, developed a threat detection solution to identify anomalies such as suspicious objects and generate alerts to ensure proper actions are taken in a timely manner.
In this article, we can see how easy it is to build a versatile vision solution with Azure Percept catering to the relevant enterprise verticals. We’ll go through the end-to-end solution encompassing the architecture and implementation, including the various subcomponents using Azure services.
The solution depicts a scenario involving a fictious airport called Thrimain Airport, where security is a concern. Thrimain needs a streamlined automated process to detect threats and send an alert upon such identification. We identified three sample objects to demonstrate the different threats. Once Azure Percept has trained the AI model, we could observe the live video stream at the edge as well as the inferenced data sent to our management engine developed in HCL and hosted in Azure. We then mapped the detections to corresponding threat levels and had a central dashboard to display all the threats and their associated time stamps and alerts generation.
A brief demo of the end-to-end solution can be found in the following YouTube video:
The following diagram shows the overall architecture for the solution:
The solution uses Azure Percept to detect the presence of threats. For proof-of-concept simplification purposes, we used the following objects for threats:
1 Weapon: threat level = 8
1 Unattended bag: threat level = 5
1 Apple: threat level = 1 (a tripping hazard)
The solution leverages the Azure Cognitive Services object detection model. After training the model, we deployed it over the air to Azure Percept. The latter processes the real time video stream at the edge and channels the telemetry data to Azure IoT Hub. The event data is then sent to Azure Stream Analytics for processing and filtering, and the data insights are forwarded to either Power BI or Management Engine via Service Bus for mapping of threats, aggregation over time periods, and visualization.
The threat detection solution is created as a proof of concept using the detection of basic objects in lieu of threats in airports, stations, and malls. The details of the project implementation are described below.
The first step is to use Custom Vision, part of the Azure Cognitive Services, to load and capture images, annotate the data, train the model, and deploy the model to Azure Percept. In this project, we used a minimum of fifty images per object to ensure better prediction via having varied environmental conditions, quantity, and background.
Below is a sample output of the video stream once the model is deployed along with the inferenced data:
We created the Azure Stream Analytics job to derive telemetry data and process it to channel to Power BI or Management Engine via Service Bus Queue:
The query extracts relevant insights from telemetry data and outputs to either Power BI or Management portal via the Service Bus.
We configured Power BI to receive the data stream from Stream Analytics so we can visualize the timestamp and associated threat detection results.
Service Bus to Management Engine
An alternate output method is to develop a custom Management Engine to receive input from the Service Bus.
The Management Engine extracts the real-time data insights received from the service bus, maps the different threat level corresponding to the objects, aggregates data samples over a fixed time interval, and displays the data and alerts generated based on different threat levels.
Below is the dashboard for the visualization of real time detection and the corresponding mapped threat alerts.
Azure Percept is a complete edge computing solution that powers real-time insights through hardware accelerators integrated with Azure AI and ML, which is very easy to use. This proof of concept is a simplified demonstration of a real-world threat detection solution. It can be a starting point to a more comprehensive threat detection solution. Augments such as combining audio inputs, incremental threat level based on the time interval of unattended objects, as well as more comprehensive alerting and management center can be the next roadmap items. Furthermore, this solution can be integrated with 5G MEC and AI edge application suite.
To learn more about Azure Percept, visit these resources:
Microsoft Build 2022 Key Sessions
GTC Spring 2022 Key Sessions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.