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.
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.