Skip to content
Conference Open access

Object Surface Defect Segmentation using Vision Transformers and Hybrid Models

Sep 2026 · Engineering & Technology · 0 citations

TL;DR

An empirical comparison between three deep learning frameworks for pixel-based surface defect detection: a baseline CNN architecture known as U-Net, Vision Transformer (ViT) based on patch-wise attention mechanism, and TransUNet that combines CNN and transformer architecture.

Abstract

Detection of surface defects in the manufacturing industry is fundamental to maintain the quality of products and reduce waste production. Inspection processes are always affected by human error due to the nature of manual operations in manufacturing environments, particularly in cases of high production rates, while traditional machine vision systems cannot generalize over the complex structure of surface materials. In order to achieve the goal of automated surface defect detection, convolutional neural networks have been proposed. However, the local feature extraction abilities restrict these network from detecting long-distance dependencies in surface material structures and hence limits its ability to detect defect boundaries accurately. This research paper offers an empirical comparison between three deep learning frameworks for pixel-based surface defect detection: a baseline CNN architecture known as U-Net, Vision Transformer (ViT) based on patch-wise attention mechanism, and TransUNet that combines CNN and transformer architecture. The three deep learning models were compared following a unified approach of training and evaluation over three benchmark industrial surface defect segmentation datasets, i.e., MVTec AD, NEU Surface Defect Database, and DAGM 2007, where the Dice Coefficient and mean Intersection over Union are used as evaluation criteria. It is observed that U-Net performs best in terms of maximum mIoU of 0.75 at Epoch 26, ViT attains 0.72 with better generalization behavior at Epoch 41, and TransUNet achieves 0.67 at epoch 19. 

Read PDF

Similar papers

Open access Aug 2026

Research on Industrial Defect Machine Vision Detection Algorithm Based on Deep Learning and Spectral Fusion

Industrial surface defect detection is core to intelligent manufacturing quality assurance, guaranteeing stable product quality and reliable production. Conventional defect detection deep learning algorithms relying on Red-Green-Blue (RGB) images suffer low accuracy and weak robustness amid complicated industrial scene...

Kai-Sheng Deng · 0 citations
Open access Sep 2026

Open source deep learning models for accurate fastener defect inspection

The present work investigates the possibility of adopting open source DL models, specifically Transformer-based architectures and Convolutional Neural Networks, to classify fastener component images into defective or non-defective, and to segment defective ones, in order to enhance detection localization and to support...

Andrea Santomauro, Luigi Portinale, Stefania Montani et al. · 0 citations
Conference Aug 2026

Hybrid CNN-Vision Transformer Framework for Explainable Defect Detection in Solar Panel Manufacturing

Solar panel manufacturing is becoming increasingly important due to rising global needs for efficient photovoltaic panels with high levels of performance. The quality of such products mostly relies on detecting potential manufacturing defects at an early stage of their development throughout cell manufacturing, connect...

S. Jegadeesan, R. Jose, J. R. Ranjeni et al. · 0 citations
Sep 2026

Machine vision-based surface defect testing of industrial materials using a lightweight multiscale attention fusion network

Abstract Surface defect detection is essential for maintaining quality in industrial products, but in real industrial applications it faces a dilemma among accuracy, processing speed, and model lightweight. To address this challenge, we propose a method named global attention mechanism for deeply separable YOLO (simply...

Fu-Min Wang, Jia-Hao Jiang, Kuan Zhang et al. · 0 citations
Conference Open access Aug 2026

X-ray Digital Image Weld Defect Detection Method Based on Improved YOLOv7 Network and Transfer Learning

The traditional approach to detecting weld defects in industrial films requires sophisticated equipment and extensive manual labor. Not only is this process time-consuming, but it also poses risks to human vision, and the results are highly dependent on the operator’s level of technical expertise. To address this issue...

Wen-Fei Chen, Binbin Li, Binhua He et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.