LINEA: Fast and Accurate Line Detection Using Scalable Transformers

Sebastian Janampa, Marios Pattichis
5/22/2025
cs.CV

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{janampa2025linea,
  title  = {LINEA: Fast and Accurate Line Detection Using Scalable Transformers},
  author = {Sebastian Janampa and Marios Pattichis},
  year   = {2025},
  eprint = {2505.16264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16264v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16264.svg)](https://codeofpaper.com/paper/2505.16264)

Discussion