2025-12-25
2025-12-13
2025-10-07
Manuscript received September 1, 2025; revised October 20, 2025; accepted December 1, 2025; published May 27, 2026.
Abstract—Surface defect detection is paramount in industrial quality control. Conventional methods, which often rely on human inspection or manually engineered statistical models, frequently fail to accurately detect and classify defects, particularly on complex surfaces or those with intricate features. Human inspection is inherently inconsistent and prone to errors due to fatigue, while traditional machine vision systems often lack the sensitivity to clearly identify small or low-contrast defects. This paper proposes a hybrid deep learning framework, termed Autoencoders-Convolutional Neural Networks (AE-CNNs), DefectNet, for surface defect classification, AE, and CNNs to enhance both accuracy and efficiency. The AE is employed to extract and compress reliable features from surface images into latent representations, which are subsequently classified by a CNN enhanced through transfer learning using InceptionV3. The CNN is fine-tuned from a pretrained model with customized fully connected layers to adapt to specific defect characteristics, while the AE is trained exclusively on non-defective images. The encoded features produced by the AE serve as the input to the CNN. The proposed model is evaluated on standard benchmark datasets comprising diverse surface defect types and compared against Anomaly Detection with Autoencoder (ADA), Visual Geometry Group (VGG16), Inception-based Convolutional Neural Network Long Short-Term Memory (In-CNNLSTM), and DTL_Inception_v3. Experimental results demonstrate the superior performance of the proposed method, achieving classification accuracies ranging from 85.60% to 100% across five datasets, including a perfect 100% accuracy on the glass bottle neck dataset. Keywords—defect classification, autoencoder, convolutional neural network, feature extraction, machine vision, image processing Cite: Niphat Craypo, Anupong Banjongkan, and Anantaporn Hanskunatai, "Hybrid Deep Learning Framework for Accurate Surface Defect Detection Using Autoencoder and CNNs," Journal of Image and Graphics, Vol. 14, No. 3, pp. 376-386, 2026. Copyright © 2026 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).