Contrastive Texture Metric Learning: An Attention-Guided Siamese Model for Fabric Inspection

In smart manufacturing systems, it is crucial to diagnose defects as products pass along conveyor belts usingautomated computer vision systems. Compared to traditional manual defect diagnosis methods, this approachreduces time loss, high costs, and operator errors. This study proposes a fast Siamese network supported bycontrastive learning and attention mechanisms for the detection and classification of fabric defects. A ChannelAttention module is integrated during the feature extraction phase to ensure the network focuses on key regions. Thanks to the Siamese structure, samples belonging to the same class are brought closer together in the featurespace, while different classes are distanced from each other. This aims to enable the model to more accuratelydistinguish small defects, especially between similar fabrics. During the training process, contrastive loss andcross-entropy loss were optimized together. In addition, computational costs were reduced using dataaugmentation methods and mixed precision training strategies. Experimental studies showed that the proposedmodel achieved 97% test accuracy. Grad-CAM visualization results showed that the model successfullylocalized defective regions. In conclusion, the proposed method offers a high-performance and practicalsolution for real-time textile quality control applications

Authors

Institutions

Publication Details

Journal
Erzincan Binali Yıldırım University - AVESIS
Published
2026-12-01
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Contrastive Texture Metric Learning: An Attention-Guided Siamese Model for Fabric Inspection

Feyzanur Özden, Canan Taştimur Temiz
2 links
Erzincan Binali Yıldırım University - AVESIS
Industrial Vision Systems and Defect Detection
article

Contrastive Texture Metric Learning: An Attention-Guided Siamese Model for Fabric Inspection

Feyzanur Özden, Canan Taştimur Temiz
article en

Abstract

In smart manufacturing systems, it is crucial to diagnose defects as products pass along conveyor belts usingautomated computer vision systems. Compared to traditional manual defect diagnosis methods, this approachreduces time loss, high costs, and operator errors. This study proposes a fast Siamese network supported bycontrastive learning and attention mechanisms for the detection and classification of fabric defects. A ChannelAttention module is integrated during the feature extraction phase to ensure the network focuses on key regions. Thanks to the Siamese structure, samples belonging to the same class are brought closer together in the featurespace, while different classes are distanced from each other. This aims to enable the model to more accuratelydistinguish small defects, especially between similar fabrics. During the training process, contrastive loss andcross-entropy loss were optimized together. In addition, computational costs were reduced using dataaugmentation methods and mixed precision training strategies. Experimental studies showed that the proposedmodel achieved 97% test accuracy. Grad-CAM visualization results showed that the model successfullylocalized defective regions. In conclusion, the proposed method offers a high-performance and practicalsolution for real-time textile quality control applications

Erzincan Binali Yıldırım University - AVESISVol. 22(7)
Erzincan Binali Yıldırım University (TR)
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon