――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).
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.
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".
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/
When you run the downloaded installer, the following screen will appear. Leave the settings as they are and press [Next].
Check and select the installation folder and click "Install".
Click Close when the installation is complete.
Start VcXsrv → Xlaunch from the start menu of Windows PC.
Leave the settings as they are and click Next. (Select "Multiple Window")
Leave the settings as they are and click Next. (Select Start no client)
Check "Disable access control" and click "Next".
Save your settings with Save configration and press Finish.
If a screen like the one in the image below appears, press [Allow access].
And if the Xlaunch icon is displayed at the bottom right of the taskbar, it is successful.
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
Enter the following command inside the AE2100 container.
# xcalc &
The calculator app will appear on your Windows PC desktop.
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.
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.
Press the setting change button, check VcXsrv windows x server as shown in the screen below, and press the OK button.
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