Skip to the content.

OpenVINO Demo Kit

Latest Release Apache License Version 2.0 Ubuntu Python Check

This is a tool that can make you run intel openVINO Demos and samples easily. It helps you to install openVINO, build demos, download/convert models,run DLWorkbench automatically. No need to run those demos/samples or operations manully with long arguments and path. Also, this Demo Kits support to run benchmark app with multiple models dump the throughputs, Latency,etc. in one .csv file. It might help you to suvery your device’s AI performance on different kinds of model.


Contant


Getting Start

Following Environments is require to this demo kit

We suggest to follow the official guides to install Intel® Distribution of OpenVINO™ toolkit in version 2021.4. Or you can also use this demo kit to install from APT Repository.

This Demo Kit also support docker, Please visit synnexgrp/openvino Docker Hub Website for more info.

Docker Link Docker Size

For TigerLake Platform: synnexgrp/tgl_saleskit Docker Hub Website

Docker Link Docker Size

It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have not install OpenVINO, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.
 6. Install OpenVINO.

In this situation, please refer to Install OpenVINO section.

If you had install OpenVINO, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.(Done!)
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

Install OpenVINO

We suggest to follow the official guides to install Intel® Distribution of OpenVINO™ toolkit in version 2021.4. Or you can also use this demo kit to install from APT Repository.

Install OpenVINO using Demo Kit

It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have not install OpenVINO, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.
 6. Install OpenVINO.

choose ‘6’ to install OpenVINO from APT Repository. keyin “6” and press ENTER. (Need internet connection) If the installation has done, It will go back to the list and the “Install OpenVINO.” option will not show again.


Build Samples and Demos

The Open Model Zoo demo applications are console applications that provide robust application templates to help you implement specific deep learning scenarios. These demo codes are include in OpenVINO Package, The Demo Kit can help you build these demos and samples easily, just one key! It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have install OpenVINO, and have not build the samples and demos, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

choose ‘2’ to Build all the samples and demos. (Key-in “6” and press ENTER.) After these samples and demos are built, the Demo Kit will show the Head list again, but Sample build options mark as “DONE”

2. Sample Build.(Done!)

Query Devices

This feature run Hello Query Device C++ Sample queries all available Inference Engine devices, prints their supported metrics and plugin configuration parameters.


Run Deep Learning Workbench

Deep Learning Workbench (DL Workbench) is the OpenVINO™ toolkit UI designed to make the production of pretrained deep learning models significantly easier. And Our Demo kit help you to install and run DL Workbench quickly and easily!

It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have install OpenVINO, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

choose ‘5’ to Run Deep Learning Workbench (Key-in “5” and press ENTER.) The Demo Kit will guide you to https://openvinotoolkit.github.io/workbench_aux/ . Select your Options and run Execute / Results from appears from the website.


Model Downloader

Model Downloader in the Demo Kit enable you to download Open Model Zoo(OMZ) model easily, and help you to convert/quantize public model from OMZ public models. It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have install OpenVINO, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 1. Inference Engine Sample Demo.
 2. Sample Build.
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

choose ‘3’ to open the downloader page (Key-in “3” and press ENTER.)

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|            Model Downloader             |
|=========================================|
| Support OpenVINO 2021.4.582

 1. Download all from DLDT. (about 45.3 GB)
 2. Typein specific DLDT model.
 3. Typein an URL of the model.
 4. Convert all public model to IR (Need about 36.9G Bytes)
 5. EXIT the downloader.
 6. Quantize all public models. (Need about 4.1GB for COCO, VOC2012, VOC2007 dataset)

In Demo Kit’s Model Downloader you can …


Run Benchmark App

You can quick start with the Benchmark Tool inside the OpenVINO™ Deep Learning Workbench (DL Workbench). DL Workbench is the OpenVINO™ toolkit UI you to import a model, analyze its performance and accuracy, visualize the outputs, optimize and prepare the model for deployment on various Intel® platforms.

The Demo Kit use the Benchmark C++ Tool to estimate deep learning inference performance on supported devices (default in asynchronous mode). It is convient especially if you want to estimate multiple models from Open Model Zoo on your devices. The Demo Kit will export a csv file including Throughput, Latency,duration and count message of all/Specific model’s benchmarking results. It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have install OpenVINO, and also have built samples, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 0. Run Benchmark App
 1. Inference Engine Sample Demo.
 2. Sample Build.(Done!)
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

choose ‘0’ to Run Benchmark App (Key-in “0” and press ENTER.)

[Input your target device. (CPU,GPU,MYRIAD,HDDL,MULTI,HETERO,etc.)] >>>

input the device you want to test. (e.g. CPU / GPU / MYRIAD / HDDL / MULTI:CPU,GPU …..)

======= Model List =======
1. [dldt] 	action-recognition-0001-decoder		[FP16][FP16-INT8][FP32]
2. [dldt] 	action-recognition-0001-encoder		[FP16][FP16-INT8][FP32]
3. [dldt] 	age-gender-recognition-retail-0013		[FP16][FP16-INT8][FP32]
 .
 .
 .
281. [tf] 	yolo-v3-tiny-tf		[FP16][FP32][FP16-INT8*]
282. [tf] 	yolo-v4-tf		[FP16][FP32][FP16-INT8*]
283. [tf] 	yolo-v4-tiny-tf		[FP16][FP32]
 Input the name or number of the Model for benchmarking, or Input "all" to test all models >>> 

You can input “all” to test all models. To test specific model, you can input the name of the model, the number of the model or the path to a model.

You can also skip some model by edit “model_test_ban_list” in the “OpenVINO_Demo_Kit/Source/benchmark.py”, here’s an example:

model_test_ban_list = ['instance-segmentation-security-0091','person-detection-0106','text-spotting-0005-detector']

In this case, these three models,’instance-segmentation-security-0091’,’person-detection-0106’,’text-spotting-0005-detector’ will not been benchmark.


Run OpenVINO Demos

This Demo Kit helps you to quickly run OpenVINO Demos in a simple way, by just input some index numbers instead of a long arguments. It’s very simple to run the Demo Kit. Just open the terminal in OpenVINO Demo Kit directory and run

./Demo_Kit.sh

If you have install OpenVINO, and also have built samples, the Demo kit will show as

|=========================================|
|  SYNNEX TECHNOLOGY INTERNATIONAL CORP.  |
|                                         |
|        Intel OpenVINO Demostration      |
|=========================================|
| Ver. 7.0.0 | Support OpenVINO v2021.4.582
| You've installed  openvino_2021.4.582 on 20.04
|
 0. Run Benchmark App
 1. Inference Engine Sample Demo.
 2. Sample Build.(Done!)
 3. Model Downloader.
 4. Query Device.
 5. Run Deep Learning Workbench.

choose ‘1’ to Run Benchmark App (Key-in “1” and press ENTER.) Then the demo kit will show up a list


Demo List

  1. Security Barrier Camera Demo
  2. Interactive Face Detection Demo
  3. Classification Demo
  4. Object Detection Demo
  5. Human Pose Estimation Demo. (2D)
  6. Human Pose Estimation Demo. (3D)
  7. Crossroad Camera Demo
  8. Image Processing Demo
  9. Pedestrian tracker demo
  10. Smart Classroom Demo
  11. Image Segmentation Demo
  12. Instance Segmentation Demo
  13. Gaze Estimation Demo
  14. Text Detection Demo
  15. Text Spotting Demo
  16. Action Recognition Demo
  17. Multi Camera Multi Target Demo
  18. Colorization Demo
  19. Gesture Recognition Demo
  20. Face Recognition Demo
  21. Social Distance Demo
  22. Whiteboard Inpainting Demo
  23. MonoDepth Demo
  24. Text-to-speech Demo
  25. Real Time Speech Recognition Demo
  26. BERT Named Entity Recognition Demo

Security Barrier Camera Demo

Interactive Face Detection Demo

Classification Demo

Object Detection Demo

Human Pose Estimation Demo. (2D)

Real Time Speech Recognition Demo

BERT Named Entity Recognition Demo