Sebastian Janampa, Marios Pattichis
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.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Line Segment Detection | York Urban Dataset | sAP10 | 34.9 | LINEA-L |
| Line Segment Detection | York Urban Dataset | sAP15 | 37.3 | LINEA-L |
| Line Segment Detection | York Urban Dataset | sAP5 | 30.9 | LINEA-L |
| Line Segment Detection | York Urban Dataset | sAP10 | 34.5 | LINEA-M |
| Line Segment Detection | York Urban Dataset | sAP15 | 36.7 | LINEA-M |
| Line Segment Detection | York Urban Dataset | sAP5 | 30.3 | LINEA-M |
| Line Segment Detection | York Urban Dataset | sAP10 | 32.6 | LINEA-S |
| Line Segment Detection | York Urban Dataset | sAP15 | 34.8 | LINEA-S |
| Line Segment Detection | York Urban Dataset | sAP5 | 28.9 | LINEA-S |
| Line Segment Detection | York Urban Dataset | sAP10 | 30.5 | LINEA-N |
| Line Segment Detection | York Urban Dataset | sAP15 | 32.5 | LINEA-N |
| Line Segment Detection | York Urban Dataset | sAP5 | 27.3 | LINEA-N |