Road Line Detection - 3.0 English

Vitis AI Library User Guide (UG1354)

Document ID
Release Date
3.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 to the Vitis AI Library implementation of this network is fixed at 480x640. Inputs of different dimensions must be resized.