Line Segment Detection Using Transformers Without Edges
Abstract
In this paper, we present a joint end-to-end line segment detection algorithm using Transformers that is post-processing and heuristics-guided intermediate processing (edge/junction/region detection) free. Our method, named LinE segment TRansformers (LETR), takes advantages of having integrated tokenized queries, a self-attention mechanism, and encoding-decoding strategy within Transformers by skipping standard heuristic designs for the edge element detection and perceptual grouping processes. We equip Transformers with a multi-scale encoder/decoder strategy to perform fine-grained line segment detection under a direct endpoint distance loss. This loss term is particularly suitable for detecting geometric structures such as line segments that are not conveniently represented by the standard bounding box representations. The Transformers learn to gradually refine line segments through layers of self-attention. In our experiments, we show state-of-the-art results on Wireframe and YorkUrban benchmarks.
Cite
Text
Xu et al. "Line Segment Detection Using Transformers Without Edges." Conference on Computer Vision and Pattern Recognition, 2021. doi:10.1109/CVPR46437.2021.00424Markdown
[Xu et al. "Line Segment Detection Using Transformers Without Edges." Conference on Computer Vision and Pattern Recognition, 2021.](https://mlanthology.org/cvpr/2021/xu2021cvpr-line/) doi:10.1109/CVPR46437.2021.00424BibTeX
@inproceedings{xu2021cvpr-line,
title = {{Line Segment Detection Using Transformers Without Edges}},
author = {Xu, Yifan and Xu, Weijian and Cheung, David and Tu, Zhuowen},
booktitle = {Conference on Computer Vision and Pattern Recognition},
year = {2021},
pages = {4257-4266},
doi = {10.1109/CVPR46437.2021.00424},
url = {https://mlanthology.org/cvpr/2021/xu2021cvpr-line/}
}