Road Line Detection - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English

The Road Line Detection library is used to draw lane lines in ADAS applications. Each lane line is represented by a number representing the category. A vector<Point> is used to draw the lane line. In the test code, a 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 shows the result of road line detection.

Figure 1. Road Line Detection Example
The following table lists the road line detection models supported by the Vitis AI Library.
Table 1. Road Line Detection Models
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.