Showcase 1: Geofencing
Preview Run Scenario in IDE
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 install.sh and run.sh for each showcase.
Install.sh will perform the following steps:
- Build the required plug-ins for each showcase and install them into ADLINK EVASDK.
- Download the inference intermediate model file and convert it to TensorRT format on the local device.
- Download the required showcase demo videos and plug-in setup files.
For this showcase:
Use the path:
> cd src/demo/geofence
> cd src\demo\geofence\windows
Run install.sh with root privileges:
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:
> ./install.sh yolov3
> install-win.bat yolov3
After installation, execute run.sh for the pipeline command:
The mobilenetssdv2 is the default run, if yolov3 is installed, use the argument below:
> ./run.sh yolov3
> 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 geofence-build.sh 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 email-build.sh 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 >
The training materials can be downloaded with the following links.
Training images: http://sftp.adlinktech.com/image/EVA/EVA_Show-Case/training/showcase1-2/geo-fencing-training-images.zip
Training notation for mobilenetSSDv2: http://sftp.adlinktech.com/image/EVA/EVA_Show-Case/training/showcase1-2/geo-fencing-mobilenetSSDv2.zip
Training notation for yolov3: http://sftp.adlinktech.com/image/EVA/EVA_Show-Case/training/showcase1-2/geo-fencing-yolov3.zip
Training architecture site list below:
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 run.sh 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:
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
Provide an email address you want to receive from the alert for this show case in "receiver-address". Then press the play button 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