Demo 2: Multi-Task Segmentation+Car Detection and Pose Detection - 1.1 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2020-03-23
Version
1.1 English

Target Application

  • ADAS/AD
  • Smartcity

AI Model, Performance, and Power

  • FPN
    • 960x540, 1ch, 30fps
  • Openpose
    • 960x540, 1ch, 30fps
  • 20W @ ZU9EG

Build and Run the Demo

Build the demo in the host and copy the program to the target board.

$cd ~/Vitis-AI/Vitis-AI-Library/overview/demo/seg_and_pose_detect
$bash -x build.sh
$scp seg_and_pose_detect_x seg_and_pose_detect_drm root@IP_OF_BOARD:~/

To use OpenCV display, run the following command.

#./seg_and_pose_detect_x seg_960_540.avi pose_960_540.avi -t 4 -t 4 >/dev/null 2>&1
If you want to use DRM display, please connect to the board via SSH. And run the following command.
#/etc/init.d/weston stop
#./seg_and_pose_detect_drm seg_960_540.avi pose_960_540.avi -t 4 -t 4 >/dev/null 2>&1
The video files are in the vitis_ai_library_r1.1_video.tar.gz. Please download the package from https://github.com/Xilinx/Vitis-AI .

Demo Picture

Figure 1. Segmentation and Pose Detection Demo Picture