원시데이터 수집 시스템
선정목록으로

Optimizing Defect Detection on Glossy and Curved Surfaces Using Deep Learning and Advanced Imaging Systems

간접 관련 모빌리티 소재 · (3) 자동차 인테리어 소재 (2) 샤무드(인공피혁)(11) 배리어 필름(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Jong-Su Yoon — Department of Mechanical Engineering (Department of Aeronautics, Mechanical and Electronic Convergence Engineering), Kumoh National Institute of Technology, 61 Daehak-ro, Gumi-si 39177, Gyeonsangbuk-do, Republic of Korea
  2. Chibuzo Nwabufo Okwuosa — Department of Mechanical Engineering (Department of Aeronautics, Mechanical and Electronic Convergence Engineering), Kumoh National Institute of Technology, 61 Daehak-ro, Gumi-si 39177, Gyeonsangbuk-do, Republic of Korea
  3. Nnamdi Chukwunweike Aronwora — Department of Mechanical Engineering (Department of Aeronautics, Mechanical and Electronic Convergence Engineering), Kumoh National Institute of Technology, 61 Daehak-ro, Gumi-si 39177, Gyeonsangbuk-do, Republic of Korea
  4. Jang-Wook Hur — Department of Mechanical Engineering (Department of Aeronautics, Mechanical and Electronic Convergence Engineering), Kumoh National Institute of Technology, 61 Daehak-ro, Gumi-si 39177, Gyeonsangbuk-do, Republic of Korea
DOI
10.3390/s25082449
저널
Sensors
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s25082449
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4409438934

평가 내용

관련도
간접 관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
(2) 샤무드(인공피혁), (11) 배리어 필름, (16) CPI(투명 폴리이미드)
R&D 측면
물성·성능 평가
확신도
0.80
근거 용어
defect detection, glossy and curved surfaces, deep learning, machine vision, quality inspection
판단 근거
본 논문은 광택이 있고 곡면인 제품의 결함을 딥러닝과 머신비전으로 검출하는 기술을 다룹니다. 이는 코오롱인더스트리의 자동차 인테리어 소재(3), 인공피혁(2), 필름(11, 16) 등 표면 특성이 중요한 제품의 품질 관리 공정에 응용될 수 있습니다.
R&D 활용 포인트
광택이 있는 인공피혁(샤무드)이나 곡면을 가진 자동차 내장재, 디스플레이용 필름 제조 공정에서 자동화된 외관 결함 검사 시스템을 구축하는 데 활용 가능합니다.
평가 입력
본문 94,581자 중 30,032자 발췌

초록

The industrial application of artificial intelligence (AI) has witnessed outstanding adoption due to its robust efficiency in recent times. Image fault detection and classification have also been implemented industrially for product defect detection, as well as for maintaining standards and optimizing processes using AI. However, there are deep concerns regarding the latency in the performance of AI for fault detection in glossy and curved surface products, due to their nature and reflective surfaces, which hinder the adequate capturing of defective areas using traditional cameras. Consequently, this study presents an enhanced method for curvy and glossy surface image data collection using a Basler vision camera with specialized lighting and KEYENCE displacement sensors, which are used to train deep learning models. Our approach employed image data generated from normal and two defect conditions to train eight deep learning algorithms: four custom convolutional neural networks (CNNs), two variations of VGG-16, and two variations of ResNet-50. The objective was to develop a computationally robust and efficient model by deploying global assessment metrics as evaluation criteria. Our results indicate that a variation of ResNet-50, ResNet-50224, demonstrated the best overall efficiency, achieving an accuracy of 97.97%, a loss of 0.1030, and an average training step time of 839 milliseconds. However, in terms of computational efficiency, it was outperformed by one of the custom CNN models, CNN6-240, which achieved an accuracy of 95.08%, a loss of 0.2753, and an average step time of 94 milliseconds, making CNN6-240 a viable option for computational resource-sensitive environments.

본문 94,581자

본문 펼치기
_Article_ # Optimizing Defect Detection on Glossy and Curved Surfaces Using Deep Learning and Advanced Imaging Systems Joung-Hwan Yoon, Chibuzo Nwabufo Okwuosa , Nnamdi Chukwunweike Aronwora and Jang-Wook Hur * Department of Mechanical Engineering (Department of Aeronautics, Mechanical and Electronic Convergence Engineering), Kumoh National Institute of Technology, 61 Daehak-ro, Gumi-si 39177, Gyeonsangbuk-do, Republic of Korea; 20246058@kumoh.ac.kr (J.-H.Y.); okwuosachibuzo3@kumoh.ac.kr (C.N.O.); naronwora@kumoh.ac.kr (N.C.A) * Correspondence: hhjw88@kumoh.ac.kr Academic Editors: Tianyu Gao, Yinsheng Chen, Jianyu Wang, Xiaoli Zhao and Vassilis S. Kodogiannis Received: 21 January 2025 Revised: 8 April 2025 Accepted: 10 April 2025 Published: 13 April 2025 Citation: Yoon, J.-H.; Okwuosa, C.N.; Aronwora, N.C.; Hur, J.-W. Optimizing Defect Detection on Glossy and Curved Surfaces Using Deep Learning and Advanced Imaging Systems. _Sensors_ 2025, _25_, 2449. [https://doi.org/10.3390/](https://doi.org/10.3390/s25082449) [s25082449](https://doi.org/10.3390/s25082449) Copyright: © 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license [(https://creativecommons.org/](https://creativecommons.org/licenses/by/4.0/) [licenses/by/4.0/).](https://creativecommons.org/licenses/by/4.0/) Abstract: The industrial application of artificial intelligence (AI) has witnessed outstanding adoption due to its robust efficiency in recent times. Image fault detection and classification have also been implemented industrially for product defect detection, as well as for maintaining standards and optimizing processes using AI. However, there are deep concerns regarding the latency in the performance of AI for fault detection in glossy and curved surface products, due to their nature and reflective surfaces, which hinder the adequate capturing of defective areas using traditional cameras. Consequently, this study presents an enhanced method for curvy and glossy surface image data collection using a Basler vision camera with specialized lighting and KEYENCE displacement sensors, which are used to train deep learning models. Our approach employed image data generated from normal and two defect conditions to train eight deep learning algorithms: four custom convolutional neural networks (CNNs), two variations of VGG-16, and two variations of ResNet-50. The objective was to develop a computationally robust and efficient model by deploying global assessment metrics as evaluation criteria. Our results indicate that a variation of ResNet-50, ResNet-50224, demonstrated the best overall efficiency, achieving an accuracy of 97.97%, a loss of 0.1030, and an average training step time of 839 milliseconds. However, in terms of computational efficiency, it was outperformed by one of the custom CNN models, CNN6-240, which achieved an accuracy of 95.08%, a loss of 0.2753, and an average step time of 94 milliseconds, making CNN6-240 a viable option for computational resource-sensitive environments. Keywords: convolutional neural network; ResNet-50; VGG-16; Dijkstra’s algorithm; glossy surface; curved surface; fault classification; fault detection 1. Introduction Over the years, the manufacturing sector has undergone a remarkable transformation since the introduction of Industry 4.0, uniquely revolutionizing industrial operations through smart technological implementations. These innovations have enhanced and fostered global innovation and competitiveness within the manufacturing sector. Artificial intelligence (AI) has been used not only in manufacturing processes but also plays a crucial role in the maintenance and reliability of industrial machinery. One aspect of AI, known as Prognostics and Health Management (PHM), ensures uninterrupted production by monitoring the life and performance of a system. PHM enables real-time monitoring and assessment of systems, with the capacity to monitor a system both online (while in operation) and offline (when not in operation) [1]. It can predict the current and future _Sensors_ 2025, _25_, 2449 2 of 28 state of a given system based on information generated through sensor technology. Although PHM originated in the aerospace industry, its reach has expanded to industries such as manufacturing, energy, production, automotive, construction, textile, healthcare, and pharmaceuticals. Vision-based analysis has been successfully employed in manufacturing for standard and quality control inspections [2]. It is also used in technical fields such as intelligent traffic monitoring and unmanned aerial vehicles [3,4]. Despite the success of Prognostics and Health Management (PHM) models in system diagnostics and monitoring, researchers continue to enhance condition-based system models to improve efficiency and robustness, addressing unresolved challenges. One such challenge is automated defect inspection and machine vision-based fault detection for glossy and curvy surfaces. The complex reflectiveness and curvy morphology of these surfaces often cause defects to go unnoticed when captured by traditional cameras [5,6]. For decades, such inspections have been performed manually by trained human inspectors, which is time-consuming and costly compared to automated non-glossy surface inspection [5,7]. Generally, product quality inspection is critical in manufacturing, with methods like visual inspection, automated optical inspection (AOI), machine vision, infrared thermography, laser scanning, and X-ray inspection widely used [8–10]. Among these, computer vision stands out for its precision, computational efficiency, and non-contact approach, particularly as industries shift from Industry 4.0 to Industry 5.0 [11,12]. However, issues experienced with glossy and curved surfaces have prompted researchers to explore different methodologies to overcome these challenges. Some methods for mitigating glossy surface effects primarily involve modifying image capture techniques and using advanced cameras with enhanced lighting to reduce surface reflectiveness. Techniques such as polynomial texture mapping, surface-enhanced ellipsometry, specular holography, and near-field imaging have proven effective when implemented correctly [13–15]. Their efficacy is demonstrated in several studies. For example, Müller used polarization filters to diminish surface reflectiveness, capturing two images with different filter orientations and then deriving the specular reflectance intensity on plane surfaces, effectively mitigating surface reflections [16]. Similarly, Yoon et al. [17] proposed a method to remove light reflections in medical diagnostic imaging by adjusting the angle of a linear polarized filter. By controlling vertical and horizontal polarization through filter rotation, they eliminated light reflections and expanded the field of view. In another study [18], the authors introduced a spatial augmented reality framework to improve the appearance of glossy surfaces. Their technique spatially manipulates an environment’s appearance, allowing a glossy surface to reflect a projected image without direct modification, thus enabling effective appearance editing through careful content control. Nevertheless, environmental factors, incompatibility with certain surfaces, and reduced image resolution remain limitations of this approach [19–21]. Another unique method often utilized involves implementing advanced algorithms and unique image processing deep learning models, robust enough to handle glossy surfaces. The study by Yuan et al. [22] proposed a dual-mask-guided deep learning model specifically designed to detect surface defects on highly reflective leather materials. Their model enhances defect detection accuracy by effectively removing surface specular highlights in images while preserving bright defects. Although leather surfaces may not be perfectly reflective, this technique could be effective on highly glossy surfaces when implemented with robust models. In another notable study [23], the authors presented an object detection and classification model of polished metal shaft surface defect using a deep learning method based on convolutional neural network feature extraction. Their method was achieved through image segmentation, architecture setup, and parameter optimization _Sensors_ 2025, _25_, 2449 3 of 28 of a Fast-R-CNN object detection framework. According to the assessment, their model proved to be implementable in practical production; hence, their model can also be extended to other fields of large image micro-fine defects with large light surfaces. However, model performance can decline in real-life applications involving intense reflections or varying levels of reflectiveness. For example, a glass defect detection method proposed in [20] struggled when the background image closely resembled the reflected image. For curved surfaces in fault detection—especially with fixed cameras—researchers have developed various techniques to address the challenges. Among these, robotic arms stand out for their flexibility in navigating curved geometries. Wang et al. [24] demonstrated a robotic arm equipped with a 3D micro X-ray fluorescence (µXRF) spectrometer and a depth camera for high-precision scanning of curved surfaces. They emphasized that maintaining consistent X-ray incident angles and scanning distances minimizes counting errors and improves accuracy. The arm’s flexible six-axis design enables comprehensive surface inspections from multiple perspectives, enhancing its industrial utility. Similarly, Huo et al. [25] highlighted the advantages of robotic arms by employing a six-degree-offreedom manipulator integrated with a line scan camera and high-intensity lighting. This setup successfully inspected convex, free-form, and specular surfaces by dynamically adapting the region of interest, ensuring robust defect detection on complex geometries. Regardless of the technique used to establish a robust image fault detection or classification model, the classifier or fault detection algorithm remains critical to achieving accurate results. Among deep learning algorithms, convolutional neural networks (CNNs) stand out as one of the most powerful. They have dominated the field of computer vision since their remarkable performance in the ImageNet Large Scale Visual Recognition Competition in 2012 and are widely employed in diverse areas, including medical imaging for tumor detection and fault identification using MRI and X-ray images [26–28]. A typical example can be seen in this study by Rajeshkumar et al. [29]; they used CNNs to diagnose brain tumors via MRI scans, emphasizing prompt and efficient defect detection in medical practice. Their methodology demonstrated the flexibility of CNNs; by employing a grid search optimization technique, they enhanced the performance of three CNN models for multi-classification tasks involving brain tumor images. While the models exhibited varying performance levels, they demonstrated the flexibility and adaptability of CNNs. The high accuracy achieved in identifying and classifying brain tumors further underscores the reliability and effectiveness of CNNs in medical image analysis. Over the years, convolutional neural networks (CNNs) have branched into various specialized architectures to tackle specific challenges in computer vision—including segmentation, object detection, fault detection, and more. For instance, the Visual Geometry Group (VGG) architecture is a standard CNN model with multiple sequential layers, emphasizing simplicity in design to enhance feature extraction [30,31]. However, this comes at a high computational cost due to its depth. The Residual Neural Network (ResNet) architecture revolutionized deep networks by introducing residual connections, which address the vanishing gradient issue and enable much deeper architectures [32]. The strength of ResNet was demonstrated in [33], where several CNN architectures— including Inception V3, VGG-16, VGG-19, and a conventional CNN—were compared for early fault detection in rice leaf blast disease. ResNet-50 achieved a top accuracy of 99.75%, highlighting the importance of deep feature extraction in agricultural applications. In some cases, combining multiple CNN architectures can yield better results. For example, in [34], the authors employed a combination of CNN subtypes for COVID-19 detection and classification. They used Faster R-CNN with a VGG-16 backbone to detect and classify COVID-19 infections in computed tomography (CT) images, achieving an accuracy of 93.86%. This further validates the utility of region-based CNNs in medical image analysis. CNN has also _Sensors_ 2025, _25_, 2449 4 of 28 been integrated into various advanced models to create more sophisticated frameworks. For instance, the authors in [35] proposed a novel transformer network enhanced with a CNN cross-attention mechanism for hyperspectral image (HSI) classification. Despite the constraint of limited data samples, their framework demonstrated exceptional classification performance. In another study, He et al. [36] utilized a cross-fusion of CNN and transformer architectures for high-speed railway dropper defect detection. Their robust framework achieved accurate defect detection even under challenging weather conditions, such as rain, fog, sunlight, and nighttime. Deployed across over 300 high-speed trains, their system successfully detected more than 10,000 dropper defects, outperforming most state-of-the-art networks in terms of competence and reliability. The motivation behind this study stems from the pressing demand within a manufacturing company to create a reliable classification model for products with glossy and curved surfaces. Figure 1 illustrates a product sample: a uniquely designed hairbrush case cover tailored for women. This product merges aesthetic appeal with practical functionality, catering to a specific consumer need. Its distinctiveness arises not only from its visual design but also from its ergonomic construction, material durability, and comfortable palm fit. Beyond its user-centric features, the case enhances the hairbrush’s longevity by providing protection and portability. Its versatile design ensures adaptability to diverse settings and uses, further solidifying its value in everyday life. Figure 1. Heart case product sample. Nevertheless, the product’s aesthetic nature not only attracts customers but also poses challenges. Its glossy and curved design complicates traditional machine-vision inspection techniques. For example, as shown in Figure 1, the white circles highlight dent locations that are difficult to detect visually due to surface reflectivity. Quality inspection is critical for this product, as the target demographic demands flawless items, and even minor defects like cracks, dents, or scratches lead to rejection. This stringent requirement has prompted online platforms to automatically flag and reject listings with such imperfections. To ensure that fault classification is effectively carried out on glossy and curved surfaces in the manufacturing industry, this study makes the following contributions: - A proposal for integrating a Basler vision camera with enhanced lighting to achieve clear, high-quality image acquisition of glossy surfaces. This integration is aimed to facilitate the development of a robust fault detection and classification framework specifically designed for reflective surfaces. - The utilization of a KEYENCE laser displacement sensor in combination with a Motoman-GP7 Yaskawa robotic arm to enable the precise and effective acquisition of curved geometries. Additionally, the integration of images from the Basler vision camera and the laser displacement sensor is proposed as an ideal approach for developing a fault classification framework for glossy and curved surface image products. _Sensors_ 2025, _25_, 2449 5 of 28 - A thorough comparative assessment of robust deep learning algorithms for imagebased fault detection, with global assessment metrics such as accuracy, loss, computational efficiency, recall, F1 score, specificity, mAP, and confusion matrix, to validate the performance of our model and identify an efficient algorithm that is also computationally cost efficient. The rest of the paper is structured as follows: Section 2 explains the theoretical background of the core techniques employed in the study. Section 3 details the proposed system framework and methodologies used to achieve the study’s objectives. Section 4 presents the experimental setup and visualizations. Section 5 discusses and evaluates the results, while Section 6 concludes the study. 2. Theoretical Background This section discusses the theoretical background of CNN architecture and its subtypes as employed in the study. It also explores key techniques utilized in the development of the proposed framework. _2.1._ _Convolutional Neural Network_ Convolutional neural networks (CNNs), or ConvNets, are a class of deep learning models with multi-layered neural network architectures. They excel in tasks such as image classification, object detection, segmentation, natural language processing, and time series analysis, and are widely used in fields like computer vision and fault detection [37,38]. Their ability to learn directly from raw data, eliminating manual feature extraction, enhances their efficiency in complex tasks with minimal human intervention. First conceptualized by Hubel and Wiesel in the 1950s–1960s through studies of the visual cortex, CNNs gained prominence in 2012 after dominating the ImageNet Large Scale Visual Recognition Competition [37,39]. CNNs are categorized by input dimensionality: 1D CNNs are used for sequential data such as audio and time series, 2D CNNs excel in image-related tasks like classification and segmentation, and 3D CNNs handle volumetric datasets such as CT scans and video [40–42]. Each category employs specialized kernels to extract task-specific features, making CNNs versatile for applications like fault detection and signal processing. CNN Architectural Overview A typical CNN architecture is composed primarily of six layers, namely: - Input layer; - Convolutional layer; - Pooling layer; - Flatten layer; - Fully connected layer; - Output layer. A typical convolutional neural network (CNN) consists of specialized layers, each performing distinct tasks, making it a powerful algorithm for image understanding tasks such as processing, classification, and fault detection. The architecture begins with the input layer, which determines the nature and format of the input. For image inputs, pixels represent numerical color grades (0–255), forming a matrix that the CNN processes. The brightness, shade, and tint of an image are determined by pixel value grading, which is sequentially organized into a digital layout [37,38]. The input layer is critical as it defines the raw data structure, influencing model performance. Factors such as image resolution, data augmentation, normalization, and input channels (e.g., grayscale, RGB, or RGBA) must align with the input layer format to ensure optimal performance [43,44]. Normalization _Sensors_ 2025, _25_, 2449 6 of 28 scales pixel values from 0–255 to 0–1, ensuring dataset consistency and training stability. Mathematically, normalization is expressed as follows: _Inorm_ ( _x_, _y_, _c_ ) = <sup>_<u>I</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>,</u></sup> <sup>_<u>y</u>_</sup> <sup><u>,</u></sup> <sup>_<u>c</u>_</sup> <sup><u>)</u></sup> (1) 255 where _Inorm_ stands for the normalized image pixel value, _I_ presents the original pixel value. The output of the input layer, a tensor, is passed to the convolutional layer for feature extraction. This layer uses filters (kernels), small matrices of learnable weights, to convolve through the input array, producing feature maps [45]. The convolution operation is defined as follows: _C_ ## ∑ _c_ =1 _V_ ## ∑ _v_ =1 _fij_ <sup>_k_</sup> <sup>=</sup> _U_ ## ∑ _u_ =1 _I_ ( _i_ + _u_ )( _j_ + _v_ ) _c · Kuvc_ <sup>_k_</sup> <sup>+</sup> <sup>_bk_</sup> (2) where _fij_ <sup>_k_</sup> <sup>stands for the output values at positions</sup> <sup>_i_</sup> <sup>and</sup> <sup>_j_</sup> <sup>in the</sup> <sup>_k_</sup> <sup>-th feature map.</sup> <sup>_U_</sup> <sup>,</sup> <sup>_V_</sup> <sup>, and</sup> _V_ represent the filter’s height, width, and input channels, respectively; _Kuvc_ <sup>_k_</sup> <sup>stands for the</sup> filter weight at positions _u_ and _v_ for the _c_ -th channel of the _k_ -th filter; and _b_ <sup>_k_</sup> is bias. Filter size (e.g., 3 × 3, 5 × 5, or 7 × 7) determines the level of detail captured, with smaller filters extracting finer details and larger filters capturing broader context. Convolutional layers are stacked to progressively extract low-level (edges, corners), mid-level (shapes, patterns), and high-level (complex patterns) features, enabling hierarchical representation learning [46]. The number of filters in a layer determines the variety of features learned; for example, 16 filters generate 16 feature maps. Strides and padding further influence the output: strides control the filter’s step size (e.g., stride 1 processes all pixels), while padding (e.g., Same or Valid) determines whether input edges are included in computations, affecting output dimensions [43,47]. The pooling layer, also known as downsampling, refines the features extracted by the convolutional layer by reducing the dimensionality of the feature map while retaining the most significant features. This process enhances the network’s performance by maintaining accuracy and computational efficiency [37,43]. Pooling operations include max pooling, average pooling, and global pooling. Max pooling selects the maximum value within a pooling window, while average pooling computes the average value in the window. Global pooling applies max or average pooling over the entire feature map, reducing it to a single value per channel [37,48]. The pooling window size is a critical parameter, as it determines the region over which the pooling operation is applied and influences the nature of downsampling. Smaller window sizes, such as 2 × 2, preserve finer details in the feature map, whereas larger windows, like 3 × 3, provide more aggressive dimensionality reduction, potentially sacrificing fine details but capturing broader contextual features. The stride, which controls the movement of the pooling window, also plays a significant role. Larger strides result in greater dimensionality reduction, while smaller strides retain more spatial details in the output feature map. Mathematically, the output dimensions of the pooling layer can be expressed as follows: _Od_ = <sup>_<u>Id −</u>_</sup> <sup>_<u>Td</u>_</sup> <sup><u>+ 2</u></sup> <sup>_<u>P</u>_</sup> + 1 (3) _S_ where _Od_ represents the output and its dimensions; _Id_ represents the input and its dimensions; and _Td_ stands for the pooling window and its dimensions. _P_ and _S_ represent padding and strides, respectively. Additionally, the operations for max pooling and average pooling are defined as follows: (4) _Pij_ = max _I_ ( _i_ : _i_ + _h−_ 1, _j_ : _j_ + _w−_ 1) _Sensors_ 2025, _25_, 2449 7 of 28 _j_ + _w−_ 1 ## ∑ _y_ = _j_ <u>1</u> _Pij_ = _h · w_ _i_ + _h−_ 1 ## ∑ _x_ = _i_ _Ixy_ (5) Generally, the pooling layer’s effectiveness depends on the careful selection of window size and stride, which together determine the balance between dimensionality reduction and feature retention [37,43,48]. The flatten layer serves as a critical transition between the convolutional/pooling layers and the fully connected layer, reshaping the multidimensional feature maps from the pooling layer into a one-dimensional vector. This transformation ensures that spatial features extracted by earlier layers are preserved and formatted for processing in the fully connected layer [49,50]. For instance, a pooling layer output of size 3 × 3 with 64 feature maps is flattened into a vector of size 576 (3 × 3 × 64). Once flattened, the data is passed to the fully connected layer, where every neuron connects to every neuron in the previous layer, enabling dense connectivity. This layer aggregates the extracted features and processes them for tasks such as classification, regression, or prediction [37,43]. Each neuron in the fully connected layer computes a weighted sum of its inputs, adds a bias, and applies an activation function to introduce non-linearity, as described in Equation (6): _Wixi_ + _b_ _F_ = _σ_ - _n_ ## ∑ _i_ =1 (6) represents the summa where _F_ is the output of the neuron; _σ_ is the activation function; _n_ ∑ _i_ =1 tion of all input; and _Wi_ is the weight of the _i_ -th input. _xi_ and _b_ represent the input vector and bias, respectively. The activation function plays a vital role in both convolutional and fully connected layers, enabling neurons to detect complex patterns and hierarchies in the input data. In convolutional layers, activation functions process and retain spatial features extracted by filters, while in fully connected layers, they introduce non-linearity, allowing the network to learn and understand the complexity of the data. Without activation functions, neurons would only perform linear transformations, limiting the network’s ability to model intricate relationships [51,52]. Commonly used activation functions include ReLU, Softmax, and Sigmoid, each serving specific purposes; these are represented mathematically in Equation Equations (7)–(9) below. _ReLU_ ( _x_ ) = max(0, _x_ ) (7) _<u>e</u>_ <sup>_xi_</sup> _So f tmax_ ( _xi_ ) = ∑ <sup>_<u>n</u>_</sup> (8) <sup>_<u>n</u>_</sup> _j_ =1 <sup>_exj_</sup> ∑ <sup>_<u>n</u>_</sup> _j_ <u>1</u> _Sigmoid_ ( _x_ ) = (9) 1 + _e_ <sup>_−x_</sup> where _x_ is the input and _e_ represents Euler’s number. ReLU is widely used in intermediate layers to prevent vanishing gradients and ensure efficient training, as it activates neurons only for positive inputs. Softmax is typically employed in multi-class classification tasks, converting outputs into probabilities, while Sigmoid is used for binary classification, mapping outputs to a range between 0 and 1. The choice of activation function depends on the task and defines the output layer of the CNN architecture [37,53]. Despite their effectiveness, fully connected layers have limitations, such as high computational costs and susceptibility to overfitting. These challenges can be mitigated through _Sensors_ 2025, _25_, 2449 8 of 28 proper parameter tuning, including the selection of optimal layer sizes, filters, padding, and strides, as well as the use of regularization techniques. Regularization methods—such as batch normalization, L1/L2 regularization, early stopping, and dropout—improve a model’s ability to generalize to unseen data by adding constraints that prevent overfitting [54]. Batch normalization stabilizes the learning process by normalizing inputs to each layer, while L1 regularization encourages sparsity by penalizing the absolute values of weights. L2 regularization, on the other hand, penalizes squared weights, ensuring even weight distribution without driving them to zero. Elastic Net combines L1 and L2 penalties, balancing sparsity and weight stability [37,43,54]. Early stopping monitors validation performance during training and halts the process when improvements plateau, while dropout randomly deactivates neurons during training, forcing the model to learn robust and redundant features. Additionally, data augmentation is a powerful technique to combat overfitting, especially with limited datasets. It generates additional training samples by applying transformations such as zooming, flipping, and adjusting brightness or intensity. These transformations increase data variability and complexity, ensuring the model generalizes better to real-world variations, regardless of dataset size [37]. _2.2._ _Visual Geometry Group 16 Layer CNN (VGG-16)_ VGG-16 is one of the most popular CNN architectures, developed by the Visual Geometry Group (VGG) at the University of Oxford. It was first implemented in 2014 by Simonyan and Zisserman for large-scale image recognition, as described in their study [55]. The name VGG-16 comes from the number of trainable layers in the network, which totals sixteen trainable layers comprising thirteen convolutional layers and three fully connected layers. Although the network contains a total of twenty-one layers, some of these are non-trainable (e.g., pooling layers). The architecture was designed to deepen the structure of traditional CNNs while maintaining simplicity in the network design. One of its standout features is the use of 3 × 3 convolutional kernels, which help capture local patterns in the input data while maintaining computational efficiency. To further increase its depth, VGG-16 utilizes a stack of these small filters, enabling the model to train on and learn more complex features. Another key feature of VGG-16 is the application of max-pooling layers after every 2–3 convolutional layers. These pooling layers use a 2 × 2 filter size with a stride of 2 to reduce the spatial dimensions of the feature maps, making the model computationally efficient while preserving the most important features. At the end of the convolutional stack, the network outputs a feature map passed through fully connected layers, followed by a Softmax layer for multi-class classification. However, though it is highly efficient for feature extraction and transfer learning, VGG-16 is notable for being more computationally demanding than traditional CNN due to its large number of parameters [56]. For instance, it has two dense layers with 4096 neurons each, with an output layer of 1000 neurons in the case of Imagenet classification, and it has a total of 138 million parameters. _2.3._ _Residual Network (ResNet)_ ResNet is a distinctive CNN architecture first introduced by He et al. in their study [32]. It was specifically designed to address the vanishing gradient problem, a common issue in deep neural networks where gradients become increasingly small during backpropagation, hindering effective learning. This problem is particularly evident in architectures like VGG-16. ResNet resolves this issue through residual learning and skip connections, which ensure smoother gradient flow and mitigate the vanishing gradient problem. As the name suggests, ResNet consists of various layers, including convolutional layers, activation functions, normalization layers, and bottleneck residual blocks [32]. _Sensors_ 2025, _25_, 2449 9 of 28 The skip connection and bottleneck residual block are key characteristics of ResNet50 that enable it to achieve high efficiency and lower computational costs compared to similar CNN architectures. Skip connections allow the input to bypass certain layers and be added directly to the output, enabling the network to learn residual functions. These residual functions are generally easier to optimize than direct mappings. On the other hand, the bottleneck structure, which uses 1 × 1 convolutions to reduce and then restore dimensionality, ensures smoother gradient flow during backpropagation, reducing computational requirements [32]. ResNet architectures come in various depths, with the most popular models being ResNet-18, ResNet-50, ResNet-101, and ResNet-152, each differing in the number of layers. Due to its unique architecture, ResNet—particularly ResNet-50—has been successfully employed in a variety of fields due to its efficiency and robust performance in image classification, object detection, and numerous computer vision tasks [32,33]. _2.4._ _Dijkstra’s Algorithm Overview_ Dijkstra’s algorithm is one of the popular algorithms introduced by Edsger W. Dijkstra that can be employed to determine the shortest paths in weighted graph instances where edges have non-negative weights [57,58]. This technique, known for its simplicity and efficiency, has been widely used in solving graph-based shortest path problems and has found applications in various domains such as GPS navigation, network routing, and optimization problems. The core principle of Dijkstra’s algorithm works by exploring the paths from nodes to the source node, selecting the shortest possible path among them. Dijkstra’s algorithm employs a greedy approach, enabling it to make a locally optimal choice at every step, aiming to achieve the global optimum [57,58]. The algorithm begins by initializing all nodes with a tentative distance of infinity, except for the source node. This process is repeated until the shortest distance is determined. In practice, the initial distance of the source node is set to zero, and the other nodes are set to infinity. The algorithm marks all nodes as unvisited and, for each unvisited neighbor, calculates their tentative distances by adding the weight of the edge connecting the current node to the neighbor. Once all neighbors of the current node are processed, the node is marked as visited, and the algorithm moves to the next unvisited node with the smallest tentative distance. This process is repeated until all nodes have been visited, or the remaining unvisited nodes are not connected to the source. As the algorithm terminates, each node will have the shortest distance from the source node, providing the solution to the problem. In the context of graph theory, given that _G_ = ( _V_, _E_ ) where _V_ and _E_ represent the vertices and edges of a given graph, and assuming each edge ( _u_, _v_ ) has a weight of _w_ ( _u_, _v_ ), then _d_ [ _v_ ] stands for the shortest distance from a source node _s_ to the node _v_, and _p_ [ _v_ ] represents the previous node in the shortest path from the source node _s_ to node _v_ . Dijkstra’s algorithm initializes using Equation (10). Set: _d_ [ _s_ ] = 0, _d_ [ _v_ ] = ∞ for all _v̸_ = _s_ (10) where _u_ is the current node and _v_ is the neighbor node. At this point, all nodes are marked as unvisited. While the nodes are unvisited, each neighboring node _v_, updates its distance using Equation (11): _d_ [ _v_ ] = min( _d_ [ _v_ ], _d_ [ _u_ ] + _w_ ( _u_, _v_ )) (11) After this, node _n_ is marked as visited, and the algorithm moves to the next unvisited node with the shortest distance of _d_ [ _v_ ]. _Sensors_ 2025, _25_, 2449 10 of 28 3. Proposed System Framework and Methodology The proposed framework, illustrated in Figure 2, outlines the steps and methodologies used in our study to achieve fault diagnostic classification for glossy and curved surfaces. A heart-shaped brush case with a glossy and curved surface was selected as the reference sample. Our methodology consisted of three key steps. The first step involved image data collection, where two robust pieces of equipment were used to ensure the datasets were suitable for deep learning-based fault classification. A Basler vision camera with lighting was employed to capture images of the flat top surface, while a KEYENCE laser displacement sensor, mounted on a robotic arm, was used to efficiently scan the curved surface. The second step focused on data processing, which included data merging, data augmentation, labeling, and dataset splitting. In the final step, the processed datasets were fed into various deep learning image classification models. Validation assessments were conducted to identify the best-performing model and ensure it met the required performance standards. Figure 2. Proposed system framework. These stages are implemented to ensure that issues encountered with glossy and curved surfaces are mitigated, thereby providing a reliable framework capable of achieving the desired efficiency for overall model validation. Given the nature of our dataset, which originates from glossy and curved surfaces, we applied specific data augmentation techniques to further enhance the images and ensure optimal adaptation. _3.1._ _Data Augmentation_ The primary aim of data augmentation is to introduce variability into the dataset, simulating real-world instances such as zoom, lighting changes, and flipping. This ensures that the model does not rely on overly simplistic patterns, which could lead to overfitting. Data augmentation is particularly crucial when working with unbalanced or small datasets, as it serves as an efficient way to enhance and increase training data without the need to acquire additional samples. In our study, the augmentation techniques employed were brightness, zoom, and custom pixel multiplication, and their mathematical representation is presented thus: _Sensors_ 2025, _25_, 2449 11 of 28 Brightness: _X_ ˆ ( _i_, _j_ ) = _X_ ( _i_, _j_ ) + ∆ _b_ (12) where ( _i_, _j_ ) stands for the pixel value at position ( _i_, _j_ ), ∆ _b_ is the brightness adjustment constant. Zoom: - _<u>i</u>_ _X_ ˆ ( _i_ <sup>_′_</sup>, _j_ <sup>_′_</sup> ) = _X_ _Zs_ , <sup>_<u>j</u>_</sup> _Zs_ (13) _Zs_ stands for the zoom factor. Contrast: _X_ ˆ ( _i_, _j_ ) = _α ·_ ( _X_ ( _i_, _j_ ) _−_ _µX_ ) + _µX_ (14) Custom Pixel Multiplication: _X_ ˆ ( _i_, _j_ ) = _k · X_ ( _i_, _j_ ) (15) where _k_ is the scaling factor for each pixel value. In this study, brightness and contrast were adjusted by _±_ 30% and _±_ 20%, respectively, while zoom was adjusted by _±_ 10%. Additionally, a random multiplier of 3.0 was applied. _3.2._ _Model Performance Evaluation Criteria_ Model evaluation is important to ensure that the model performs up to a given standard. In this study, these metrics were implemented to help evaluate, validate, and determine the best-performing deep neural network for our framework. Thus, some of the core global performance metrics implemented in this study include accuracy ( _Acc_ ), precision ( _Prc_ ), F1-score ( _Fsc_ ), sensitivity ( _Snv_ ), specificity ( _Spc_ ), and mean average precision (mAP), and their mathematical representations are shown in (16)–(20). _<u>TP</u>_ _Acc_ = (16) _TP_ + _FP_ + _TN_ + _FN_ _<u>TP</u>_ _Prc_ = (17) _TP_ + _FP_ _Fsc_ = <sup><u>2</u></sup> <sup>_<u>∗</u>_</sup> <sup><u>Sensitivity</u></sup> <sup>_<u>∗</u>_</sup> <sup><u>Precision</u></sup> (18) Precision + sensitivity _<u>TP</u>_ _Snv_ = (19) _TP_ + _FN_ _<u>TN</u>_ _Spc_ = (20) _TN_ + _FP_ mAP = <sup><u>1</u></sup> _N_ _N_ ## ∑ _x_ =1 _APx_ (21) _TP_, _FP_, _TN_, and _FN_ stand for true positive, false positive, true negative, and false negative, respectively. _APx_ represents the average precision of class _x_, while _N_ is the total number of classes. _TP_ represents the number of positive samples that a model accurately classified as belonging to the positive class, while _FP_ indicates the number of non-positive samples _Sensors_ 2025, _25_, 2449 12 of 28 that the model falsely classified as belonging to the positive class. On the other hand, _TN_ represents the number of negative samples that the model accurately classified as belonging to the negative class, and _FN_ stands for the number of negative samples that the model falsely classified as belonging to the positive class. mAP measures the accuracy of a model in classifying within a dataset. It evaluates the model’s performance across all classes and provides a single score for overall assessment, indicating the model’s quality. Furthermore, a confusion matrix was implemented in our study to provide a detailed analysis of the actual classification performance, represented in percentages with respect to _TP_, _FP_, _TN_, and _FN_ . 4. Experimental Setup and Visualization The experimental data collection was conducted at the Defense Reliability Laboratory of the National Institute of Technology Kumoh, Gumi, Republic of Korea. The procedure involved two stages. In the first stage, high-vision imaging combined with appropriate lighting was used to capture a detailed front view of the image data. In the second stage, a laser displacement sensor mounted on a robotic arm was utilized to scan and reconstruct 3D surface data of the curved sections of the dataset. _4.1._ _Data Collection Using Basler Vision Camera_ The Basler vision camera equipped with lighting was initially employed to generate image data from our samples in this study. The setup for image data collection using the Basler vision camera and lighting is shown in Figure 3. This setup was used exclusively to capture the front glossy view of the heart-case samples, as it was unable to capture the curved glossy portions of the samples. The curved surfaces were instead captured using laser displacement sensors. Figure 3. Basler vision and lighting usage overview. Due to the glossy nature of the heart case samples, a lighting device, Surf.Finder-SF, was introduced to minimize glare and enhance image quality. Tables 1 and 2 present the specifications of the camera and lighting equipment used. Figure 3 illustrates the schematic diagram of the Basler vision camera setup with the lighting system. When the lighting equipment is powered on through the sensor power SMPS, the Surf.Finder light activates. This lighting system includes adjustable settings to reduce glare, ensuring optimal illumination for the heart case samples. These settings can be modified through a dedicated program, which requires a dongle key to be connected to the computer for access. The camera is powered separately via the camera power SMPS. Focus adjustments can be made using a screw attached to the camera lens. The camera is connected to the PC through a dedicated cable, enabling parameter adjustments and facilitating the transmission of captured images to the CPU for processing, storage, and further analysis. Three core input parameters implemented include reference (REF), roughness (RGH), and raw gray vertical (RGV). _Sensors_ 2025, _25_, 2449 13 of 28 - REF: This parameter sets the lighting to capture photos by projecting light in all directions. Three shots are taken at 1 ms intervals to minimize reflections caused by brightness. - RGH: This parameter configures the lighting to check horizontal roughness. Lighting is directed at a 45-degree angle to the vertical direction, and three shots are taken at 1 ms intervals to assess horizontal roughness or changes. - RGV: This parameter configures the lighting to check vertical roughness. Lighting is set at a 45-degree angle to the horizontal direction, and three shots are taken at 1 ms intervals to assess vertical roughness or changes. The Surf.Finder lighting system is designed to operate in a controlled environment, minimizing the impact of external lighting variations. Its enclosed casing ensures a consistent illumination field, reducing interference from ambient light sources. Additionally, the adjustability of the REF, RGH, and RGV parameters allows for fine-tuned lighting conditions that adapt to different surface reflectivities, ensuring robust and high-quality image acquisition under varying conditions. These three setups were used to capture our samples, which were then transferred to a PC for review and selection of the desired data samples for implementation. Table 1. Camera Specification. Camera Specification Details Product Name Hikvision MV-CA050-20UM Lens f 35 mm Working Distance 20 mm Pixel 5 MP Field of view (FOV) 91 mm × 72 mm Manufacturer Hangzhou Hikvision Digital Technology Co., Ltd., headquartered in Hangzhou, Zhejiang, China. Table 2. Lighting specification. Lighting Specification Details Product Name surf.Finder-SF Dimension 335 × 325 × 330 mm <sup>3</sup> (FOV) 60 × 60 mm <sup>2</sup> Weight 6.9 kg Other Accessories Built-in Controller, S/W Package (SDK, Viewer), Lan cable, SMPS, Dongle key Manufacturer Didim Sensor Co., Ltd. Seoul, South Korea. _4.2._ _Data Collection Using KEYENCE Laser Displacement Sensor_ In our setup, we employed a Basler vision camera with controlled lighting to capture front-view image data samples. However, the curved surfaces of the data samples posed challenges for the Basler camera, as its point of view (POV) was not optimal for effectively imaging curved geometries. To overcome this, a laser displacement sensor was introduced. For curved surfaces with glossy finishes, using the laser displacement sensor alone introduced noise due to the diffuse reflection of light during surface scanning, as illustrated in Figure 4. To mitigate this issue, a YASKAWA robotic arm was utilized to scan the surface in a curved motion with the laser displacement sensor. Table 3 summarizes the specifications of the laser displacement sensor used in this study. _Sensors_ 2025, _25_, 2449 14 of 28 Table 3. Laser displacement specification. Laser Specification Details Product Name LJX-8080 Measuring range Z-axis (height) 73 mm ( _±_ 20.5 mm) (Measuring range X-axis (width)) 35.0 mm Repeatability Z-axis (height) 0.5 µm Repeatability X-axis (width) 1.0 µm Figure 4. Laser noise overview. Traditionally, visual inspection is performed at least three times for the appearance inspection of glossy products, with an average inspection time of about 15 s. However, to measure a defect of 0.1 mm or more on a curved surface, it takes an average of 60 s for a laser displacement sensor with a precision of about 12.5 µm, operating at a speed of 1.15 cm per second, to scan the entire shape. Therefore, it is necessary to maintain a time period similar to that of visual inspection to avoid disrupting production speed. To address this issue, a vision camera is first used to quickly photograph the front part of the heart case, which has many flat areas, and a laser displacement sensor is used for the side parts to reduce the overall measurement time. The more laser displacement sensors there are, the shorter the measurement time, but the higher the initial cost purchase of the robotic arm and laser displacement sensors. To solve this, the study developed a technology that moves the optimal path at an angle that minimizes reflection using one robotic arm and one laser displacement sensor. Our goal was to achieve an average inspection time of about 15 s. An overview of the setup is shown in Figure 5. Figure 5. Robotic arm. Data Generation Using the Laser Displacement Sensor and Robotic Arm To minimize glare caused by the glossy surface of the materials, the primary objective was to determine the normal vectors of all sample surfaces. This was achieved by aligning the vertical relationship between the surface of the heart case samples and the measurement _Sensors_ 2025, _25_, 2449 15 of 28 setup, thereby reducing light reflection. To obtain the normal vector coordinates of the heart case-shaped samples, CATIA’s NC (Numerical Control Machining) module was utilized. This module automatically generates tool movement paths and optimizes the machining process by preventing collisions between the tool and the machined object. This optimization is based on the shape of the designed 3D model. Using the NC module, coordinates offset from the surface of the heart case were obtained. To ensure accurate measurement, the laser displacement sensor was set to an identification distance of 70 mm, meaning coordinates were collected 70 mm vertically above the heart case surface. Figure 6 provides an overview of the obtained coordinates. The collected coordinates represent areas that theoretically minimize diffuse reflection. However, many of these coordinates included overlapping measurement regions. To address this, the teaching function of YASKAWA—which refers to a mode allowing the operator to define tasks, movements, or paths for the robot to follow and execute—was utilized to first identify and select the coordinates that minimized diffuse reflection. Next, overlapping areas among the selected coordinates were eliminated, and the remaining coordinates were further refined through a second selection process. Using the coordinates generated through the NC module and the process of minimizing diffuse reflection while removing duplicates, 10 measurement paths for the sides of the heart case were created. The inspection results, as shown in Table 4, indicate a measurement time ranging from approximately 20 to 26 s. Figure 6. Coordinates obtained through NC module. Table 4. Measurement results for shooting from the side Number of Inspections Number of Coordinates Moved Time (s) Inspection Speed (mm/s) 1 22 21.2 11.5 2 23 20.8 11.5 3 23 23.4 11.5 4 24 25.1 11.5 5 23 24.2 11.5 6 23 25.1 11.5 7 23 23.1 11.5 8 23 22.9 11.5 9 23 22.9 11.5 10 23 26.0 11.5 Since the selected coordinates include several paths, the shortest optimal path among them must be determined. However, before introducing the Dijkstra algorithm, the coordinates of the heart case were selected by manually choosing the areas with the least light reflection on the curved surface from the coordinates extracted through the NC code. The coordinates were selected at 2 cm intervals. In the case of the inspection time, the left side of the heart case was photographed in the order of the front, right side, and back. It _Sensors_ 2025, _25_, 2449 16 of 28 took 21 s based on the 11 mm/s movement of the Yaskawa robotic arm that received the coordinates and moved. This was because there were many instances where the same scene was filmed repeatedly, as the focus was on minimizing diffuse reflection. By excluding the overlapping areas through the Dijkstra algorithm, the result was reduced to 15 s based on the 11 mm/s movement. It is observed that the movement path was optimized while excluding overlapping filming scenes. For this purpose, the Dijkstra algorithm was used to determine the shortest path the robotic arm could follow for fast execution. The input data were obtained by calculating the travel time for each coordinate using the 3D coordinates, and one path was selected through the algorithm. The information about the path is summarized in Table 5 below. Table 5. Selected path information when shooting from the side. Number of Coordinates Moved Measurement Time (s) Inspection Speed (mm/s) 23 18.2 11.5 The inspection speed is set to 11.5 mm/s because the amount of data collected per unit of time is fixed due to the characteristics of the laser displacement sensor. The amount of data collected during measurement is inversely proportional to the range to be measured. Thus, if the inspection speed exceeds 11.5 mm/s, the shape to be measured is compressed, and if the inspection speed is slower than 11.5 mm/s, the shape to be measured is expanded. Therefore, to measure the heart case shape without distortion, the inspection speed must be set to 11.5 mm/s. To match the inspection time to 15 s, a method is required to increase the inspection speed while minimizing distortion in the results. To achieve this, images were captured under conditions where the heart-shaped case measured 90 mm × 90 mm, ensuring that the side could be fully observed in a single pass during measurement. This approach increases the inspection speed by reducing the collection area while simultaneously increasing the amount of data collected within a confined space. As a result, the inspection speed improved from 11.1 mm/s at 500 Hz to 13.2 mm/s at 750 Hz, as shown in Figure 7. The results are summarized in Table 6. ( a ) ( b ) Figure 7. Laser displacement sensor measurable range based on ( a ) data collection speed of 500 Hz; ( b ) data collection speed of 750 Hz. Table 6. Selected path information while shooting from the side. Number of Coordinates Moved Measurement Time (s) Inspection Speed (mm/s) 23 14.6 13.2 Using the 2D CSV file acquired through a laser displacement sensor, a 2D matrix is generated based on the sensor’s movement trajectory and measurement conditions. The horizontal axis is defined as _x_, the vertical axis as _y_, and the measured values as _z_ . The generated matrix is expressed by the following function: _z_ ( _x_, _y_ ) = Results from height measurement (22) _Sensors_ 2025, _25_, 2449 17 of 28 There may be unmeasured areas within the data collection range, and these gaps are filled using interpolation methods such as linear interpolation or spline interpolation. Through this process, a continuous 3D data structure is formed. Subsequently, the matrix is input into 3D graphics software or a visualization tool to generate a 3D surface image. During rendering, tools such as OpenGL 4.6, Matplotlib 3.7.1, or other 3D libraries are utilized to visualize the data in three dimensions. _4.3._ _Dataset Description_ As previously highlighted, the study utilized two data acquisition techniques: a Basler vision camera with lighting and a laser displacement sensor. Each technique generated two image samples per data point—one from the camera and one from the laser sensor. Data labeling and model selection in this study were guided by customer requirements, including alignment with historical rejection patterns and a target accuracy of 95% or higher. The dataset, derived from production records, was labeled to reflect defect types and severity levels critical to the customer’s quality standards, ensuring the model was trained on operationally meaningful data. The data samples were categorized into three classes, as summarized in Table 7. As a result, six distinct data classes were generated from these three classes using the two techniques: HCC Basler camera images, HCC laser sensor images, DC Basler camera images, DCC laser sensor images, SCC Basler camera images, and SCC laser sensor images. To ensure consistency and reduce data complexity, similar data classes were merged. For instance, HCC Basler camera images and HCC laser sensor images were combined into a single HCC dataset. Pictorial samples of the merged images are shown in Figure 8. Table 7. Summary of different classes of images involved in the study. Label Image Class Description HCC Healthy-case class The healthy cases of the image samples. DCC Dented-case class The dented cases of the image samples. SCC Scratched-case class The scratched cases of the image samples. ( a ) ( b ) ( c ) Figure 8. Combined image class samples: ( a ) Healthy class; ( b ) Dent class showing dent portion in red circles; ( c ) Scratch class showing scratch portion in yellow circles. After the combination, a total of 6902 images—2452 HCC images, 2414 DCC images, and 2037 SCC images—were generated, approximately in a ratio of 35.52%, 34.97%, and 29.51%, respectively. In terms of dataset distribution, the data were relatively balanced across categories. However, to mitigate potential bias due to slight class size differences, data augmentation techniques such as brightness adjustment, zooming, contrast enhancement, and custom pixel multiplication—as discussed in Section 3.1—were applied to enhance model generalization. This approach ensured that the model learned meaningful features from all defect types effectively while preventing overfitting to dominant categories. _Sensors_ 2025, _25_, 2449 18 of 28 _4.4._ _Deep Learning Algorithms Parameters_ The performance of any fault classification model largely depends on the choice of classifier algorithm. To address this, we evaluated four custom CNN architectures alongside four pre-trained models: two variants of VGG-16 and two variants of ResNet-50. Our objective was to develop an efficient model optimized for low computational energy consumption. To achieve this, we designed streamlined architectures that balance performance and efficiency, prioritizing minimal resource usage without compromising accuracy. Additionally, the hyperparameters of the deep learning algorithms were optimized empirically. A summary of the models is provided in Table 8. Table 8. Summary of the models used in the study. Model Name Input Image Resolution Number of Layers Description CNN5-128 128 × 128 Five (5) A traditional CNN model with 128 × 128 image input dimension and five layers. CNN5-240 240 × 240 Five (5) A traditional CNN model with 240 × 240 image input dimension and five layers CNN6-128 128 × 128 Six (6) A traditional CNN model with 128 × 128 image input dimension and six layers CNN6-240 240 × 240 Six (6) A traditional CNN model with 240 × 240 image input dimension and six layers VGG-16128 128 × 128 Default with one dense layer A typical VGG-16 algorithm with 128 × 128 image input dimension and a dense layer VGG-16224 224 × 224 Default with one dense layer A typical VGG-16 algorithm with 224 × 224 image input dimension and a dense layer ResNet-50128 128 × 128 Default with one dense layer A typical ResNet-50 algorithm with 128 × 128 image input dimension and a dense layer ResNet-50224 224 × 224 Default with one dense layer A typical ResNet-50 algorithm with 224 × 224 image input dimension and a dense layer 4.4.1. Custom CNN Parameters The study evaluated four custom CNN architectures—CNN5-128, CNN5-240, CNN6-128, and CNN6-240—each subjected to varying hyperparameter configurations, including the number of convolutional layers, strides, pooling layers, and fully connected layers. These configurations were optimized to evaluate fault classification performance while minimizing computational demands. A summary of the architecture details and the n-layer structure of the custom CNN framework is presented in Table 9 and Figure 9. Figure 9. The n-layer structure of the custom CNN architecture with 3 × 3 filter and a stride of 2. Table 9. Architectures of the custom CNN models. Number of Conv Model Name Layers/Stride Kernel Sizes/Learning Rate Pooling Layer/Size Activation Functions Fully Connected Layers/Dropout Image Dimension Batch Size/Epochs CNN5-128 3/1 3 × 3/0.001 3/2 × 2 Relu/Softmax 2/0.1 128 × 128 16/200 CNN5-240 3/1 3 × 3/0.001 3/2 × 2 Relu/Softmax 2/0.1 240 × 240 16/200 CNN6-128 4/1 3 × 3/0.001 3/2 × 2 Relu/Softmax 2/0.1 128 × 128 16/200 CNN6-240 4/1 3 × 3/0.001 3/2 × 2 Relu/Softmax 2/0.1 240 × 240 16/200 _Sensors_ 2025, _25_, 2449 19 of 28 The custom CNNs with three convolutional layers (CNN5-128 and CNN5-240) include 32, 64, and 128 kernels across their respective layers, while the custom CNNs with four convolutional layers (CNN6-128 and CNN6-240) contain 16, 32, 64, and 128 kernels. All custom CNN models also feature dense layers with 128 kernels. To optimize efficiency and minimize computational energy, the input image dimensions were carefully chosen, as they significantly affect the speed and resource requirements of the CNN models. Common input dimensions for CNNs include 128 × 128, 224 × 224, 256 × 256, or their multiples. While larger dimensions can improve performance by offering more detailed images, they also increase the computational resource demands. Consequently, we explored image pixel sizes of 128 × 128 and 240 × 240 during training. Dimensions of 256 × 256 and larger were avoided due to their high computational demands. However, we chose 240 × 240 as it provided better image clarity than 224 × 224 while maintaining reasonable computational requirements. 4.4.2. Other Deep Learning Models’ Parameters VGG-16 was introduced in this study due to its compatibility with our dataset, despite not being the most advanced architecture compared to robust image classification models like Inception, ResNet, and EfficientNet. Although the optimal input size for VGG-16 is typically 224 × 224, we trained VGG-16 variants using two image dimensions: 128 × 128 (VGG-16128) and 224 × 224 (VGG-16224) to evaluate the best balance between performance and computational requirements. This approach aimed to assess whether comparable results could be achieved with a lower resolution. Similarly, ResNet-50 was included to ensure the selection of the most suitable neural network for the dataset through performance comparisons. Known for its efficiency and lower computational demands compared to VGG-16, ResNet-50 was chosen to provide a practical assessment of model performance, rather than relying solely on assumptions. Although ResNet-50 often outperforms VGG-16 in many applications, the effectiveness of any model depends heavily on its adaptability to the specific dataset. To further optimize ResNet-50 for low computational energy, we trained it using two image dimensions: 128 × 128 (ResNet-50128) and 224 × 224 (ResNet-50224) to identify the best performing configuration. A summary of the VGG-16 and ResNet-50 architectures used in this study is provided in Table 10. Table 10. Summary of the modified VGG-16 and ResNet-50 architecture employed in the study. Model Name Pre-Trained VGG-16 Model Image Dimension Dense Layer Dropout Rate Output Layer Optimizer/Learning Rate VGG-16128 ImageNet weights 128 × 128 256, ReLU 0.2 Softmax Adam/0.0001 VGG-16224 ImageNet weights 224 × 224 256, ReLU 0.2 Softmax Adam/0.0001 ResNet-50128 ImageNet weights 128 × 128 256, ReLU 0.2 Softmax Adam/0.0001 ResNet-50224 ImageNet weights 224 × 224 256, ReLU 0.2 Softmax Adam/0.0001 The models were executed with unfrozen layers to achieve the desired results. This approach allows for weight updates during the training process, enabling the model to adapt to the specific dataset. 5. Result Evaluation and Discussion The eight neural networks were empirically evaluated and assessed using three image classes, with the evaluation based on global metrics outlined in the previous section. This approach ensured the selection of the best model for our fault classifier. In addition to performance metrics, computational cost and the confusion matrix were also considered to guarantee a comprehensive evaluation of the models. A total of 6902 images were used, consisting of 2452 HHC, 2414 DCC, and 2037 SCC images. The dataset was divided _Sensors_ 2025, _25_, 2449 20 of 28 into training, validation, and testing sets. For VGG-16 and ResNet-50, a 70:15:15 ratio (training:validation:testing) was used, while custom CNN models were trained with an 80:10:10 ratio, based on their respective adaptation requirements. For VGG-16 and ResNet50, both the 70:15:15 and 80:10:10 splits produced similar results. However, the 70:15:15 ratio was chosen because it allocated fewer resources to training, reducing computational demands while maintaining performance. In contrast, for the custom CNN models, the 80:10:10 ratio yielded better performance, as evidenced by higher accuracy and lower loss values compared to the 70:15:15 split, making it the preferred choice. The experiments were conducted on a system configured with an Intel Core i7-11700 processor (8 cores, 16 threads, 2.50 GHz base frequency), 32 GB of DDR4 RAM, and running the Windows 10 operating system. The hardware was manufactured by Gigabyte Technology Co., Ltd., New Taipei City, Taiwan, featuring the B560M AORUS ELITE motherboard. The system designation is DESKTOP-J1TP30L, operating on a 64-bit architecture (x64-based PC). The deep learning models were trained using TensorFlow 2.x and NumPy 1.23.4 without GPU acceleration. The decision to use only the CPU was intentional, as the goal was to establish a resource-aware framework that could be deployed on systems without GPU acceleration, making it more accessible for practical applications. Consequently, some state-of-the-art algorithms, such as R-CNN, Mask R-CNN, and YOLO, were not feasible due to their high computational demands, which stem from their reliance on large-scale feature extraction and real-time processing capabilities. Figure 10 presents the training and loss curves for all models, illustrating their convergence behavior and performance during training. ( a ) ( b ) ( c ) ( d ) ( e ) ( f ) ( g ) ( h ) Figure 10. Accuracy and loss curve: ( a ) CNN5-128; ( b ) CNN5-240; ( c ) CNN6-128; ( d ) CNN6-240; ( e ) VGG-16128; ( f ) VGG-16224; ( g ) ResNet-50128; ( h ) ResNet-50224. As shown in the plots, the training accuracy and loss curves of all eight neural network models used in this study reveal key insights into their performance. The results demonstrate that higher image resolution improved model efficiency, emphasizing the importance of resolution in enhancing training outcomes. In general, all models displayed strong _Sensors_ 2025, _25_, 2449 21 of 28 learning capacity, as reflected in their accuracy curves, with the exception of ResNet-50128 and ResNet-50224, which experienced some instability during the early stages of training. However, this instability was not observed in the loss curves, where the validation curves for VGG-16128, VGG-16224, ResNet-50128, and ResNet-50224 struggled to converge, despite the models’ inherent robustness. This could be attributed to the input image dimensions, as the VGG-16224 and ResNet-50224 models showed greater stability than their 128 × 128 counterparts. Additionally, the high learning rate used due to the complexity of the dataset may have contributed to the observed fluctuations. While early fluctuations in accuracy and loss curves do not necessarily indicate poor performance, they suggest potential challenges in model convergence. Upon closer inspection, despite the fluctuations, ResNet-50224 demonstrated the ability to adapt and stabilize towards the end of the training process, showcasing its robustness and capacity to efficiently optimize and generalize from the data. To provide a more comprehensive evaluation, the models were further assessed using the test dataset, and the results are summarized in Table 11 below. Table 11. Performance Eevaluation summary. Model Test Accuracy Test Loss Precision Recall F1 Score Specificity mAP CNN5-128 91.03 0.4064 91.47 90.82 91.07 95.30 0.9697 CNN5-240 93.63 0.3651 91.41 91.33 91.36 95.62 0.9723 CNN6-128 91.75 0.3459 92.58 91.64 91.86 95.72 0.9795 CNN6-240 95.08 0.2753 95.09 95.21 95.14 97.53 0.9878 VGG-16128 95.66 0.1981 95.91 95.79 95.85 97.75 0.9906 VGG-16224 97.49 0.1911 97.61 97.61 97.52 98.71 0.9963 ResNet-50128 95.85 0.2073 96.21 96.21 96.12 97.83 0.9869 ResNet-50224 97.97 0.1030 98.16 97.99 98.05 97.78 0.9942 In our assessment, macro-averaging was preferred over weighted averaging for the evaluation metrics to ensure that the models were evaluated based on their performance across each individual class. Given the slight imbalance in our dataset classes, macroaveraging was chosen to provide a more balanced evaluation. As shown in Table 11, VGG-16224 and ResNet-50224 outperformed the other models across various metrics. Specifically, ResNet-50224 achieved the best performance in most cases, including accuracy, loss, precision, recall, and F1-score. On the other hand, VGG-16224 excelled in specificity and mean average precision (mAP). While ResNet-50224 can be considered the best classifier based on these results, it is important to note that specificity and mAP are also critical metrics. In particular, mAP is often the most important metric for evaluation, especially in multi-class and imbalanced data scenarios. Notably, ResNet-50224 did not achieve the highest mAP score, suggesting that other models, such as VGG-16224, may offer better performance in certain aspects. To gain deeper insights into the models’ performance, the confusion matrix was also employed to evaluate the actual class classification performance, focusing on _TP_, _FP_, _TN_, and _FN_ . Figure 11 displays the confusion matrix for all models. The reduced performance of most models can be attributed to the high _FN_ values in the dent class, with many datasets incorrectly predicted as belonging to the normal class. Overall, the dent class had the highest _FN_, while the scratch class had the lowest _FN_ on average across all models. The normal class consistently showed the highest percentage of _TP_, whereas the dent class had the lowest percentage of _TP_ . _Sensors_ 2025, _25_, 2449 22 of 28 ( a ) ( b ) ( c ) ( d ) ( e ) ( f ) ( g ) ( h ) Figure 11. Confusion matrix: ( a ) CNN5-128; ( b ) CNN5-240; ( c ) CNN6-128; ( d ) CNN6-240; ( e ) VGG16128; ( f ) VGG-16224; ( g ) ResNet-50128; ( h ) ResNet-50224. A comparative analysis of the performance of VGG-16224 and ResNet-50224—based on their confusion matrix evaluations shown in Figures 11f and 11h, respectively—was conducted to determine the superior model, as these two emerged as the top performers. The performance of each model across all classes was evaluated to identify their respective strengths and weaknesses in class prediction. ResNet-50224 demonstrated superior _TP_ performance for the normal and scratch classes, while VGG-16224 excelled in the dent class. Furthermore, ResNet-50224 achieved lower FN scores in two classes (normal and scratch), while VGG-16224 recorded a lower FN only for the dent class. A similar pattern was observed in the _FP_ assessment, where ResNet-50224 exhibited lower scores for the dent and scratch classes, whereas VGG-16224 had a lower score for the normal class. These findings suggest that ResNet-50224 demonstrated greater data adaptability and overall efficiency compared to VGG-16224 in this study. _5.1._ _Computation Efficiency Evaluation_ One of the key factors in determining an optimal model is its computational efficiency. Therefore, this section discusses the selection of an adequate model and offers suggestions for alternative models that could be considered when computational efficiency is a critical factor. For a more in-depth analysis, floating point operations (FLOPs) are introduced to concisely determine the computational energy requirements of each model. FLOPs are a key metric for assessing model complexity, especially in deep learning models. They provide valuable insights into the computational requirement of a model, which is key for model optimization, hardware implementation, and real-time performance. Figure 12a–c provide a comprehensive computational analysis of the models implemented in this study. The plots clearly show that the custom CNN models outperformed the pre-trained models (VGG-16 and ResNet-50 variants) in terms of computational efficiency. An interesting observation from the computational analysis is that the CNN5 models exhibited higher computational energy demands for their respective input pixel dimensions, despite having shallower architectures compared to the CNN6 models. This _Sensors_ 2025, _25_, 2449 23 of 28 behavior may be attributed to the complexity of the dataset, which likely challenges the CNN5 architectures in fully capturing and learning its features. ( a ) ( b ) ( c ) ( d ) Figure 12. ( a ) Models’ total training time; ( b ) Models’ average training step for one image data; ( c ) Models’ floating points operations; ( d ) Models’ accuracy. While ResNet-50224 demonstrated exceptional performance across various evaluation metrics, its significant computational energy demand raises concerns for applications where computational efficiency is a key factor, as shown in Figure 12a,b. Furthermore, Figure 12c, which displays the FLOPs of the models, revealed similar findings. ResNet-50224—with a total of 7,751,510,674 FLOPs—may not be the ideal choice for real-time system applications due to its computational complexity. In contrast, CNN6-240 presents itself as a more desirable option. Its accuracy—reaching up to 95% as shown in Figure 12d—though lower than that of ResNet-50224, requires significantly less computational energy and has FLOPs of 459,072,914, suggesting suitability for real-time system implementation. This can be attributed to its lighter architecture, making it a practical alternative despite its slightly lower accuracy compared to ResNet-50224. Moreover, its computational efficiency offers an opportunity for further hyperparameter tuning, which could enhance its accuracy. This makes the CNN6-240 model adaptable, cost-effective, and well-suited for resource-sensitive environments without compromising performance. _5.2._ _K-Fold Model Evaluation_ To validate the two best-performing models—ResNet-50224 (best overall) and CNN6240 (most computationally efficient)—we implemented a 3-fold cross-validation. This technique partitions the dataset into three folds, using two folds for training and one for validation in each iteration. By rotating the validation fold, we ensure every data point contributes to both training and evaluation, reducing bias from a single split, hence providing a more generalized performance assessment. Stratified sampling was implemented to ensure robust evaluation. Figure 13 illustrate the outcomes of the 3-fold cross-validation, showing both models’ accuracy and loss curves, alongside their respective test accuracies and losses. CNN6-240 _Sensors_ 2025, _25_, 2449 24 of 28 maintained an average k-fold test accuracy of 94.86%, closely mirroring its initial test accuracy of 95.08%. This reflects its strong efficiency and reliability in maintaining performance across different splits. Meanwhile, ResNet-50224 demonstrated superior accuracy, achieving an average of 98.088% with a reduced average loss of 0.0932, outperforming its original test results of 97.97% accuracy and 0.1030 loss. These findings highlight ResNet-50224’s advantage in generalization and accuracy, while CNN6-240 remains an effective, computationally efficient alternative. ( a ) ( b ) Figure 13. 3-Fold validation curves: ( a ) CNN6-240; ( b ) ResNet-50224. 6. Conclusions and Further Works In this study, we proposed a framework for image data generation and fault classification on glossy and curved surfaces. Data collection was achieved using two complementary techniques: a Basler vision camera with specialized lighting to capture front-view images of heart case glossy surface samples while minimizing reflectiveness, and a laser displacement sensor paired with a robotic arm to accurately capture the curved surfaces of the samples. Our dataset—consisting of three classes (HCC, DCC, and SCC)—was used to train eight deep neural networks. These networks were selected for their adaptability to the data and lower computational energy requirements. The architectures included four custom traditional CNNs (CNN5-128, CNN5-240, CNN6-128, CNN6-240) trained on image dimensions of 128 × 128 and 240 × 240 pixels, as well as four pre-established models: two variations of VGG-16 (VGG-16128, VGG-16224) and two variations of ResNet-50 (ResNet-50128, ResNet50224), which were trained on images of 128 × 128 and 224 × 224 pixels, respectively. From our evaluation results, ResNet-50224 achieved the highest accuracy at 97.97%, followed closely by VGG-16224 with an accuracy of 97.49%. However, ResNet-50224’s computational demands were less efficient compared to some of the custom traditional CNN architectures. Notably, CNN6-240 delivered an accuracy of 95.08% with an average step time of 94 milliseconds, compared to ResNet-50224’s 839 milliseconds, making CNN6-240 a viable choice in scenarios where computational efficiency is paramount. Our framework significantly advances glossy and curved surface defect detection by integrating specialized imaging hardware with tailored deep learning models. Using a Basler camera with custom lighting minimizes reflections on glossy surfaces, while a laser displacement sensor with a robotic arm precisely captures curved surfaces—yielding high-quality, reliable data. Beyond technical metrics, our framework also has significant industrial implications. Its deployment in manufacturing could lead to substantial cost _Sensors_ 2025, _25_, 2449 25 of 28 savings by reducing defect rates and minimizing downtime, ultimately improving product quality and competitiveness. For future work, we plan to further optimize and enhance the custom CNN models to achieve higher accuracy while reducing energy consumption. The lag observed in most models can likely be attributed to the high FN rate of the dent class, as indicated by the confusion matrix. This issue is more likely caused by feature overlap with normal surfaces rather than class imbalance. To address this, targeted data augmentation like CLACHE (Contrast Limited Adaptive Histogram Equalization), feature engineering, and loss function modifications can be employed to enhance detection accuracy. In addition, systematic optimization techniques such as grid search and Bayesian optimization can be introduced to fine-tune hyperparameters for improved model performance. Furthermore, we aim to explore federated learning for multi-factory deployment, enabling collaborative, privacypreserving model training across distributed production sites. We also plan to investigate lightweight model distillation techniques to facilitate real-time, energy-efficient deployment in industrial settings, potentially achievable through fine-tuning the custom CNN. However, a key limitation of our approach is its reliance on controlled lighting conditions and specific robotic arm configurations. The reliance on controlled lighting conditions may limit the framework’s applicability in environments with no lighting, variable lighting, or uncontrolled lighting, such as outdoor or poorly lit industrial settings. For example, in environments with uncontrolled lighting, the system’s accuracy could drop significantly due to increased reflections and noise. Furthermore, the use of a robotic arm for precise positioning introduces scalability limitations and challenges in integrating with other automated systems. Additionally, its deployment is heavily dependent on expert knowledge, which may restrict widespread adoption. Future work will focus on mitigating these limitations by improving adaptability to diverse lighting conditions and exploring alternative data acquisition methods. Author Contributions: Conceptualization, J.-H.Y. and C.N.O.; methodology, J.-H.Y. and C.N.O.; software, J.-H.Y. and C.N.O.; formal analysis, C.N.O.; investigation, J.-H.Y., C.N.O. and N.C.A.; resources, J.-H.Y., C.N.O., N.C.A. and J.-W.H.; data curation, J.-H.Y.; writing–original draft, J.-H.Y., C.N.O. and N.C.A.; writing—review and editing, C.N.O. and N.C.A.; visualization, C.N.O. and N.C.A.; supervision, J.-W.H.; project administration, J.-W.H.; funding acquisition, J.-W.H. All authors have read and agreed to the published version of the manuscript Funding: This work was partly supported by the Institute for Information & Communications Technology Planning & Evaluation (IITP)—Innovative Human Resource Development for Local Intellectualization program grant funded by the Korea government (MSIT) (IITP-2025-RS-2020-II201612, 50%) and grant funded by the MSIT (Ministry of Science and ICT), Korea, under the ITRC (Information Technology Research Center) support program (IITP-2024-RS-2024-00438430, 50%) supervised by the IITP (Institute for Information & Communications Technology Planning & Evaluation). Data Availability Statement: The data presented in this study are available upon request from the corresponding author. The data are not publicly available due to laboratory regulations. Conflicts of Interest: All authors declare no conflicts of interest. References 1. Lee, J.-H.; Okwuosa, C.N.; Shin, B.C.; Hur, J.-W. A Spectral-Based Blade Fault Detection in Shot Blast Machines with XGBoost and Feature Importance. _J. Sens._ _Actuator Netw._ 2024, _13_, 64. [[CrossRef]](http://doi.org/10.3390/jsan13050064) 2. Zhou, L.; Zhang, L.; Konz, N. Computer Vision Techniques in Manufacturing. _IEEE Trans._ _Syst._ _Man Cybern._ _Syst._ 2023, _53_, 105–117. [[CrossRef]](http://dx.doi.org/10.1109/TSMC.2022.3166397) 3. Zhou, L.; Zhang, L.; Konz, N.; Balamuralidhar, N.; Tilon, S.; Nex, F. MultEYE: Monitoring System for Real-Time Vehicle Detection, Tracking and Speed Estimation from UAV Imagery on Edge-Computing Platforms. _Remote Sens._ 2021, _13_, 573. [[CrossRef]](http://dx.doi.org/10.3390/rs13040573) _Sensors_ 2025, _25_, 2449 26 of 28 4. Islam, M.R.; Zamil, M.Z.H.; Rayed, M.E.; Kabir, M.M.; Mridha, M.F.; Nishimura, S. Deep Learning and Computer Vision Techniques for Enhanced Quality Control in Manufacturing Processes. _IEEE Access_ 2024, _12_, 121449–121479. [[CrossRef]](http://dx.doi.org/10.1109/ACCESS.2024.3453664) 5. Chen, Y.; Ding, Y.; Zhao, F.; Zhang, E.; Wu, Z.; Shao, L. Surface Defect Detection Methods for Industrial Products: A Review. _Appl._ _Sci._ 2021, _11_, 7657. [[CrossRef]](http://dx.doi.org/10.3390/app11167657) 6. Zhou, A.; Zhang, M.; Li, M.; Shao, W. Defect Inspection Algorithm of Metal Surface Based on Machine Vision. In Proceedings of the 2020 12th International Conference on Measuring Technology and Mechatronics Automation (ICMTMA), Phuket, Thailand, 28–29 February 2020; pp. 45–49. [[CrossRef]](http://dx.doi.org/10.1109/ICMTMA50254.2020.00017) 7. Sun, H.; Teo, W.-T.; Wong, K.; Dong, B.; Polzer, J.; Xu, X. Automating Quality Control on a Shoestring, a Case Study. _Machines_ 2024, _12_, 904. [[CrossRef]](http://dx.doi.org/10.3390/machines12120904) 8. Chin, R.T.; Harlow C.A. Automated Visual Inspection: A Survey. _IEEE_ _Trans._ _Pattern_ _Anal._ _Mach._ _Intell._ 1982, _4_, 557–573. [[CrossRef]](http://dx.doi.org/10.1109/TPAMI.1982.4767309) 9. Abd Al Rahman, M.; Mousavi, A. A Review and Analysis of Automatic Optical Inspection and Quality Monitoring Methods in Electronics Industry. _IEEE Access_ 2020, _8_, 183192–183271. [[CrossRef]](http://dx.doi.org/10.1109/ACCESS.2020.3029127) 10. Tang, Y.; Sun, K.; Zhao, D.; Lu, Y.; Jiang J.; Chen, H. Industrial Defect Detection Through Computer Vision: A Survey. In Proceedings of the 2022 7th IEEE International Conference on Data Science in Cyberspace (DSC), Guilin, China, 11–13 July 2022; pp. 605–610. [[CrossRef]](http://dx.doi.org/10.1109/DSC55868.2022.00091) 11. Tzampazaki, M.; Zografos, C.; Vrochidou, E.; Papakostas, G.A. Machine Vision—Moving from Industry 4.0 to Industry 5.0. _Appl._ _Sci._ 2024, _14_, 1471. [[CrossRef]](http://dx.doi.org/10.3390/app14041471) 12. Trivedi, C.; Bhattacharya, P.; Prasad, V.K.; Patel, V.; Singh, A.; Tanwar, S.; Sharma, R.; Aluvala, S.; Pau, G.; Sharma, G. Explainable AI for Industry 5.0: Vision, Architecture, and Potential Directions. _IEEE Open J. Ind._ _Appl._ 2024, _5_, 177–208. [[CrossRef]](http://dx.doi.org/10.1109/OJIA.2024.3399057) 13. Jian, Z.; Wang, X.; Zhang, X.; Su, R.; Ren, M.; Zhu, L. Task-Specific Near-Field Photometric Stereo for Measuring Metal Surface Texture. _IEEE Trans._ _Ind._ _Inform._ 2024, _20_, 6019–6029. [[CrossRef]](http://dx.doi.org/10.1109/TII.2023.3342478) 14. Heckbert, P.S. Survey of Texture Mapping. _IEEE Comput._ _Graph._ _Appl._ 1986, _6_, 56–67. [[CrossRef]](http://dx.doi.org/10.1109/MCG.1986.276672) 15. Foster, P.; Johnson, C.; Kuipers, B. The Reflectance Field Map: Mapping Glass and Specular Surfaces in Dynamic Environments. In Proceedings of the 2023 IEEE International Conference on Robotics and Automation (ICRA), London, UK, 29 May–2 June 2023; pp. 8393–8399. [[CrossRef]](http://dx.doi.org/10.1109/ICRA48891.2023.10161520) 16. Müller, V. Elimination of specular surface-reflectance using polarized and unpolarized light. In _Computer Vision—ECCV ’96._ _ECCV 1996_ ; Buxton, B., Cipolla, R., Eds.; Lecture Notes in Computer Science (LNCS, Volume 1065); Springer: Berlin/Heidelberg, Germany, 1996. [[CrossRef]](http://dx.doi.org/10.1007/3-540-61123-1_176) 17. Yoon, K.; Seol, J.; Kim, K.G. Removal of Specular Reflection Using Angle Adjustment of Linear Polarized Filter in Medical Imaging Diagnosis. _Diagnostics_ 2022, _12_, 863. [[CrossRef]](http://dx.doi.org/10.3390/diagnostics12040863) 18. Kaminokado, T.; Iwai, D.; Sato, K. Augmented Environment Mapping for Appearance Editing of Glossy Surfaces. In Proceedings of the 2019 IEEE International Symposium on Mixed and Augmented Reality (ISMAR), Beijing, China, 14–18 October 2019; pp. 55–65. [[CrossRef]](http://dx.doi.org/10.1109/ISMAR.2019.00-26) 19. Yan, T.; Li, H.; Gao, J.; Wu, Z.; Lau, R.W.H. Single Image Reflection Removal From Glass Surfaces via Multi-Scale Reflection Detection. _IEEE Trans._ _Consum._ _Electron._ 2023, _69_, 1164–1176. [[CrossRef]](http://dx.doi.org/10.1109/TCE.2023.3303475) 20. Sudo, H.; Yukushige, S.; Muramatsu, S.; Inagaki, K.; Chugo, D.; Hashimoto, H. Detection of Glass Surface Using Reflection Characteristic. In Proceedings of the IECON 2021—47th Annual Conference of the IEEE Industrial Electronics Society, Toronto, ON, Canada, 13–16 October 2021; pp. 1–6. [[CrossRef]](http://dx.doi.org/10.1109/IECON48115.2021.9589219) 21. Yan, T.; Gao, J.; Xu, K.; Zhu, X.; Huang, H.; Li, H.; Wah, B.; Lau, R.W. GhostingNet: A Novel Approach for Glass Surface Detection With Ghosting Cues. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2025, _47_, 323–337. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TPAMI.2024.3463490) 22. Yuan, S.; Li, L.; Chen, H.; Li, X. Surface Defect Detection of Highly Reflective Leather Based on Dual-Mask-Guided Deep-Learning Model. _IEEE Trans._ _Instrum._ _Meas._ 2023, _72_, 5025413. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2023.3310088) 23. Jiang, Q.; Tan, D.; Li, Y.; Ji, S.; Cai, C.; Zheng, Q. Object Detection and Classification of Metal Polishing Shaft Surface Defects Based on Convolutional Neural Network Deep Learning. _Appl._ _Sci._ 2020, _10_, 87. [[CrossRef]](http://dx.doi.org/10.3390/app10010087) 24. Wang, Y.; Xu, Q.; Li, Y.; Wei, C.; Wei, L. 3-D _µ_ XRF Imaging System for Curved Surface. _IEEE Trans._ _Instrum._ _Meas._ 2024, _73_, 4509111. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2024.3470990) 25. Huo, S.; Navarro-Alarcon, D.; Chik, D. A Robotic Line Scan System with Adaptive ROI for Inspection of Defects over Convex Free-form Specular Surfaces. _arXiv_ 2020, arXiv:2008.10816. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2021.3132428) 26. Rao, L.J.; Ramkumar, M.; Kothapalli, C.; Savarapu, P.R.; Basha, C.Z. Advanced computerized Classification of X-ray Images using CNN. In Proceedings of the 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India, 20–22 August 2020; pp. 1247–1251. [[CrossRef]](http://dx.doi.org/10.1109/ICSSIT48917.2020.9214136) 27. Nidhya, R.; Kalpana, R.; Smilarubavathy, G.; Keerthana, S.M. Brain Tumor Diagnosis with MCNN-Based MRI Image Analysis. In Proceedings of the 2023 1st International Conference on Optimization Techniques for Learning (ICOTL), Bengaluru, India, 7–8 December 2023; pp. 1–5. [[CrossRef]](http://dx.doi.org/10.1109/ICOTL59758.2023.10435262) _Sensors_ 2025, _25_, 2449 27 of 28 28. Srinivasan, S.; Francis, D.; Mathivanan, S.K.; Rajadurai, H.; Shivahare, B.D.; Shah, M.A. A hybrid deep CNN model for brain tumor image multi-classification. _BMC Med._ _Imaging_ 2024, _24_, 21. [[CrossRef]](http://dx.doi.org/10.1186/s12880-024-01195-7) 29. Rajeshkumar, C.; Soundar, K.R.; Sneha, M.; Maheswari, S.S.; Lakshmi, M.S.; Priyanka, R. Convolutional Neural Networks (CNN) based Brain Tumor Detection in MRI Images. In Proceedings of the 2023 5th International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India, 23–25 January 2023; pp. 976–979. [[CrossRef]](http://dx.doi.org/10.1109/ICSSIT55814.2023.10060968) 30. García-Navarrete, O.L.; Correa-Guimaraes, A.; Navas-Gracia, L.M. Application of Convolutional Neural Networks in Weed Detection and Identification: A Systematic Review. _Agriculture_ 2024, _14_, 568. [[CrossRef]](http://dx.doi.org/10.3390/agriculture14040568) 31. Fei, X.; Wu, S.; Miao, J.; Wang, G.; Sun, L. Lightweight-VGG: A Fast Deep Learning Architecture Based on Dimensionality Reduction and Nonlinear Enhancement for Hyperspectral Image Classification. _Remote Sens._ 2024, _16_, 259. [[CrossRef]](http://dx.doi.org/10.3390/rs16020259) 32. He, K.; Zhang, X.; Ren, S.; Sun, J.; Sun, L. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [[CrossRef]](http://dx.doi.org/10.1109/CVPR.2016.90) 33. Shah, S.R.; Qadri, S.; Bibi, H.; Shah, S.M.W.; Sharif, M.I.; Marinello, F. Comparing Inception V3, VGG 16, VGG 19, CNN, and ResNet 50: A Case Study on Early Detection of a Rice Disease. _Agronomy_ 2023, _13_, 1633. [[CrossRef]](http://dx.doi.org/10.3390/agronomy13061633) 34. Sahin, M.E.; Ulutas, H.; Yuce, E.; Erkoc, M.F. Detection and classification of COVID-19 by using faster R-CNN and mask R-CNN on CT images. _Neural Comput._ _Appl._ 2023, _35_, 13597–13611. [[CrossRef]](http://dx.doi.org/10.1007/s00521-023-08450-y) 35. Wang, X.; Sun, L.; Lu, C.; Li, B. A Novel Transformer Network with a CNN-Enhanced Cross-Attention Mechanism for Hyperspectral Image Classification. _Remote Sens._ 2024, _16_, 1180. [[CrossRef]](http://dx.doi.org/10.3390/rs16071180) 36. He, J.; Lv, F.; Liu, J.; Wu, M.; Chen, B.; Wang, S. C2T-HR3D: Cross-Fusion of CNN and Transformer for High-Speed Railway Dropper Defect Detection. _IEEE Trans._ _Instrum._ _Meas._ 2025, _74_, 3508516. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2025.3540132) 37. Taye, M.M. Theoretical Understanding of Convolutional Neural Network: Concepts, Architectures, Applications, Future Directions. _Computation_ 2023, _13_, 52. [[CrossRef]](http://dx.doi.org/10.3390/computation11030052) 38. Li, Z.; Liu, F.; Yang, W.; Peng, S.; Zhou, J. A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects. _IEEE Trans._ _Neural Netw._ _Learn._ _Syst._ 2022, _33_, 6999–7019. [[CrossRef]](http://dx.doi.org/10.1109/TNNLS.2021.3084827) 39. Sa-Couto, L.; Wichert, A. Simple Convolutional-Based Models: Are They Learning the Task or the Data? _Computation_ 2021, _12_, 3334–3350. [[CrossRef]](http://dx.doi.org/10.1162/neco_a_01446) 40. Ige, A.O.; Sibiya, M. State-of-the-Art in 1D Convolutional Neural Networks: A Survey. _IEEE Access_ 2023, _12_, 144082–144105. [[CrossRef]](http://dx.doi.org/10.1109/ACCESS.2024.3433513) 41. Liu, J.; Wang, T.; Skidmore, A.; Sun, Y.; Jia, P.; Zhang, K. Integrated 1D, 2D, and 3D CNNs Enable Robust and Efficient Land Cover Classification from Hyperspectral Imagery. _Remote Sens._ 2023, _15_, 4797. [[CrossRef]](http://dx.doi.org/10.3390/rs15194797) 42. Singh, S.P.; Wang, L.; Gupta, S.; Goli, H.; Padmanabhan, P.; Gulyás, B. 3D Deep Learning on Medical Images: A Review. _Remote_ _Sens._ 2020, _20_, 5097. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s20185097) 43. Krichen, M. Convolutional Neural Networks: A Survey. _Computers_ 2023, _12_, 151. [[CrossRef]](http://dx.doi.org/10.3390/computers12080151) 44. Buslaev, A.; Iglovikov, V.I.; Khvedchenya, E.; Parinov, A.; Druzhinin, M.; Kalinin, A.A. Albumentations: Fast and Flexible Image Augmentations. _Information_ 2020, _11_, 125. [[CrossRef]](http://dx.doi.org/10.3390/info11020125) 45. Cong, S.; Zhou, Y. A review of convolutional neural network architectures and their optimizations. _Artif._ _Intell._ _Rev._ 2023, _56_, 1905–1969. [[CrossRef]](http://dx.doi.org/10.1007/s10462-022-10213-5) 46. Toennies, K.D. Feature Extraction by Convolutional Neural Network. In _An Introduction to Image Classification_ ; Springer: Singapore, 2024. [[CrossRef]](http://dx.doi.org/10.1007/978-981-99-7882-3_8) 47. Chen, L.; Li, S.; Bai, Q.; Yang, J.; Jiang, S.; Miao, Y. Review of Image Classification Algorithms Based on Convolutional Neural Networks. _Remote Sens._ 2021, _13_, 4712. [[CrossRef]](http://dx.doi.org/10.3390/rs13224712) 48. Galanis, N.-I.; Vafiadis, P.; Mirzaev, K.-G.; Papakostas, G.A. Convolutional Neural Networks: A Roundup and Benchmark of Their Pooling Layer Variants. _Algorithms_ 2022, _15_, 391. [[CrossRef]](http://dx.doi.org/10.3390/a15110391) 49. Jeczmionek, E.; Kowalski, P.A. Flattening Layer Pruning in Convolutional Neural Networks. _Symmetry_ 2021, _13_, 1147. [[CrossRef]](http://dx.doi.org/10.3390/sym13071147) 50. Sarıate¸s, M.; Özbay, E. A Classifier Model Using Fine-Tuned Convolutional Neural Network and Transfer Learning Approaches for Prostate Cancer Detection. _Appl._ _Sci._ 2025, _15_, 225. [[CrossRef]](http://dx.doi.org/10.3390/app15010225) 51. Maniatopoulos, A.; Mitianoudis, N. Learnable Leaky ReLU (LeLeLU): An Alternative Accuracy-Optimized Activation Function. _Information_ 2021, _25_, 513. [[CrossRef]](http://dx.doi.org/10.3390/info12120513) 52. Kulathunga, N.; Ranasinghe, N.R.; Vrinceanu, D.; Kinsman, Z.; Huang, L.; Wang, Y. Effects of Nonlinearity and Network Architecture on the Performance of Supervised Neural Networks. _Algorithms_ 2021, _14_, 51. [[CrossRef]](http://dx.doi.org/10.3390/a14020051) 53. Solovyeva, E.; Abdullah, A. Binary and Multiclass Text Classification by Means of Separable Convolutional Neural Network. _Inventions_ 2021, _6_, 70. [[CrossRef]](http://dx.doi.org/10.3390/inventions6040070) 54. Salehin, I.; Kang, D.-K. A Review on Dropout Regularization Approaches for Deep Neural Networks within the Scholarly Domain. _Electronics_ 2023, _12_, 3106. [[CrossRef]](http://dx.doi.org/10.3390/electronics12143106) 55. Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. _arXiv_ 2015, arXiv:1409.1556v6. [[CrossRef]](http://dx.doi.org/10.48550/arXiv.1409.1556) _Sensors_ 2025, _25_, 2449 28 of 28 56. Balderas, L.; Lastra, M.; Benítez, J.M. Optimizing Convolutional Neural Network Architectures. _Mathematics_ 2024, _12_, 3032. [[CrossRef]](http://dx.doi.org/10.3390/math12193032) 57. Jiang, W.; Han, H.; Zhang, Y.; Wang, J.; He, M.; Gu, W.; Mu, J.; Cheng, X. Graph Neural Networks for Routing Optimization: Challenges and Opportunities. _Sustainability_ 2024, _16_, 9239. [[CrossRef]](http://dx.doi.org/10.3390/su16219239) 58. Kim, S.P.; Cho, H.S.; Hong, S.H.; Cho, H.J.; Sohn, H.G. Genetic algorithm to find the shortest path on raster data. In Proceedings of the 2014 International Conference on Control, Automation and Information Sciences (ICCAIS 2014), Gwangju, Republic of Korea, 2–5 December 2014; pp. 144–147. [[CrossRef]](http://dx.doi.org/10.1109/ICCAIS.2014.7020547) Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

섹션 본문 113문단 · 68,463자

(제목 없음)

1The industrial application of artificial intelligence (AI) has witnessed outstanding adoption due to its robust efficiency in recent times.Image fault detection and classification have also been implemented industrially for product defect detection, as well as for maintaining standards and optimizing processes using AI.However, there are deep concerns regarding the latency in the performance of AI for fault detection in glossy and curved surface products, due to their nature and reflective surfaces, which hinder the adequate capturing of defective areas using traditional cameras.Consequently, this study presents an enhanced method for curvy and glossy surface image data collection using a Basler vision camera with specialized lighting and KEYENCE displacement sensors, which are used to train deep learning models.Our approach employed image data generated from normal and two defect conditions to train eight deep learning algorithms: four custom convolutional neural networks (CNNs), two variations of VGG-16, and two variations of ResNet-50.The objective was to develop a computationally robust and efficient model by deploying global assessment metrics as evaluation criteria.Our results indicate that a variation of ResNet-50, ResNet-50 224 , demonstrated the best overall efficiency, achieving an accuracy of 97.97%, a loss of 0.1030, and an average training step time of 839 milliseconds.However, in terms of computational efficiency, it was outperformed by one of the custom CNN models, CNN 6 -240, which achieved an accuracy of 95.08%, a loss of 0.2753, and an average step time of 94 milliseconds, making CNN 6 -240 a viable option for computational resource-sensitive environments.

Introduction

2Over the years, the manufacturing sector has undergone a remarkable transformation since the introduction of Industry 4.0, uniquely revolutionizing industrial operations through smart technological implementations.These innovations have enhanced and fostered global innovation and competitiveness within the manufacturing sector.Artificial intelligence (AI) has been used not only in manufacturing processes but also plays a crucial role in the maintenance and reliability of industrial machinery.One aspect of AI, known as Prognostics and Health Management (PHM), ensures uninterrupted production by monitoring the life and performance of a system.PHM enables real-time monitoring and assessment of systems, with the capacity to monitor a system both online (while in operation) and offline (when not in operation) [1].It can predict the current and future state of a given system based on information generated through sensor technology.Although PHM originated in the aerospace industry, its reach has expanded to industries such as manufacturing, energy, production, automotive, construction, textile, healthcare, and pharmaceuticals.

3Vision-based analysis has been successfully employed in manufacturing for standard and quality control inspections [2].It is also used in technical fields such as intelligent traffic monitoring and unmanned aerial vehicles [3,4].Despite the success of Prognostics and Health Management (PHM) models in system diagnostics and monitoring, researchers continue to enhance condition-based system models to improve efficiency and robustness, addressing unresolved challenges.One such challenge is automated defect inspection and machine vision-based fault detection for glossy and curvy surfaces.The complex reflectiveness and curvy morphology of these surfaces often cause defects to go unnoticed when captured by traditional cameras [5,6].For decades, such inspections have been performed manually by trained human inspectors, which is time-consuming and costly compared to automated non-glossy surface inspection [5,7].

4Generally, product quality inspection is critical in manufacturing, with methods like visual inspection, automated optical inspection (AOI), machine vision, infrared thermography, laser scanning, and X-ray inspection widely used [8][9][10].Among these, computer vision stands out for its precision, computational efficiency, and non-contact approach, particularly as industries shift from Industry 4.0 to Industry 5.0 [11,12].However, issues experienced with glossy and curved surfaces have prompted researchers to explore different methodologies to overcome these challenges.

5Some methods for mitigating glossy surface effects primarily involve modifying image capture techniques and using advanced cameras with enhanced lighting to reduce surface reflectiveness.Techniques such as polynomial texture mapping, surface-enhanced ellipsometry, specular holography, and near-field imaging have proven effective when implemented correctly [13][14][15].Their efficacy is demonstrated in several studies.For example, Müller used polarization filters to diminish surface reflectiveness, capturing two images with different filter orientations and then deriving the specular reflectance intensity on plane surfaces, effectively mitigating surface reflections [16].Similarly, Yoon et al. [17] proposed a method to remove light reflections in medical diagnostic imaging by adjusting the angle of a linear polarized filter.By controlling vertical and horizontal polarization through filter rotation, they eliminated light reflections and expanded the field of view.In another study [18], the authors introduced a spatial augmented reality framework to improve the appearance of glossy surfaces.Their technique spatially manipulates an environment's appearance, allowing a glossy surface to reflect a projected image without direct modification, thus enabling effective appearance editing through careful content control.Nevertheless, environmental factors, incompatibility with certain surfaces, and reduced image resolution remain limitations of this approach [19][20][21].

6Another unique method often utilized involves implementing advanced algorithms and unique image processing deep learning models, robust enough to handle glossy surfaces.The study by Yuan et al. [22] proposed a dual-mask-guided deep learning model specifically designed to detect surface defects on highly reflective leather materials.Their model enhances defect detection accuracy by effectively removing surface specular highlights in images while preserving bright defects.Although leather surfaces may not be perfectly reflective, this technique could be effective on highly glossy surfaces when implemented with robust models.In another notable study [23], the authors presented an object detection and classification model of polished metal shaft surface defect using a deep learning method based on convolutional neural network feature extraction.Their method was achieved through image segmentation, architecture setup, and parameter optimization of a Fast-R-CNN object detection framework.According to the assessment, their model proved to be implementable in practical production; hence, their model can also be extended to other fields of large image micro-fine defects with large light surfaces.However, model performance can decline in real-life applications involving intense reflections or varying levels of reflectiveness.For example, a glass defect detection method proposed in [20] struggled when the background image closely resembled the reflected image.

7For curved surfaces in fault detection-especially with fixed cameras-researchers have developed various techniques to address the challenges.Among these, robotic arms stand out for their flexibility in navigating curved geometries.Wang et al. [24] demonstrated a robotic arm equipped with a 3D micro X-ray fluorescence (µXRF) spectrometer and a depth camera for high-precision scanning of curved surfaces.They emphasized that maintaining consistent X-ray incident angles and scanning distances minimizes counting errors and improves accuracy.The arm's flexible six-axis design enables comprehensive surface inspections from multiple perspectives, enhancing its industrial utility.Similarly, Huo et al. [25] highlighted the advantages of robotic arms by employing a six-degree-offreedom manipulator integrated with a line scan camera and high-intensity lighting.This setup successfully inspected convex, free-form, and specular surfaces by dynamically adapting the region of interest, ensuring robust defect detection on complex geometries.

8Regardless of the technique used to establish a robust image fault detection or classification model, the classifier or fault detection algorithm remains critical to achieving accurate results.Among deep learning algorithms, convolutional neural networks (CNNs) stand out as one of the most powerful.They have dominated the field of computer vision since their remarkable performance in the ImageNet Large Scale Visual Recognition Competition in 2012 and are widely employed in diverse areas, including medical imaging for tumor detection and fault identification using MRI and X-ray images [26][27][28].A typical example can be seen in this study by Rajeshkumar et al. [29]; they used CNNs to diagnose brain tumors via MRI scans, emphasizing prompt and efficient defect detection in medical practice.Their methodology demonstrated the flexibility of CNNs; by employing a grid search optimization technique, they enhanced the performance of three CNN models for multi-classification tasks involving brain tumor images.While the models exhibited varying performance levels, they demonstrated the flexibility and adaptability of CNNs.The high accuracy achieved in identifying and classifying brain tumors further underscores the reliability and effectiveness of CNNs in medical image analysis.

9Over the years, convolutional neural networks (CNNs) have branched into various specialized architectures to tackle specific challenges in computer vision-including segmentation, object detection, fault detection, and more.For instance, the Visual Geometry Group (VGG) architecture is a standard CNN model with multiple sequential layers, emphasizing simplicity in design to enhance feature extraction [30,31].However, this comes at a high computational cost due to its depth.The Residual Neural Network (ResNet) architecture revolutionized deep networks by introducing residual connections, which address the vanishing gradient issue and enable much deeper architectures [32].

10The strength of ResNet was demonstrated in [33], where several CNN architecturesincluding Inception V3, VGG-16, VGG-19, and a conventional CNN-were compared for early fault detection in rice leaf blast disease.ResNet-50 achieved a top accuracy of 99.75%, highlighting the importance of deep feature extraction in agricultural applications.In some cases, combining multiple CNN architectures can yield better results.For example, in [34], the authors employed a combination of CNN subtypes for COVID-19 detection and classification.They used Faster R-CNN with a VGG-16 backbone to detect and classify COVID-19 infections in computed tomography (CT) images, achieving an accuracy of 93.86%.This further validates the utility of region-based CNNs in medical image analysis.CNN has also been integrated into various advanced models to create more sophisticated frameworks.For instance, the authors in [35] proposed a novel transformer network enhanced with a CNN cross-attention mechanism for hyperspectral image (HSI) classification.Despite the constraint of limited data samples, their framework demonstrated exceptional classification performance.In another study, He et al. [36] utilized a cross-fusion of CNN and transformer architectures for high-speed railway dropper defect detection.Their robust framework achieved accurate defect detection even under challenging weather conditions, such as rain, fog, sunlight, and nighttime.Deployed across over 300 high-speed trains, their system successfully detected more than 10,000 dropper defects, outperforming most state-of-the-art networks in terms of competence and reliability.

11The motivation behind this study stems from the pressing demand within a manufacturing company to create a reliable classification model for products with glossy and curved surfaces.Figure 1 illustrates a product sample: a uniquely designed hairbrush case cover tailored for women.This product merges aesthetic appeal with practical functionality, catering to a specific consumer need.Its distinctiveness arises not only from its visual design but also from its ergonomic construction, material durability, and comfortable palm fit.Beyond its user-centric features, the case enhances the hairbrush's longevity by providing protection and portability.Its versatile design ensures adaptability to diverse settings and uses, further solidifying its value in everyday life.Nevertheless, the product's aesthetic nature not only attracts customers but also poses challenges.Its glossy and curved design complicates traditional machine-vision inspection techniques.For example, as shown in Figure 1, the white circles highlight dent locations that are difficult to detect visually due to surface reflectivity.Quality inspection is critical for this product, as the target demographic demands flawless items, and even minor defects like cracks, dents, or scratches lead to rejection.This stringent requirement has prompted online platforms to automatically flag and reject listings with such imperfections.

12To ensure that fault classification is effectively carried out on glossy and curved surfaces in the manufacturing industry, this study makes the following contributions:

•

13A proposal for integrating a Basler vision camera with enhanced lighting to achieve clear, high-quality image acquisition of glossy surfaces.This integration is aimed to facilitate the development of a robust fault detection and classification framework specifically designed for reflective surfaces.

14The utilization of a KEYENCE laser displacement sensor in combination with a Motoman-GP7 Yaskawa robotic arm to enable the precise and effective acquisition of curved geometries.Additionally, the integration of images from the Basler vision camera and the laser displacement sensor is proposed as an ideal approach for developing a fault classification framework for glossy and curved surface image products.

15• A thorough comparative assessment of robust deep learning algorithms for imagebased fault detection, with global assessment metrics such as accuracy, loss, computational efficiency, recall, F1 score, specificity, mAP, and confusion matrix, to validate the performance of our model and identify an efficient algorithm that is also computationally cost efficient.

16The rest of the paper is structured as follows: Section 2 explains the theoretical background of the core techniques employed in the study.Section 3 details the proposed system framework and methodologies used to achieve the study's objectives.Section 4 presents the experimental setup and visualizations.Section 5 discusses and evaluates the results, while Section 6 concludes the study.

Theoretical Background

17This section discusses the theoretical background of CNN architecture and its subtypes as employed in the study.It also explores key techniques utilized in the development of the proposed framework.

Convolutional Neural Network

18Convolutional neural networks (CNNs), or ConvNets, are a class of deep learning models with multi-layered neural network architectures.They excel in tasks such as image classification, object detection, segmentation, natural language processing, and time series analysis, and are widely used in fields like computer vision and fault detection [37,38].Their ability to learn directly from raw data, eliminating manual feature extraction, enhances their efficiency in complex tasks with minimal human intervention.

19First conceptualized by Hubel and Wiesel in the 1950s-1960s through studies of the visual cortex, CNNs gained prominence in 2012 after dominating the ImageNet Large Scale Visual Recognition Competition [37,39].CNNs are categorized by input dimensionality: 1D CNNs are used for sequential data such as audio and time series, 2D CNNs excel in image-related tasks like classification and segmentation, and 3D CNNs handle volumetric datasets such as CT scans and video [40][41][42].Each category employs specialized kernels to extract task-specific features, making CNNs versatile for applications like fault detection and signal processing.

CNN Architectural Overview

20A typical CNN architecture is composed primarily of six layers, namely: A typical convolutional neural network (CNN) consists of specialized layers, each performing distinct tasks, making it a powerful algorithm for image understanding tasks such as processing, classification, and fault detection.The architecture begins with the input layer, which determines the nature and format of the input.For image inputs, pixels represent numerical color grades (0-255), forming a matrix that the CNN processes.The brightness, shade, and tint of an image are determined by pixel value grading, which is sequentially organized into a digital layout [37,38].The input layer is critical as it defines the raw data structure, influencing model performance.Factors such as image resolution, data augmentation, normalization, and input channels (e.g., grayscale, RGB, or RGBA) must align with the input layer format to ensure optimal performance [43,44].Normalization scales pixel values from 0-255 to 0-1, ensuring dataset consistency and training stability.Mathematically, normalization is expressed as follows:

21where I norm stands for the normalized image pixel value, I presents the original pixel value.The output of the input layer, a tensor, is passed to the convolutional layer for feature extraction.This layer uses filters (kernels), small matrices of learnable weights, to convolve through the input array, producing feature maps [45].The convolution operation is defined as follows:

22where f k ij stands for the output values at positions i and j in the k-th feature map.U, V, and V represent the filter's height, width, and input channels, respectively; K k uvc stands for the filter weight at positions u and v for the c-th channel of the k-th filter; and b k is bias.

23Filter size (e.g., 3 × 3, 5 × 5, or 7 × 7) determines the level of detail captured, with smaller filters extracting finer details and larger filters capturing broader context.Convolutional layers are stacked to progressively extract low-level (edges, corners), mid-level (shapes, patterns), and high-level (complex patterns) features, enabling hierarchical representation learning [46].The number of filters in a layer determines the variety of features learned; for example, 16 filters generate 16 feature maps.Strides and padding further influence the output: strides control the filter's step size (e.g., stride 1 processes all pixels), while padding (e.g., Same or Valid) determines whether input edges are included in computations, affecting output dimensions [43,47].

24The pooling layer, also known as downsampling, refines the features extracted by the convolutional layer by reducing the dimensionality of the feature map while retaining the most significant features.This process enhances the network's performance by maintaining accuracy and computational efficiency [37,43].Pooling operations include max pooling, average pooling, and global pooling.Max pooling selects the maximum value within a pooling window, while average pooling computes the average value in the window.Global pooling applies max or average pooling over the entire feature map, reducing it to a single value per channel [37,48].

25The pooling window size is a critical parameter, as it determines the region over which the pooling operation is applied and influences the nature of downsampling.Smaller window sizes, such as 2 × 2, preserve finer details in the feature map, whereas larger windows, like 3 × 3, provide more aggressive dimensionality reduction, potentially sacrificing fine details but capturing broader contextual features.The stride, which controls the movement of the pooling window, also plays a significant role.Larger strides result in greater dimensionality reduction, while smaller strides retain more spatial details in the output feature map.Mathematically, the output dimensions of the pooling layer can be expressed as follows:

26where O d represents the output and its dimensions; I d represents the input and its dimensions; and T d stands for the pooling window and its dimensions.P and S represent padding and strides, respectively.Additionally, the operations for max pooling and average pooling are defined as follows:

27Generally, the pooling layer's effectiveness depends on the careful selection of window size and stride, which together determine the balance between dimensionality reduction and feature retention [37,43,48].

28The flatten layer serves as a critical transition between the convolutional/pooling layers and the fully connected layer, reshaping the multidimensional feature maps from the pooling layer into a one-dimensional vector.This transformation ensures that spatial features extracted by earlier layers are preserved and formatted for processing in the fully connected layer [49,50].For instance, a pooling layer output of size 3 × 3 with 64 feature maps is flattened into a vector of size 576 (3 × 3 × 64).Once flattened, the data is passed to the fully connected layer, where every neuron connects to every neuron in the previous layer, enabling dense connectivity.This layer aggregates the extracted features and processes them for tasks such as classification, regression, or prediction [37,43].Each neuron in the fully connected layer computes a weighted sum of its inputs, adds a bias, and applies an activation function to introduce non-linearity, as described in Equation ( 6):

29where F is the output of the neuron; σ is the activation function;

30represents the summation of all input; and W i is the weight of the i-th input.x i and b represent the input vector and bias, respectively.The activation function plays a vital role in both convolutional and fully connected layers, enabling neurons to detect complex patterns and hierarchies in the input data.In convolutional layers, activation functions process and retain spatial features extracted by filters, while in fully connected layers, they introduce non-linearity, allowing the network to learn and understand the complexity of the data.Without activation functions, neurons would only perform linear transformations, limiting the network's ability to model intricate relationships [51,52].Commonly used activation functions include ReLU, Softmax, and Sigmoid, each serving specific purposes; these are represented mathematically in Equation Equations ( 7)-(9) below.

31where x is the input and e represents Euler's number.

32ReLU is widely used in intermediate layers to prevent vanishing gradients and ensure efficient training, as it activates neurons only for positive inputs.Softmax is typically employed in multi-class classification tasks, converting outputs into probabilities, while Sigmoid is used for binary classification, mapping outputs to a range between 0 and 1.The choice of activation function depends on the task and defines the output layer of the CNN architecture [37,53].

33Despite their effectiveness, fully connected layers have limitations, such as high computational costs and susceptibility to overfitting.These challenges can be mitigated through proper parameter tuning, including the selection of optimal layer sizes, filters, padding, and strides, as well as the use of regularization techniques.Regularization methods-such as batch normalization, L1/L2 regularization, early stopping, and dropout-improve a model's ability to generalize to unseen data by adding constraints that prevent overfitting [54].Batch normalization stabilizes the learning process by normalizing inputs to each layer, while L1 regularization encourages sparsity by penalizing the absolute values of weights.L2 regularization, on the other hand, penalizes squared weights, ensuring even weight distribution without driving them to zero.Elastic Net combines L1 and L2 penalties, balancing sparsity and weight stability [37,43,54].Early stopping monitors validation performance during training and halts the process when improvements plateau, while dropout randomly deactivates neurons during training, forcing the model to learn robust and redundant features.Additionally, data augmentation is a powerful technique to combat overfitting, especially with limited datasets.It generates additional training samples by applying transformations such as zooming, flipping, and adjusting brightness or intensity.These transformations increase data variability and complexity, ensuring the model generalizes better to real-world variations, regardless of dataset size [37].

Visual Geometry Group 16 Layer CNN (VGG-16)

34VGG-16 is one of the most popular CNN architectures, developed by the Visual Geometry Group (VGG) at the University of Oxford.It was first implemented in 2014 by Simonyan and Zisserman for large-scale image recognition, as described in their study [55].The name VGG-16 comes from the number of trainable layers in the network, which totals sixteen trainable layers comprising thirteen convolutional layers and three fully connected layers.Although the network contains a total of twenty-one layers, some of these are non-trainable (e.g., pooling layers).

35The architecture was designed to deepen the structure of traditional CNNs while maintaining simplicity in the network design.One of its standout features is the use of 3 × 3 convolutional kernels, which help capture local patterns in the input data while maintaining computational efficiency.To further increase its depth, VGG-16 utilizes a stack of these small filters, enabling the model to train on and learn more complex features.Another key feature of VGG-16 is the application of max-pooling layers after every 2-3 convolutional layers.These pooling layers use a 2 × 2 filter size with a stride of 2 to reduce the spatial dimensions of the feature maps, making the model computationally efficient while preserving the most important features.At the end of the convolutional stack, the network outputs a feature map passed through fully connected layers, followed by a Softmax layer for multi-class classification.However, though it is highly efficient for feature extraction and transfer learning, VGG-16 is notable for being more computationally demanding than traditional CNN due to its large number of parameters [56].For instance, it has two dense layers with 4096 neurons each, with an output layer of 1000 neurons in the case of Imagenet classification, and it has a total of 138 million parameters.

Residual Network (ResNet)

36ResNet is a distinctive CNN architecture first introduced by He et al. in their study [32].It was specifically designed to address the vanishing gradient problem, a common issue in deep neural networks where gradients become increasingly small during backpropagation, hindering effective learning.This problem is particularly evident in architectures like VGG-16.ResNet resolves this issue through residual learning and skip connections, which ensure smoother gradient flow and mitigate the vanishing gradient problem.As the name suggests, ResNet consists of various layers, including convolutional layers, activation functions, normalization layers, and bottleneck residual blocks [32].

37The skip connection and bottleneck residual block are key characteristics of ResNet-50 that enable it to achieve high efficiency and lower computational costs compared to similar CNN architectures.Skip connections allow the input to bypass certain layers and be added directly to the output, enabling the network to learn residual functions.These residual functions are generally easier to optimize than direct mappings.On the other hand, the bottleneck structure, which uses 1 × 1 convolutions to reduce and then restore dimensionality, ensures smoother gradient flow during backpropagation, reducing computational requirements [32].

38ResNet architectures come in various depths, with the most popular models being ResNet-18, ResNet-50, ResNet-101, and ResNet-152, each differing in the number of layers.Due to its unique architecture, ResNet-particularly ResNet-50-has been successfully employed in a variety of fields due to its efficiency and robust performance in image classification, object detection, and numerous computer vision tasks [32,33].

Dijkstra's Algorithm Overview

39Dijkstra's algorithm is one of the popular algorithms introduced by Edsger W. Dijkstra that can be employed to determine the shortest paths in weighted graph instances where edges have non-negative weights [57,58].This technique, known for its simplicity and efficiency, has been widely used in solving graph-based shortest path problems and has found applications in various domains such as GPS navigation, network routing, and optimization problems.The core principle of Dijkstra's algorithm works by exploring the paths from nodes to the source node, selecting the shortest possible path among them.Dijkstra's algorithm employs a greedy approach, enabling it to make a locally optimal choice at every step, aiming to achieve the global optimum [57,58].The algorithm begins by initializing all nodes with a tentative distance of infinity, except for the source node.This process is repeated until the shortest distance is determined.In practice, the initial distance of the source node is set to zero, and the other nodes are set to infinity.The algorithm marks all nodes as unvisited and, for each unvisited neighbor, calculates their tentative distances by adding the weight of the edge connecting the current node to the neighbor.Once all neighbors of the current node are processed, the node is marked as visited, and the algorithm moves to the next unvisited node with the smallest tentative distance.This process is repeated until all nodes have been visited, or the remaining unvisited nodes are not connected to the source.As the algorithm terminates, each node will have the shortest distance from the source node, providing the solution to the problem.

40In the context of graph theory, given that G = (V, E) where V and E represent the vertices and edges of a given graph, and assuming each edge (u, v) has a weight of w(u, v), then d[v] stands for the shortest distance from a source node s to the node v, and p[v] represents the previous node in the shortest path from the source node s to node v. Dijkstra's algorithm initializes using Equation (10).

41where u is the current node and v is the neighbor node.At this point, all nodes are marked as unvisited.While the nodes are unvisited, each neighboring node v, updates its distance using Equation (11):

42After this, node n is marked as visited, and the algorithm moves to the next unvisited node with the shortest distance of d[v].

Proposed System Framework and Methodology

43The proposed framework, illustrated in Figure 2, outlines the steps and methodologies used in our study to achieve fault diagnostic classification for glossy and curved surfaces.A heart-shaped brush case with a glossy and curved surface was selected as the reference sample.

44Our methodology consisted of three key steps.The first step involved image data collection, where two robust pieces of equipment were used to ensure the datasets were suitable for deep learning-based fault classification.A Basler vision camera with lighting was employed to capture images of the flat top surface, while a KEYENCE laser displacement sensor, mounted on a robotic arm, was used to efficiently scan the curved surface.The second step focused on data processing, which included data merging, data augmentation, labeling, and dataset splitting.In the final step, the processed datasets were fed into various deep learning image classification models.Validation assessments were conducted to identify the best-performing model and ensure it met the required performance standards.These stages are implemented to ensure that issues encountered with glossy and curved surfaces are mitigated, thereby providing a reliable framework capable of achieving the desired efficiency for overall model validation.Given the nature of our dataset, which originates from glossy and curved surfaces, we applied specific data augmentation techniques to further enhance the images and ensure optimal adaptation.

Data Augmentation

45The primary aim of data augmentation is to introduce variability into the dataset, simulating real-world instances such as zoom, lighting changes, and flipping.This ensures that the model does not rely on overly simplistic patterns, which could lead to overfitting.Data augmentation is particularly crucial when working with unbalanced or small datasets, as it serves as an efficient way to enhance and increase training data without the need to acquire additional samples.In our study, the augmentation techniques employed were brightness, zoom, and custom pixel multiplication, and their mathematical representation is presented thus: Brightness: X(i, j) = X(i, j) + ∆b (12) where (i, j) stands for the pixel value at position (i, j), ∆b is the brightness adjustment constant.Zoom:

46Z s stands for the zoom factor.Contrast:

47Custom Pixel Multiplication:

48where k is the scaling factor for each pixel value.

49In this study, brightness and contrast were adjusted by ±30% and ±20%, respectively, while zoom was adjusted by ±10%.Additionally, a random multiplier of 3.0 was applied.

Model Performance Evaluation Criteria

50Model evaluation is important to ensure that the model performs up to a given standard.In this study, these metrics were implemented to help evaluate, validate, and determine the best-performing deep neural network for our framework.Thus, some of the core global performance metrics implemented in this study include accuracy (A cc ), precision (P rc ), F1-score (F sc ), sensitivity (S nv ), specificity (S pc ), and mean average precision (mAP), and their mathematical representations are shown in ( 16)- (20).

51TP, FP, TN, and FN stand for true positive, false positive, true negative, and false negative, respectively.AP x represents the average precision of class x, while N is the total number of classes.

52TP represents the number of positive samples that a model accurately classified as belonging to the positive class, while FP indicates the number of non-positive samples that the model falsely classified as belonging to the positive class.On the other hand, TN represents the number of negative samples that the model accurately classified as belonging to the negative class, and FN stands for the number of negative samples that the model falsely classified as belonging to the positive class.

53mAP measures the accuracy of a model in classifying within a dataset.It evaluates the model's performance across all classes and provides a single score for overall assessment, indicating the model's quality.Furthermore, a confusion matrix was implemented in our study to provide a detailed analysis of the actual classification performance, represented in percentages with respect to TP, FP, TN, and FN.

Experimental Setup and Visualization

54The experimental data collection was conducted at the Defense Reliability Laboratory of the National Institute of Technology Kumoh, Gumi, Republic of Korea.The procedure involved two stages.In the first stage, high-vision imaging combined with appropriate lighting was used to capture a detailed front view of the image data.In the second stage, a laser displacement sensor mounted on a robotic arm was utilized to scan and reconstruct 3D surface data of the curved sections of the dataset.

Data Collection Using Basler Vision Camera

55The Basler vision camera equipped with lighting was initially employed to generate image data from our samples in this study.The setup for image data collection using the Basler vision camera and lighting is shown in Figure 3.This setup was used exclusively to capture the front glossy view of the heart-case samples, as it was unable to capture the curved glossy portions of the samples.The curved surfaces were instead captured using laser displacement sensors.Due to the glossy nature of the heart case samples, a lighting device, Surf.Finder-SF, was introduced to minimize glare and enhance image quality.Tables 1 and 2 present the specifications of the camera and lighting equipment used.Figure 3 illustrates the schematic diagram of the Basler vision camera setup with the lighting system.When the lighting equipment is powered on through the sensor power SMPS, the Surf.Finder light activates.This lighting system includes adjustable settings to reduce glare, ensuring optimal illumination for the heart case samples.These settings can be modified through a dedicated program, which requires a dongle key to be connected to the computer for access.The camera is powered separately via the camera power SMPS.Focus adjustments can be made using a screw attached to the camera lens.The camera is connected to the PC through a dedicated cable, enabling parameter adjustments and facilitating the transmission of captured images to the CPU for processing, storage, and further analysis.

56Three core input parameters implemented include reference (REF), roughness (RGH), and raw gray vertical (RGV).

57• REF: This parameter sets the lighting to capture photos by projecting light in all directions.Three shots are taken at 1 ms intervals to minimize reflections caused by brightness.• RGH: This parameter configures the lighting to check horizontal roughness.Lighting is directed at a 45-degree angle to the vertical direction, and three shots are taken at 1 ms intervals to assess horizontal roughness or changes.• RGV: This parameter configures the lighting to check vertical roughness.Lighting is set at a 45-degree angle to the horizontal direction, and three shots are taken at 1 ms intervals to assess vertical roughness or changes.

58The Surf.Finder lighting system is designed to operate in a controlled environment, minimizing the impact of external lighting variations.Its enclosed casing ensures a consistent illumination field, reducing interference from ambient light sources.Additionally, the adjustability of the REF, RGH, and RGV parameters allows for fine-tuned lighting conditions that adapt to different surface reflectivities, ensuring robust and high-quality image acquisition under varying conditions.

59These three setups were used to capture our samples, which were then transferred to a PC for review and selection of the desired data samples for implementation.

Data Collection Using KEYENCE Laser Displacement Sensor

60In our setup, we employed a Basler vision camera with controlled lighting to capture front-view image data samples.However, the curved surfaces of the data samples posed challenges for the Basler camera, as its point of view (POV) was not optimal for effectively imaging curved geometries.To overcome this, a laser displacement sensor was introduced.For curved surfaces with glossy finishes, using the laser displacement sensor alone introduced noise due to the diffuse reflection of light during surface scanning, as illustrated in Figure 4. To mitigate this issue, a YASKAWA robotic arm was utilized to scan the surface in a curved motion with the laser displacement sensor.Table 3 summarizes the specifications of the laser displacement sensor used in this study.Traditionally, visual inspection is performed at least three times for the appearance inspection of glossy products, with an average inspection time of about 15 s.However, to measure a defect of 0.1 mm or more on a curved surface, it takes an average of 60 s for a laser displacement sensor with a precision of about 12.5 µm, operating at a speed of 1.15 cm per second, to scan the entire shape.Therefore, it is necessary to maintain a time period similar to that of visual inspection to avoid disrupting production speed.To address this issue, a vision camera is first used to quickly photograph the front part of the heart case, which has many flat areas, and a laser displacement sensor is used for the side parts to reduce the overall measurement time.The more laser displacement sensors there are, the shorter the measurement time, but the higher the initial cost purchase of the robotic arm and laser displacement sensors.To solve this, the study developed a technology that moves the optimal path at an angle that minimizes reflection using one robotic arm and one laser displacement sensor.Our goal was to achieve an average inspection time of about 15 s.An overview of the setup is shown in Figure 5.

Data Generation Using the Laser Displacement Sensor and Robotic Arm

61To minimize glare caused by the glossy surface of the materials, the primary objective was to determine the normal vectors of all sample surfaces.This was achieved by aligning the vertical relationship between the surface of the heart case samples and the measurement setup, thereby reducing light reflection.To obtain the normal vector coordinates of the heart case-shaped samples, CATIA's NC (Numerical Control Machining) module was utilized.This module automatically generates tool movement paths and optimizes the machining process by preventing collisions between the tool and the machined object.This optimization is based on the shape of the designed 3D model.Using the NC module, coordinates offset from the surface of the heart case were obtained.To ensure accurate measurement, the laser displacement sensor was set to an identification distance of 70 mm, meaning coordinates were collected 70 mm vertically above the heart case surface.Figure 6 provides an overview of the obtained coordinates.

62The collected coordinates represent areas that theoretically minimize diffuse reflection.However, many of these coordinates included overlapping measurement regions.To address this, the teaching function of YASKAWA-which refers to a mode allowing the operator to define tasks, movements, or paths for the robot to follow and execute-was utilized to first identify and select the coordinates that minimized diffuse reflection.Next, overlapping areas among the selected coordinates were eliminated, and the remaining coordinates were further refined through a second selection process.Using the coordinates generated through the NC module and the process of minimizing diffuse reflection while removing duplicates, 10 measurement paths for the sides of the heart case were created.The inspection results, as shown in Table 4, indicate a measurement time ranging from approximately 20 to 26 s.Since the selected coordinates include several paths, the shortest optimal path among them must be determined.However, before introducing the Dijkstra algorithm, the coordinates of the heart case were selected by manually choosing the areas with the least light reflection on the curved surface from the coordinates extracted through the NC code.The coordinates were selected at 2 cm intervals.In the case of the inspection time, the left side of the heart case was photographed in the order of the front, right side, and back.It took 21 s based on the 11 mm/s movement of the Yaskawa robotic arm that received the coordinates and moved.This was because there were many instances where the same scene was filmed repeatedly, as the focus was on minimizing diffuse reflection.By excluding the overlapping areas through the Dijkstra algorithm, the result was reduced to 15 s based on the 11 mm/s movement.It is observed that the movement path was optimized while excluding overlapping filming scenes.For this purpose, the Dijkstra algorithm was used to determine the shortest path the robotic arm could follow for fast execution.The input data were obtained by calculating the travel time for each coordinate using the 3D coordinates, and one path was selected through the algorithm.The information about the path is summarized in Table 5 below.

63Table 5. Selected path information when shooting from the side.

Number of Coordinates Moved Measurement Time (s)

64Inspection Speed (mm/s)

65The inspection speed is set to 11.5 mm/s because the amount of data collected per unit of time is fixed due to the characteristics of the laser displacement sensor.The amount of data collected during measurement is inversely proportional to the range to be measured.Thus, if the inspection speed exceeds 11.5 mm/s, the shape to be measured is compressed, and if the inspection speed is slower than 11.5 mm/s, the shape to be measured is expanded.Therefore, to measure the heart case shape without distortion, the inspection speed must be set to 11.5 mm/s.

66To match the inspection time to 15 s, a method is required to increase the inspection speed while minimizing distortion in the results.To achieve this, images were captured under conditions where the heart-shaped case measured 90 mm × 90 mm, ensuring that the side could be fully observed in a single pass during measurement.This approach increases the inspection speed by reducing the collection area while simultaneously increasing the amount of data collected within a confined space.As a result, the inspection speed improved from 11.1 mm/s at 500 Hz to 13.2 mm/s at 750 Hz, as shown in Figure 7.The results are summarized in Table 6.Using the 2D CSV file acquired through a laser displacement sensor, a 2D matrix is generated based on the sensor's movement trajectory and measurement conditions.The horizontal axis is defined as x, the vertical axis as y, and the measured values as z.The generated matrix is expressed by the following function: z(x, y) = Results from height measurement (22) There may be unmeasured areas within the data collection range, and these gaps are filled using interpolation methods such as linear interpolation or spline interpolation.Through this process, a continuous 3D data structure is formed.Subsequently, the matrix is input into 3D graphics software or a visualization tool to generate a 3D surface image.During rendering, tools such as OpenGL 4.6, Matplotlib 3.7.1, or other 3D libraries are utilized to visualize the data in three dimensions.

Dataset Description

67As previously highlighted, the study utilized two data acquisition techniques: a Basler vision camera with lighting and a laser displacement sensor.Each technique generated two image samples per data point-one from the camera and one from the laser sensor.Data labeling and model selection in this study were guided by customer requirements, including alignment with historical rejection patterns and a target accuracy of 95% or higher.The dataset, derived from production records, was labeled to reflect defect types and severity levels critical to the customer's quality standards, ensuring the model was trained on operationally meaningful data.The data samples were categorized into three classes, as summarized in Table 7.As a result, six distinct data classes were generated from these three classes using the two techniques: HCC Basler camera images, HCC laser sensor images, DC Basler camera images, DCC laser sensor images, SCC Basler camera images, and SCC laser sensor images.To ensure consistency and reduce data complexity, similar data classes were merged.For instance, HCC Basler camera images and HCC laser sensor images were combined into a single HCC dataset.Pictorial samples of the merged images are shown in Figure 8.After the combination, a total of 6902 images-2452 HCC images, 2414 DCC images, and 2037 SCC images-were generated, approximately in a ratio of 35.52%, 34.97%, and 29.51%, respectively.In terms of dataset distribution, the data were relatively balanced across categories.However, to mitigate potential bias due to slight class size differences, data augmentation techniques such as brightness adjustment, zooming, contrast enhancement, and custom pixel multiplication-as discussed in Section 3.1-were applied to enhance model generalization.This approach ensured that the model learned meaningful features from all defect types effectively while preventing overfitting to dominant categories.

Deep Learning Algorithms Parameters

68The performance of any fault classification model largely depends on the choice of classifier algorithm.To address this, we evaluated four custom CNN architectures alongside four pre-trained models: two variants of VGG-16 and two variants of ResNet-50.Our objective was to develop an efficient model optimized for low computational energy consumption.To achieve this, we designed streamlined architectures that balance performance and efficiency, prioritizing minimal resource usage without compromising accuracy.Additionally, the hyperparameters of the deep learning algorithms were optimized empirically.A summary of the models is provided in Table 8.The study evaluated four custom CNN architectures-CNN 5 -128, CNN 5 -240, CNN 6 -128, and CNN 6 -240-each subjected to varying hyperparameter configurations, including the number of convolutional layers, strides, pooling layers, and fully connected layers.These configurations were optimized to evaluate fault classification performance while minimizing computational demands.A summary of the architecture details and the n-layer structure of the custom CNN framework is presented in Table 9 and Figure 9.The custom CNNs with three convolutional layers (CNN 5 -128 and CNN 5 -240) include 32, 64, and 128 kernels across their respective layers, while the custom CNNs with four convolutional layers (CNN 6 -128 and CNN 6 -240) contain 16, 32, 64, and 128 kernels.All custom CNN models also feature dense layers with 128 kernels.To optimize efficiency and minimize computational energy, the input image dimensions were carefully chosen, as they significantly affect the speed and resource requirements of the CNN models.Common input dimensions for CNNs include 128 × 128, 224 × 224, 256 × 256, or their multiples.While larger dimensions can improve performance by offering more detailed images, they also increase the computational resource demands.

69Consequently, we explored image pixel sizes of 128 × 128 and 240 × 240 during training.Dimensions of 256 × 256 and larger were avoided due to their high computational demands.However, we chose 240 × 240 as it provided better image clarity than 224 × 224 while maintaining reasonable computational requirements.

Other Deep Learning Models' Parameters

70VGG-16 was introduced in this study due to its compatibility with our dataset, despite not being the most advanced architecture compared to robust image classification models like Inception, ResNet, and EfficientNet.Although the optimal input size for VGG-16 is typically 224 × 224, we trained VGG-16 variants using two image dimensions: 128 × 128 (VGG-16 128 ) and 224 × 224 (VGG-16 224 ) to evaluate the best balance between performance and computational requirements.This approach aimed to assess whether comparable results could be achieved with a lower resolution.

71Similarly, ResNet-50 was included to ensure the selection of the most suitable neural network for the dataset through performance comparisons.Known for its efficiency and lower computational demands compared to VGG-16, ResNet-50 was chosen to provide a practical assessment of model performance, rather than relying solely on assumptions.Although ResNet-50 often outperforms VGG-16 in many applications, the effectiveness of any model depends heavily on its adaptability to the specific dataset.To further optimize ResNet-50 for low computational energy, we trained it using two image dimensions: 128 × 128 (ResNet-50 128 ) and 224 × 224 (ResNet-50 224 ) to identify the best performing configuration.A summary of the VGG-16 and ResNet-50 architectures used in this study is provided in Table 10.The models were executed with unfrozen layers to achieve the desired results.This approach allows for weight updates during the training process, enabling the model to adapt to the specific dataset.

Result Evaluation and Discussion

72The eight neural networks were empirically evaluated and assessed using three image classes, with the evaluation based on global metrics outlined in the previous section.This approach ensured the selection of the best model for our fault classifier.In addition to performance metrics, computational cost and the confusion matrix were also considered to guarantee a comprehensive evaluation of the models.A total of 6902 images were used, consisting of 2452 HHC, 2414 DCC, and 2037 SCC images.The dataset was divided into training, validation, and testing sets.For VGG-16 and ResNet-50, a 70:15:15 ratio (training:validation:testing) was used, while custom CNN models were trained with an 80:10:10 ratio, based on their respective adaptation requirements.For VGG-16 and ResNet-50, both the 70:15:15 and 80:10:10 splits produced similar results.However, the 70:15:15 ratio was chosen because it allocated fewer resources to training, reducing computational demands while maintaining performance.In contrast, for the custom CNN models, the 80:10:10 ratio yielded better performance, as evidenced by higher accuracy and lower loss values compared to the 70:15:15 split, making it the preferred choice.

73The experiments were conducted on a system configured with an Intel Core i7-11700 processor (8 cores, 16 threads, 2.50 GHz base frequency), 32 GB of DDR4 RAM, and running the Windows 10 operating system.The hardware was manufactured by Gigabyte Technology Co., Ltd., New Taipei City, Taiwan, featuring the B560M AORUS ELITE motherboard.The system designation is DESKTOP-J1TP30L, operating on a 64-bit architecture (x64-based PC).The deep learning models were trained using TensorFlow 2.x and NumPy 1.23.4 without GPU acceleration.The decision to use only the CPU was intentional, as the goal was to establish a resource-aware framework that could be deployed on systems without GPU acceleration, making it more accessible for practical applications.Consequently, some state-of-the-art algorithms, such as R-CNN, Mask R-CNN, and YOLO, were not feasible due to their high computational demands, which stem from their reliance on large-scale feature extraction and real-time processing capabilities.Figure 10 As shown in the plots, the training accuracy and loss curves of all eight neural network models used in this study reveal key insights into their performance.The results demonstrate that higher image resolution improved model efficiency, emphasizing the importance of resolution in enhancing training outcomes.In general, all models displayed strong learning capacity, as reflected in their accuracy curves, with the exception of ResNet-50 128 and ResNet-50 224 , which experienced some instability during the early stages of training.

74However, this instability was not observed in the loss curves, where the validation curves for VGG-16 128 , VGG-16 224 , ResNet-50 128 , and ResNet-50 224 struggled to converge, despite the models' inherent robustness.This could be attributed to the input image dimensions, as the VGG-16 224 and ResNet-50 224 models showed greater stability than their 128 × 128 counterparts.Additionally, the high learning rate used due to the complexity of the dataset may have contributed to the observed fluctuations.While early fluctuations in accuracy and loss curves do not necessarily indicate poor performance, they suggest potential challenges in model convergence.Upon closer inspection, despite the fluctuations, ResNet-50 224 demonstrated the ability to adapt and stabilize towards the end of the training process, showcasing its robustness and capacity to efficiently optimize and generalize from the data.

75To provide a more comprehensive evaluation, the models were further assessed using the test dataset, and the results are summarized in Table 11 below.In our assessment, macro-averaging was preferred over weighted averaging for the evaluation metrics to ensure that the models were evaluated based on their performance across each individual class.Given the slight imbalance in our dataset classes, macroaveraging was chosen to provide a more balanced evaluation.As shown in Table 11, VGG-16 224 and ResNet-50 224 outperformed the other models across various metrics.Specifically, ResNet-50 224 achieved the best performance in most cases, including accuracy, loss, precision, recall, and F1-score.On the other hand, VGG-16 224 excelled in specificity and mean average precision (mAP).

76While ResNet-50 224 can be considered the best classifier based on these results, it is important to note that specificity and mAP are also critical metrics.In particular, mAP is often the most important metric for evaluation, especially in multi-class and imbalanced data scenarios.Notably, ResNet-50 224 did not achieve the highest mAP score, suggesting that other models, such as VGG-16 224 , may offer better performance in certain aspects.

77To gain deeper insights into the models' performance, the confusion matrix was also employed to evaluate the actual class classification performance, focusing on TP, FP, TN, and FN.

78Figure 11 displays the confusion matrix for all models.The reduced performance of most models can be attributed to the high FN values in the dent class, with many datasets incorrectly predicted as belonging to the normal class.Overall, the dent class had the highest FN, while the scratch class had the lowest FN on average across all models.The normal class consistently showed the highest percentage of TP, whereas the dent class had the lowest percentage of TP.These findings suggest that ResNet-50 224 demonstrated greater data adaptability and overall efficiency compared to VGG-16 224 in this study.

Computation Efficiency Evaluation

79One of the key factors in determining an optimal model is its computational efficiency.Therefore, this section discusses the selection of an adequate model and offers suggestions for alternative models that could be considered when computational efficiency is a critical factor.

80For a more in-depth analysis, floating point operations (FLOPs) are introduced to concisely determine the computational energy requirements of each model.FLOPs are a key metric for assessing model complexity, especially in deep learning models.They provide valuable insights into the computational requirement of a model, which is key for model optimization, hardware implementation, and real-time performance.

81Figure 12a-c provide a comprehensive computational analysis of the models implemented in this study.The plots clearly show that the custom CNN models outperformed the pre-trained models (VGG-16 and ResNet-50 variants) in terms of computational efficiency.An interesting observation from the computational analysis is that the CNN 5 models exhibited higher computational energy demands for their respective input pixel dimensions, despite having shallower architectures compared to the CNN 6 models.This behavior may be attributed to the complexity of the dataset, which likely challenges the CNN 5 architectures in fully capturing and learning its features.While ResNet-50 224 demonstrated exceptional performance across various evaluation metrics, its significant computational energy demand raises concerns for applications where computational efficiency is a key factor, as shown in Figure 12a,b.Furthermore, Figure 12c, which displays the FLOPs of the models, revealed similar findings.ResNet-50 224 -with a total of 7,751,510,674 FLOPs-may not be the ideal choice for real-time system applications due to its computational complexity.In contrast, CNN 6 -240 presents itself as a more desirable option.Its accuracy-reaching up to 95% as shown in Figure 12d-though lower than that of ResNet-50 224 , requires significantly less computational energy and has FLOPs of 459,072,914, suggesting suitability for real-time system implementation.This can be attributed to its lighter architecture, making it a practical alternative despite its slightly lower accuracy compared to ResNet-50 224 .Moreover, its computational efficiency offers an opportunity for further hyperparameter tuning, which could enhance its accuracy.This makes the CNN 6 -240 model adaptable, cost-effective, and well-suited for resource-sensitive environments without compromising performance.

K-Fold Model Evaluation

82To validate the two best-performing models-ResNet-50 224 (best overall) and CNN 6 -240 (most computationally efficient)-we implemented a 3-fold cross-validation.This technique partitions the dataset into three folds, using two folds for training and one for validation in each iteration.By rotating the validation fold, we ensure every data point contributes to both training and evaluation, reducing bias from a single split, hence providing a more generalized performance assessment.Stratified sampling was implemented to ensure robust evaluation.

83Figure 13 illustrate the outcomes of the 3-fold cross-validation, showing both models' accuracy and loss curves, alongside their respective test accuracies and losses.CNN 6 -240 maintained an average k-fold test accuracy of 94.86%, closely mirroring its initial test accuracy of 95.08%.This reflects its strong efficiency and reliability in maintaining performance across different splits.Meanwhile, ResNet-50 224 demonstrated superior accuracy, achieving an average of 98.088% with a reduced average loss of 0.0932, outperforming its original test results of 97.97% accuracy and 0.1030 loss.These findings highlight ResNet-50 224 's advantage in generalization and accuracy, while CNN 6 -240 remains an effective, computationally efficient alternative.

Conclusions and Further Works

84In this study, we proposed a framework for image data generation and fault classification on glossy and curved surfaces.Data collection was achieved using two complementary techniques: a Basler vision camera with specialized lighting to capture front-view images of heart case glossy surface samples while minimizing reflectiveness, and a laser displacement sensor paired with a robotic arm to accurately capture the curved surfaces of the samples.

85Our dataset-consisting of three classes (HCC, DCC, and SCC)-was used to train eight deep neural networks.These networks were selected for their adaptability to the data and lower computational energy requirements.The architectures included four custom traditional CNNs ( Our framework significantly advances glossy and curved surface defect detection by integrating specialized imaging hardware with tailored deep learning models.Using a Basler camera with custom lighting minimizes reflections on glossy surfaces, while a laser displacement sensor with a robotic arm precisely captures curved surfaces-yielding high-quality, reliable data.Beyond technical metrics, our framework also has significant industrial implications.Its deployment in manufacturing could lead to substantial cost savings by reducing defect rates and minimizing downtime, ultimately improving product quality and competitiveness.

86For future work, we plan to further optimize and enhance the custom CNN models to achieve higher accuracy while reducing energy consumption.The lag observed in most models can likely be attributed to the high FN rate of the dent class, as indicated by the confusion matrix.This issue is more likely caused by feature overlap with normal surfaces rather than class imbalance.To address this, targeted data augmentation like CLACHE (Contrast Limited Adaptive Histogram Equalization), feature engineering, and loss function modifications can be employed to enhance detection accuracy.In addition, systematic optimization techniques such as grid search and Bayesian optimization can be introduced to fine-tune hyperparameters for improved model performance.Furthermore, we aim to explore federated learning for multi-factory deployment, enabling collaborative, privacypreserving model training across distributed production sites.We also plan to investigate lightweight model distillation techniques to facilitate real-time, energy-efficient deployment in industrial settings, potentially achievable through fine-tuning the custom CNN.

87However, a key limitation of our approach is its reliance on controlled lighting conditions and specific robotic arm configurations.The reliance on controlled lighting conditions may limit the framework's applicability in environments with no lighting, variable lighting, or uncontrolled lighting, such as outdoor or poorly lit industrial settings.For example, in environments with uncontrolled lighting, the system's accuracy could drop significantly due to increased reflections and noise.Furthermore, the use of a robotic arm for precise positioning introduces scalability limitations and challenges in integrating with other automated systems.Additionally, its deployment is heavily dependent on expert knowledge, which may restrict widespread adoption.Future work will focus on mitigating these limitations by improving adaptability to diverse lighting conditions and exploring alternative data acquisition methods.

Figure 1 .

88Figure 1.Heart case product sample.

Figure 2 .

89Figure 2. Proposed system framework.

Figure 3 .

90Figure 3. Basler vision and lighting usage overview.

Figure 4 .

91Figure 4. Laser noise overview.

Figure 5 .

92Figure 5. Robotic arm.

Figure 6 .

93Figure 6.Coordinates obtained through NC module.

Figure 7 .

94Figure 7. Laser displacement sensor measurable range based on (a) data collection speed of 500 Hz; (b) data collection speed of 750 Hz.

Table 7 .Figure 8 .

95Figure 8. Combined image class samples: (a) Healthy class; (b) Dent class showing dent portion in red circles; (c) Scratch class showing scratch portion in yellow circles.

4. 4 . 1 .

96Custom CNN Parameters

Figure 9 .

97Figure 9.The n-layer structure of the custom CNN architecture with 3 × 3 filter and a stride of 2.

98presents the training and loss curves for all models, illustrating their convergence behavior and performance during training.

Figure 10 .

99Figure 10.Accuracy and loss curve: (a) CNN 5 -128; (b) CNN 5 -240; (c) CNN 6 -128; (d) CNN 6 -240; (e) VGG-16 128 ; (f) VGG-16 224 ; (g) ResNet-50 128 ; (h) ResNet-50 224 .

Figure 11 .

100Figure 11.Confusion matrix: (a) CNN 5 -128; (b) CNN 5 -240; (c) CNN 6 -128; (d) CNN 6 -240; (e) VGG-16 128 ; (f) VGG-16 224 ; (g) ResNet-50 128 ; (h) ResNet-50 224 .A comparative analysis of the performance of VGG-16 224 and ResNet-50 224 -based on their confusion matrix evaluations shown in Figures 11f and 11h, respectively-was conducted to determine the superior model, as these two emerged as the top performers.The performance of each model across all classes was evaluated to identify their respective strengths and weaknesses in class prediction.ResNet-50 224 demonstrated superior TP performance for the normal and scratch classes, while VGG-16 224 excelled in the dent class.Furthermore, ResNet-50 224 achieved lower FN scores in two classes (normal and scratch), while VGG-16 224 recorded a lower FN only for the dent class.A similar pattern was observed in the FP assessment, where ResNet-50 224 exhibited lower scores for the dent and scratch classes, whereas VGG-16 224 had a lower score for the normal class.These findings suggest that ResNet-50 224 demonstrated greater data adaptability and overall efficiency compared to VGG-16 224 in this study.

101, respectively-was conducted to determine the superior model, as these two emerged as the top performers.The performance of each model across all classes was evaluated to identify their respective strengths and weaknesses in class prediction.ResNet-50 224 demonstrated superior TP performance for the normal and scratch classes, while VGG-16 224 excelled in the dent class.Furthermore, ResNet-50 224 achieved lower FN scores in two classes (normal and scratch), while VGG-16 224 recorded a lower FN only for the dent class.A similar pattern was observed in the FP assessment, where ResNet-50 224 exhibited lower scores for the dent and scratch classes, whereas VGG-16 224 had a lower score for the normal class.

Figure 12 .

102Figure 12.(a) Models' total training time; (b) Models' average training step for one image data; (c) Models' floating points operations; (d) Models' accuracy.

Figure 13 . 3 -

103Figure 13.3-Fold validation curves: (a) CNN 6 -240; (b) ResNet-50 224 .

104CNN 5 -128, CNN 5 -240, CNN 6 -128, CNN 6 -240) trained on image dimensions of 128 × 128 and 240 × 240 pixels, as well as four pre-established models: two variations of VGG-16 (VGG-16 128 , VGG-16 224 ) and two variations of ResNet-50 (ResNet-50 128 , ResNet-50 224 ), which were trained on images of 128 × 128 and 224 × 224 pixels, respectively.From our evaluation results, ResNet-50 224 achieved the highest accuracy at 97.97%, followed closely by VGG-16 224 with an accuracy of 97.49%.However, ResNet-50 224 's computational demands were less efficient compared to some of the custom traditional CNN architectures.Notably, CNN 6 -240 delivered an accuracy of 95.08% with an average step time of 94 milliseconds, compared to ResNet-50 224 's 839 milliseconds, making CNN 6 -240 a viable choice in scenarios where computational efficiency is paramount.

Table 1 .

105Camera Specification.

Table 2 .

106Lighting specification.

Table 3 .

107Laser displacement specification.

Table 4 .

108Measurement results for shooting from the side

Table 6 .

109Selected path information while shooting from the side.

Table 8 .

110Summary of the models used in the study.

Table 9 .

111Architectures of the custom CNN models.

Table 10 .

112Summary of the modified VGG-16 and ResNet-50 architecture employed in the study.

Table 11 .

113Performance Eevaluation summary.

참고문헌 56건

  1. Automated Visual Inspection: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1982 10.1109/tpami.1982.4767309
  2. Genetic algorithm to find the shortest path on raster data 2021 International Conference on Control, Automation and Information Sciences (ICCAIS) · 2014 10.1109/iccais.2014.7020547
  3. Survey of Texture Mapping IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 1986 10.1109/mcg.1986.276672
  4. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  5. Computer Vision — ECCV '96 Lecture notes in computer science · Springer Science+Business Media · 1996 10.1007/3-540-61123-1
  6. Object Detection and Classification of Metal Polishing Shaft Surface Defects Based on Convolutional Neural Network Deep Learning Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app10010087
  7. Augmented Environment Mapping for Appearance Editing of Glossy Surfaces 2019 10.1109/ismar.2019.00-26
  8. Defect Inspection Algorithm of Metal Surface Based on Machine Vision 2020 10.1109/icmtma50254.2020.00017
  9. 3D Deep Learning on Medical Images: A Review MDPI (MDPI AG) · Multidisciplinary Digital Publishing Institute (Switzerland) · 2020 10.3390/s20185097
  10. Advanced computerized Classification of X-ray Images using CNN 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT) · 2020 10.1109/icssit48917.2020.9214136
  11. A Review and Analysis of Automatic Optical Inspection and Quality Monitoring Methods in Electronics Industry IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3029127
  12. Albumentations: Fast and Flexible Image Augmentations Information · Multidisciplinary Digital Publishing Institute · 2020 10.3390/info11020125
  13. MultEYE: Monitoring System for Real-Time Vehicle Detection, Tracking and Speed Estimation from UAV Imagery on Edge-Computing Platforms Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13040573
  14. Effects of Nonlinearity and Network Architecture on the Performance of Supervised Neural Networks Algorithms · Multidisciplinary Digital Publishing Institute · 2021 10.3390/a14020051
  15. A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2021 10.1109/tnnls.2021.3084827
  16. Flattening Layer Pruning in Convolutional Neural Networks Symmetry · Multidisciplinary Digital Publishing Institute · 2021 10.3390/sym13071147
  17. Surface Defect Detection Methods for Industrial Products: A Review Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11167657
  18. Binary and Multiclass Text Classification by Means of Separable Convolutional Neural Network Inventions · Multidisciplinary Digital Publishing Institute · 2021 10.3390/inventions6040070
  19. Simple Convolutional-Based Models: Are They Learning the Task or the Data? Neural Computation · The MIT Press · 2021 10.1162/neco_a_01446
  20. Detection of Glass Surface Using Reflection Characteristic IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society · 2021 10.1109/iecon48115.2021.9589219
  21. Review of Image Classification Algorithms Based on Convolutional Neural Networks Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13224712
  22. Learnable Leaky ReLU (LeLeLU): An Alternative Accuracy-Optimized Activation Function Information · Multidisciplinary Digital Publishing Institute · 2021 10.3390/info12120513
  23. Removal of Specular Reflection Using Angle Adjustment of Linear Polarized Filter in Medical Imaging Diagnosis Diagnostics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/diagnostics12040863
  24. Computer Vision Techniques in Manufacturing IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tsmc.2022.3166397
  25. A review of convolutional neural network architectures and their optimizations Artificial Intelligence Review · Springer Science+Business Media · 2022 10.1007/s10462-022-10213-5
  26. Convolutional Neural Networks: A Roundup and Benchmark of Their Pooling Layer Variants Algorithms · Multidisciplinary Digital Publishing Institute · 2022 10.3390/a15110391
  27. Industrial Defect Detection Through Computer Vision: A Survey 2022 10.1109/dsc55868.2022.00091
  28. Theoretical Understanding of Convolutional Neural Network: Concepts, Architectures, Applications, Future Directions Computation · Multidisciplinary Digital Publishing Institute · 2023 10.3390/computation11030052
  29. Convolutional Neural Networks (CNN) based Brain Tumor Detection in MRI Images 2022 4th International Conference on Smart Systems and Inventive Technology (ICSSIT) · 2023 10.1109/icssit55814.2023.10060968
  30. Detection and classification of COVID-19 by using faster R-CNN and mask R-CNN on CT images Neural Computing and Applications · Springer Science+Business Media · 2023 10.1007/s00521-023-08450-y
  31. Comparing Inception V3, VGG 16, VGG 19, CNN, and ResNet 50: A Case Study on Early Detection of a Rice Disease Agronomy · Multidisciplinary Digital Publishing Institute · 2023 10.3390/agronomy13061633
  32. The Reflectance Field Map: Mapping Glass and Specular Surfaces in Dynamic Environments 2023 10.1109/icra48891.2023.10161520
  33. A Review on Dropout Regularization Approaches for Deep Neural Networks within the Scholarly Domain Electronics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/electronics12143106
  34. Convolutional Neural Networks: A Survey Computers · Multidisciplinary Digital Publishing Institute · 2023 10.3390/computers12080151
  35. Single Image Reflection Removal From Glass Surfaces via Multi-Scale Reflection Detection IEEE Transactions on Consumer Electronics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tce.2023.3303475
  36. Surface Defect Detection of Highly Reflective Leather Based on Dual-Mask-Guided Deep-Learning Model IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3310088
  37. Integrated 1D, 2D, and 3D CNNs Enable Robust and Efficient Land Cover Classification from Hyperspectral Imagery Remote Sensing · Multidisciplinary Digital Publishing Institute · 2023 10.3390/rs15194797
  38. Task-Specific Near-Field Photometric Stereo for Measuring Metal Surface Texture IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tii.2023.3342478
  39. Lightweight-VGG: A Fast Deep Learning Architecture Based on Dimensionality Reduction and Nonlinear Enhancement for Hyperspectral Image Classification Remote Sensing · Multidisciplinary Digital Publishing Institute · 2024 10.3390/rs16020259
  40. Application of Convolutional Neural Networks in Weed Detection and Identification: A Systematic Review. Preprints.org · 2024 10.20944/preprints202401.1148.v1
  41. A hybrid deep CNN model for brain tumor image multi-classification BMC Medical Imaging · BioMed Central · 2024 10.1186/s12880-024-01195-7
  42. Feature Extraction by Convolutional Neural Network 2024 10.1007/978-981-99-7882-3_8
  43. Machine Vision—Moving from Industry 4.0 to Industry 5.0 Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app14041471
  44. Brain Tumor Diagnosis with MCNN-Based MRI Image Analysis 2023 10.1109/icotl59758.2023.10435262
  45. A Novel Transformer Network with a CNN-Enhanced Cross-Attention Mechanism for Hyperspectral Image Classification Remote Sensing · Multidisciplinary Digital Publishing Institute · 2024 10.3390/rs16071180
  46. Explainable AI for Industry 5.0: Vision, Architecture, and Potential Directions IEEE Open Journal of Industry Applications · Institute of Electrical and Electronics Engineers · 2024 10.1109/ojia.2024.3399057
  47. State-of-the-Art in 1D Convolutional Neural Networks: A Survey IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3433513
  48. Deep Learning and Computer Vision Techniques for Enhanced Quality Control in Manufacturing Processes IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3453664
  49. GhostingNet: A Novel Approach for Glass Surface Detection With Ghosting Cues IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2024 10.1109/tpami.2024.3463490
  50. Optimizing Convolutional Neural Network Architectures Mathematics · Multidisciplinary Digital Publishing Institute · 2024 10.3390/math12193032
  51. A Spectral-Based Blade Fault Detection in Shot Blast Machines with XGBoost and Feature Importance Journal of Sensor and Actuator Networks · Multidisciplinary Digital Publishing Institute · 2024 10.3390/jsan13050064
  52. 3-D <i>μ</i>XRF Imaging System for Curved Surface IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2024 10.1109/tim.2024.3470990
  53. Graph Neural Networks for Routing Optimization: Challenges and Opportunities Sustainability · Multidisciplinary Digital Publishing Institute · 2024 10.3390/su16219239
  54. Automating Quality Control on a Shoestring, a Case Study Machines · Multidisciplinary Digital Publishing Institute · 2024 10.3390/machines12120904
  55. A Classifier Model Using Fine-Tuned Convolutional Neural Network and Transfer Learning Approaches for Prostate Cancer Detection Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app15010225
  56. C2T-HR3D: Cross-Fusion of CNN and Transformer for High-Speed Railway Dropper Defect Detection IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2025 10.1109/tim.2025.3540132