TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/LINEA: Fast and Accurate Line Detection Using Scalable Tra...

LINEA: Fast and Accurate Line Detection Using Scalable Transformers

Sebastian Janampa, Marios Pattichis

2025-05-22Line DetectionLine Segment Detection
PaperPDFCode(official)

Abstract

Line detection is a basic digital image processing operation used by higher-level processing methods. Recently, transformer-based methods for line detection have proven to be more accurate than methods based on CNNs, at the expense of significantly lower inference speeds. As a result, video analysis methods that require low latencies cannot benefit from current transformer-based methods for line detection. In addition, current transformer-based models require pretraining attention mechanisms on large datasets (e.g., COCO or Object360). This paper develops a new transformer-based method that is significantly faster without requiring pretraining the attention mechanism on large datasets. We eliminate the need to pre-train the attention mechanism using a new mechanism, Deformable Line Attention (DLA). We use the term LINEA to refer to our new transformer-based method based on DLA. Extensive experiments show that LINEA is significantly faster and outperforms previous models on sAP in out-of-distribution dataset testing.

Results

TaskDatasetMetricValueModel
Line Segment DetectionYork Urban DatasetsAP1034.9LINEA-L
Line Segment DetectionYork Urban DatasetsAP1537.3LINEA-L
Line Segment DetectionYork Urban DatasetsAP530.9LINEA-L
Line Segment DetectionYork Urban DatasetsAP1034.5LINEA-M
Line Segment DetectionYork Urban DatasetsAP1536.7LINEA-M
Line Segment DetectionYork Urban DatasetsAP530.3LINEA-M
Line Segment DetectionYork Urban DatasetsAP1032.6LINEA-S
Line Segment DetectionYork Urban DatasetsAP1534.8LINEA-S
Line Segment DetectionYork Urban DatasetsAP528.9LINEA-S
Line Segment DetectionYork Urban DatasetsAP1030.5LINEA-N
Line Segment DetectionYork Urban DatasetsAP1532.5LINEA-N
Line Segment DetectionYork Urban DatasetsAP527.3LINEA-N

Related Papers

Detection of Rail Line Track and Human Beings Near the Track to Avoid Accidents2025-07-03ScaleLSD: Scalable Deep Line Segment Detection Streamlined2025-06-11ClearLines - Camera Calibration from Straight Lines2025-05-01Persistence-based Hough Transform for Line Detection2025-04-18The Efficacy of Semantics-Preserving Transformations in Self-Supervised Learning for Medical Ultrasound2025-04-10Robust Detection of Extremely Thin Lines Using 0.2mm Piano Wire2025-03-04BST: Badminton Stroke-type Transformer for Skeleton-based Action Recognition in Racket Sports2025-02-28Advanced YOLO-based Real-time Power Line Detection for Vegetation Management2025-02-26