Edge AI Box for Video Analytics

Version: 2.5   Published: 06/28/2021  

Last Updated: 09/02/2022

Overview

Integrate video decode on multiple streams with video analytics. Configure your application end-to-end with flexible AI capacity and a Reference Video Analytics pipeline for fast development. 

Edge AI Box for Video Analytics is available in two install scripts – development and deployment – for different stages of the solution development cycle.  

Edge AI Box for Video Analytics can be a standalone device connected to cameras to enable edge analytics in real time. In addition, it can be connected to the network and serve as a discrete AI service on the network to run offline deep learning analytics on-demand.

Select Configure & Download to download the package and the software listed below.

Configure & Download

Icon representing situational monitoring. It is a circle with a tilted triangle in the center. There is an exclamation point, circle, and check mark located on the outer circle.

  • Programming Language: Python, C , C++
  • Available Software: Intel® Distribution of OpenVINO™ toolkit 2022.1.0

Recommended Hardware

The hardware below is recommended for use with this package. See the Recommended Hardware page for other suggestions. 


Target System Requirements 

  • 11th and 12th Generation Intel® Core™ processors and Celeron® processors
  • Operating System:
    • Ubuntu* 20.04 with Kernel Version 5.8 or newer 
    • Ubuntu* 20.04.4 with Kernel Version 5.17.15 for 12th Generation Intel® Core™ processors
  • At least 128GB disk space 
  • At least 8GB (4GB x2) memory with 8GB swap space 
  • Direct Internet Access

NOTE: If Kernel version is less than 5.17.15, then Kernel will be upgraded to 5.17.15 for 11th and 12th Generation Intel® Core™ processors and Celeron® processors during the installation of the package.


How It Works 

Edge AI Box for Video Analytics creates a full video analytics pipeline for lightweight edge devices. This package is optimized for 11th and 12th Generation Intel® Core™ processors and Celeron® processors, which come with integrated graphics capable of offering AI computing accelerations with both performance and efficiency.  

Pick the software modules required for your solution and download the installation scripts accordingly. In this release, different flavors of installation scripts are provided – Development and Deployment. (see Figure 1) 

Development Package 

The development package makes the necessary modules available (see Figure 2):  

  • Intel® Distribution of OpenVINO™ toolkit  
  • MQTT service  
  • TensorFlow Bridge  
  • Gstreamer 
  • Intel® Deep Learning Streamer (Intel® DL Streamer)    
  • SQLite DB*   
  • Docker Community Edition (CE)*  
  • Docker Compose*

Other components are available in containers, such as Cloud Service Provider connectors (Microsoft Azure* and AWS*), InfluxDB* database, and containerized OpenVINO™ toolkit. The development package targets to provide full SDK or toolkits for you to set up your development environment with the least effort. 

Deployment Package 

The deployment package has the same key software available as the deployment package, but the preselected modules are mainly run-time libraries. The objective is to minimize the installation footprint of the package, so that it is suitable for being deployed to the edge devices where memory and storage could be constrained resources. 

the diagram is represented by a block diagram. The leftmost block is the Configuration phase, at the center is the Intel Developer Catalog UI with arrows to two right blocks: Development Package on the top and Deployment package on the bottom.
Figure 1: Usage of Edge AI Box for Video Analytics – Development and Deployment. 

 

 

As depicted in Figure 2, the integrated GPU (iGPU) is the primary target platform where AI workloads are deployed. The CSP connectors are the interface for the Edge AI Box to leverage cloud services to create edge-to-cloud functions such as telemetry, device onboarding, and manageability. Furthermore, we also have a number of reference implementations, such as Smart Video AI Workload, as a quick demo tool for developers to evaluate the performance of the Edge AI Box hardware.

The architecture is represented by a complex block diagram. The top block starts with Cloud on the left, then a box with Azure* and its features, then a box with GitHub and Docker, then a final one with Intel features. The box below it starts with Device on the left, and then multiple levels of boxes next to it. AI + Media Pipeline Stack is on top of the Base Stack for Docker and Kubernetes.
Figure 2: Software Stack Diagram of the AI Box for Video Analytics

 


Get Started

Prerequisites

  • Root password must be set for the system.
  • For 12th Generation Intel® Core™ Processors or Celeron® processors (products formerly Alder Lake) to work with GPU accelerators, complete the steps below: 
    • sudo vim /etc/default/grub 
    • Append “i915.force_probe=*” to the end of GRUB_CMDLINE_LINUX_DEFAULT: 
    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.force_probe=*" 
    • sudo update-grub 
    • sudo reboot 

NOTE: These steps are also required for Smart Video AI Workload reference implementation.

Install the Package 

Select Configure & Download to download the package and then follow the steps below to install it.  

Configure & Download

 

  1. Open a new terminal, go to the downloaded folder and unzip the downloaded package:  
    unzip edge_ai_box_for_video_analytics.zip

     

  2.  Go to the edge_ai_box_for_video_analytics/ directory:
    cd edge_ai_box_for_video_analytics
      
  3. Change permission of the executable edgesoftware file: 
    chmod 755 edgesoftware
     
  4. Run the command below to install the package: 
    ./edgesoftware install

     

  5. During the installation, you will be prompted for the Product Key. The Product Key is contained in the email you received from Intel confirming your download. 

    A console window showing a system prompt to enter the Product Key.

  6. When the installation is complete, you see the message “Installation of package complete” and the installation status for each module. 
  7. A console window showing system output during the install process. At the end of the process, the system displays the message “Installation of package complete” and the installation status for each module.

NOTE: Kernel will be upgraded to 5.17.15 for 11th and 12th Generation Intel® Core™ processors and Celeron® processors, so rebooting the system after installation is mandatory to work with iGPU.  


Build a Solution Based on the Package

Use the Single and Multi-object Detection with Hardware Acceleration tutorial application.

In addition, explore the demos located in the OpenVINO™ integration with TensorFlow* examples directory. 

To connect an IoT Plug and Play bridge sample running on Linux to Azure* IoT Hub, go through the sample with previously installed azure_cli, Azure IoT explorer and cloned repository.


Summary and Next Steps

With this application you successfully created a full video analytics pipeline for lightweight edge devices. 


Learn More

To continue learning, see the following guides and software resources: 


Troubleshooting 

If installation of OpenVINO™ toolkit TensorFlow Bridge component fails while running python tests for CPU, then do the following:

  1. Uninstall Python package of ‘keras’ and retry the installation. 
    $ pip3 uninstall keras

     

  2.  Or reboot the system once and install it again.

Support Forum

If you're unable to resolve your issues, contact the Support Forum.  

 

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.