• 14 Mar 2022
  • 2 Minutes to read
  • Contributors
  • Dark


  • Dark

Article Summary

Showcase 1: Geofencing

Preview Run Scenario in IDE

Showcase Requirements

Before installing this showcase to the device, please install ADLINK EVASDK and set the EVA environment as necessary.

Showcase 1 Installation

The path to the respective demo folder includes and for each showcase. will perform the following steps:

  1. Build the required plug-ins for each showcase and install them into ADLINK EVASDK.
  2. Download the inference intermediate model file and convert it to TensorRT format on the local device.
  3. Download the required showcase demo videos and plug-in setup files.

For this showcase:

Use the path:

> cd src/demo/geofence

For Windows,

> cd src\demo\geofence\windows

Run with root privileges:

> ./

For Windows:

> install-win.bat

This is required to modify the path to the OpenCV library. If you have installed EVA on a non-ADLINK device, please check the requirements in our EVA portal.

The mobilenetssdv2 is the default installed, if want to install yolov3, use the argument below:

> ./ yolov3

For Windows:

> install-win.bat yolov3

After installation, execute for the pipeline command:

> ./

For Windows:

> run-win.bat

The mobilenetssdv2 is the default run, if yolov3 is installed, use the argument below:

> ./ yolov3

For Windows:

> run-win.bat yolov3

Or you can open EVA_IDE and load pygraph then execute, please see the section, Run This Showcase Through EVA IDE.

Then you will see the pop-up display window of this showcase as in the example below.

The red area denotes the restrict area which defined in alert-def-area-geo.txt depends on the video. This file provides the defined area with normalized clockwise coordinates x and y each row. Once you modified this geofence plugin source code, required to rebuild it simply direct to the path /src/plugins/geofence and run for ubuntu system or geofence-build.bat for windows 10. (windows version of this showcase will provide in later version) The email alert plugin were implemented in python. Once modified the email alert plugin, direct to /src/plugins/alert/email and run for ubuntu or email-build.bat for windows 10. (windows version of this showcase will provide in later version). The same rebuild procedure for other alert plugins. More detail setting could be found in EVA Portal.

*Modified installation details can be found at the EVA Portal: < Under Construction >

Training Materials

The training materials can be downloaded with the following links.

Training images:

Training notation for mobilenetSSDv2:

Training notation for yolov3:

Training architecture site list below:

mobilenetSSDv2:, ssd_mobilenet_v2_coco


Note: Showcases 1 and 2 use the same training materials.

Run This Showcase Through EVA IDE(For EVASDK 3.5.2 or later)

In this showcase, you can run the pipeline by execute but also EVA IDE. Open EVA IDE and make sure your current path is in src/demo/geofence as root:


EVA_ROOT is the path where the EVA is installed, the default installed path is /opt/adlink/eva/. So directly call EVA_IDE:

> /opt/adlink/eva/bin/EVA_IDE

And you will see the IDE show up as below:

Then select the pygraph you want to run, here for example select showcase1-mobilenetssdv2.pygraph in this showcase folder through File->Load. Then you can see this showcase pipeline:

The settings are default set relevant to this scenario

fig: fig:

Provide an email address you want to receive from the alert for this show case in "receiver-address". Then press the play button fig: and you will see the scenario video start to play.

For Linux, add "+h264parse" in file : /home/USER_ACCOUNT/adlink/eva/IDE/config/element_list.txt.

For Windows 10, add "+h264parse" in file : C:\ADLINK\eva\IDE\config\element_list.txt

Was this article helpful?

What's Next