Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Line Segment Detection Using Transformers without Edges

About

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

Yifan Xu, Weijian Xu, David Cheung, Zhuowen Tu• 2021

Related benchmarks

TaskDatasetResultRank
Line Segment DetectionYorkUrban (test)
sAP (10px)29.4
39
Line Segment DetectionWireframe dataset (test)
sAP^{10}65.2
34
Line Segment DetectionYorkUrban
sAP524
33
Line Segment DetectionWireframe
sAP50.592
18
Wireframe ParsingWireframe
AP (5)59.2
11
Wireframe ParsingYorkUrban
sAP523.9
11
Showing 6 of 6 rows

Other info

Code

Follow for update