Ultra-Fast-Lane-Detection-v2 icon indicating copy to clipboard operation
Ultra-Fast-Lane-Detection-v2 copied to clipboard

关于每条车道线预测点的颜色如何修改

Open Astulx opened this issue 3 years ago • 1 comments

每条车道线预测点结果都是绿色,如果我想得到像论文里的那种每条车道线预测点是不同的颜色,请问该在哪里修改。

Astulx avatar Mar 24 '23 01:03 Astulx

@Astulx 车道线的组织形式是[lane1, lane2, ...],其中每个lane[(x1,y1),(x2,y2),...],你只需要拿出来不同的车道线给不同的颜色就可以了。 https://github.com/cfzd/Ultra-Fast-Lane-Detection-v2/blob/849fa7b90c189b646d12adc1d807bec54e982031/demo.py#L114-L117

cfzd avatar Mar 27 '23 10:03 cfzd