sel118/LaneAF

Can laneaf detect the horizontal lane?

Closed this issue · 5 comments

Thanks for your great work! LaneAF clustering lane pixels row-by-row, from bottom to top. Can LaneAF detect the vertical lane and horizontal lane at the same time? like the picture below,thanks

微信截图_20210429135239

It should be possible to do this by creating a separate set of outputs (i.e. binary mask, HAF and VAF) for horizontal lines. You also would have to adapt the generateAFs() and decodeAFs() functions in utils/affinity_fields.py so that both these procedures operate from left to right (or right to left) instead of bottom to top.

It should be possible to do this by creating a separate set of outputs (i.e. binary mask, HAF and VAF) for horizontal lines. You also would have to adapt the generateAFs() and decodeAFs() functions in utils/affinity_fields.py so that both these procedures operate from left to right (or right to left) instead of bottom to top.

thanks for your answer,Do you mean like this?
horizontal_vertical_lane

Yes, your understanding is correct. In addition to the separate heads for horizontal and vertical lines, you would also have separate generateAFs() and decodeAFs() functions for horizontal and vertical lines respectively. You can modify the existing functions in utils/affinity_fields to create these functions for horizontal lines.

Thanks for your answer. It's very helpful

Did you experiment with the results of horizontal lane lines?
and how about laneatt model on horizontal lane lines?