Road Line Detection - 1.1 English

Vitis AI Library User Guide (UG1354)

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

The library is used to draw lane lines in the adas library and each lane line is represented by a number type representing the category and a vector<Point> used to draw the lane line. In the test code, color map is used. Different types of lane lines are represented by different colors. The point is stored in the container vector, and the polygon interface cv::polylines() of OpenCv is used to draw the lane line. The following image show the result of road line detection.

Figure 1. Road Line Detection Example
The following table shows the road line detection model supported by the AI Library.
Table 1. The road line detection model list
No Model Name Framework
1 vpgnet_pruned_0_99 Caffe
Note: The input of the image is fixed at 480x640 and images of other sizes need to be resized.