[DOCKER] Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" Ubuntu container version (1)

** * This article is for the Ubuntu container (ubuntu_openvino_2020R3.tar) of AE2100. ** **

wrap up

――This article explains how to set up the OKI AI edge computer "AE2100". --Explains how to install VcXsrv (X-Window client) required to run GUI applications on AE2100 (Ubuntu container).

Introduction

The firmware of the AE2100 was upgraded in September 2020, and an Ubuntu container equipped with OpenVINO 2020 R3 has also been released.

The "Let's run the OpenVINO sample on the OKI AI edge computer" AE2100 "(1))-(3)" posted so far was targeted at the CentOS container equipped with OpenVINO 2019 R3.1. I will post a series of articles that have been modified for Ubuntu containers.

In this article, which is the first in the Ubuntu version, we will install VcxSrv on a Windows PC connected to the AE2100 and check the operation of the GUI application. The main change from "Let's run the OpenVINO sample on the OKI AI edge computer" AE2100 "(1))" is that the X application is installed using the apt-get command when installing the calculator application. It is a point.

environment

The execution environment assumes the configuration shown in the following figure. Make sure that you can connect to the AE2100 from your Windows PC with TeraTerm and connect to the Internet from the AE2100. The container version of AE2100 is "ubuntu_openvino_2020R3.tar". network-ae2100-internet.png

Install VcXsrv

VcXsrv is a free X Server client used to display GUI applications on the screen. Here, VcXsrv is installed on a Windows PC. Access SourceForge.net from a web browser and download the “VcXsrv” installer. https://sourceforge.net/projects/vcxsrv/ vcxsrv-download.png

When you run the downloaded installer, the following screen will appear. Leave the settings as they are and press [Next]. vcxsrv-installation-options.png

Check and select the installation folder and click "Install". vcxsrv-installation-folder.png

Click Close when the installation is complete. vcxsrv-complete.png

Start VcXsrv

Start VcXsrv → Xlaunch from the start menu of Windows PC. start-menu-xlaunch.png

Leave the settings as they are and click Next. (Select "Multiple Window") display-settings.png

Leave the settings as they are and click Next. (Select Start no client) client-startup.png

Check "Disable access control" and click "Next". extra-settings.png

Save your settings with Save configration and press Finish. complete.png

If a screen like the one in the image below appears, press [Allow access]. firewall-pub.png

And if the Xlaunch icon is displayed at the bottom right of the taskbar, it is successful. xlaunch-taskbar.png

AE2100 container settings

Log in to the AE2100 host OS with TeraTram and enter the container with the following command. (If the container is not started, start it referring to "AE2100 Series SDK Instruction Manual-Deep Learning Edition-" (version: 1.2) P.20.)

root@ae2100:~# docker exec -it ubuntu-openvino /bin/bash

This time I will run the calculator of the X application. Install the X application with the following command.

# apt-get install x11-apps

Specify the IP address of the Windows PC that is the window display destination.

# export DISPLAY=192.168.100.101:0.0

Running GUI application

Enter the following command inside the AE2100 container.

# xcalc &

The calculator app will appear on your Windows PC desktop. calc-0.png

Let's try to calculate by pressing the button. For example, if you enter "8", "*", and "8", "64" will be displayed. The application window is displayed on the PC, but the calculation itself is done by the AE2100. calc-64.png

If you don't see the calculator, see Windows Firewall and Network Protection. Please Confirm. Open the Windows "Firewall and Network Protection" screen and open Select Allow application by firewall. firewall.png

Press the setting change button, check VcXsrv windows x server as shown in the screen below, and press the OK button. app-permission.png

Summary

This time, I set the window display of the PC connected to the AE2100. From the next time, I will run the OpenVINO sample program.

The following articles will be published. --OKI AI Let's run the OpenVINO sample program on the edge computer "AE2100" Ubuntu container version (2) --OKI AI Let's run the OpenVINO sample program on the edge computer "AE2100" Ubuntu container version (3)

The following is an article for the CentOS container version. -[Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" (1)](https://qiita.com/TWAT/items/2ad6c7329c6e0e29a00d) -[Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" (2)](https://qiita.com/TWAT/items/d2a899c0593d1a60b111) -[Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" (3)](https://qiita.com/TWAT/items/5cae8062b05aa159240a)

Recommended Posts

Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" Ubuntu container version (1)
Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" Ubuntu container version (3)
Let's run the OpenVINO sample program on the OKI AI edge computer "AE2100" Ubuntu container version (2)
Let's capture the image of the IP camera to the OKI AI edge computer "AE2100"
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
Run NordVPN on Docker (Windows) Ubuntu container
Run Edge (Chromium version) on Mac with Selenium
Install the latest version of Jenkins on Ubuntu 16
How to run NullpoMino 7.5.0 on Ubuntu 20.04.1 64bit version