선정목록으로
Optimal surface defect detector design based on deep learning for 3D geometry
간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (11) 배리어 필름(12) 증착 필름
기본 정보
- 저자
- DOI
- 10.1038/s41598-025-88112-2
- 저널
- Scientific Reports
- 발행년도
- 2025
- 발행기관
- Nature Portfolio
- 피인용수
- 5
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41598-025-88112-2
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W4407578030
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 산업용 섬유 · (17) 스펀본드 부직포
- 부 분야
- (11) 배리어 필름, (12) 증착 필름
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- surface defect detection, deep learning, 3D geometry, image preprocessing, model optimization
- 판단 근거
- 본 논문은 철강 제품(H-beam)의 표면 결함을 검출하기 위한 딥러닝 기반의 최적화 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 직접적인 제품은 아니나, 산업용 부직포(17)나 필름(11, 12) 제조 공정 중 발생할 수 있는 표면 결함을 자동 검사하는 비전 검사 시스템 R&D에 원리적으로 적용 가능합니다.
- R&D 활용 포인트
- 필름, 부직포, 인공피혁 등 고정밀 표면 품질이 중요한 제품의 제조 공정 내 자동 외관 검사(Visual Inspection) AI 모델 설계 및 최적화에 활용 가능함.
- 평가 입력
- 본문 35,739자
초록
Steel-manufacturing sites are extremely harsh and dangerous environments. Visibility is reduced by dust, water vapor, oil, and low light conditions. Additionally, the steel products from hot furnaces have surface temperatures ranging from 1200 to 800 degrees celsius and weigh several to tens of tons. It is extremely dangerous for humans to visually inspect these steel products in such environments. Therefore, the use of automatic inspection equipment for steel surfaces is essential. Initially, image-processing methods were used, but with recent advances in deep learning, deep-learning-based methods are also being applied in this field. However, the method currently widely used involves utilizing existing models through transfer learning, which inevitably causes curvature of the input image data and limits performance. Furthermore, previous studies have focused on 2D sheet metal products, and there has been no research on three-dimensional geometric products. In this study, we propose dataset generation through geometric transformations that parameterize the structure of the steel surface defect detector hardware, along with a performance-based model optimization algorithm. In validation experiments, an average F1 score of 0.932 and an average area under curve of 0.99 were obtained, implying that the proposed algorithm has near-ideal performance.
본문 35,739자
본문 펼치기
## OPEN
# Optimal surface defect detector design based on deep learning for 3D geometry
Sangmin Suh <sup>1,2</sup> <sup></sup>
Steel-manufacturing sites are extremely harsh and dangerous environments. Visibility is reduced by
dust, water vapor, oil, and low light conditions. Additionally, the steel products from hot furnaces
have surface temperatures ranging from 1200 to 800 degrees celsius and weigh several to tens of tons.
It is extremely dangerous for humans to visually inspect these steel products in such environments.
Therefore, the use of automatic inspection equipment for steel surfaces is essential. Initially, imageprocessing methods were used, but with recent advances in deep learning, deep-learning-based
methods are also being applied in this field. However, the method currently widely used involves
utilizing existing models through transfer learning, which inevitably causes curvature of the input
image data and limits performance. Furthermore, previous studies have focused on 2D sheet metal
products, and there has been no research on three-dimensional geometric products. In this study,
we propose dataset generation through geometric transformations that parameterize the structure
of the steel surface defect detector hardware, along with a performance-based model optimization
algorithm. In validation experiments, an average F1 score of 0.932 and an average area under curve of
0.99 were obtained, implying that the proposed algorithm has near-ideal performance.
Keywords 3D geometry, Artificial intelligence, Deep learning, Geometric transformation, Surface defect
detection
The steel industry is the backbone of an industrialized nation; however, the risks associated with steel production
are higher than in any other industry. The surface temperature of products after hot working can reach 1200 <sup>_◦_</sup> C
, and the temperature is 800 <sup>_◦_</sup> C in preparation for quality inspection. In addition, because the products weigh
from several tons to tens of tons, manual inspection is extremely dangerous and requires automated surface
defect inspection equipment.
Surface defect detection can be performed using magnetic flux leakage (MFL) and images. MFL is a
specialized nondestructive testing method that converts the magnetic flux leaking from a defect into an electrical
signal when a ferromagnetic specimen is magnetized, taking advantage of the fact that, the deeper the defect,
the stronger the electrical signal <sup>1–3</sup> . Traditionally, image processing has been adopted when images are used. To
detect steel surface defects, a Haar-Weibull variance (HWV) model was proposed <sup>4</sup> . The HWV model was used
to characterize the texture distribution of each local patch in the image. Automated visual inspection systems
based on support vector machines have also been developed <sup>5</sup> . Morphology-based crack detection for steel slabs
based on three-dimensional (3D) surface profile data collected by laser triangulation has also been suggested <sup>6</sup> .
The systems first segment the data using mathematical morphology, and the resulting connected regions are
assigned a crack probability using a logistic regression model. To detect various defects from the structured
background, a weighted low-rank reconstruction model was developed <sup>7</sup> . After comparing the image under
inspection with a healthy image, it analyzes the statistical values and suggests ways to determine whether the
image under inspection is unsatisfactory <sup>8</sup> . However, these machine-learning-based algorithms, such as support
vector machines, require expert parameters that can be difficult to tune, and their performance can be sensitive
to small changes in these parameters.
Alex et al. proposed the first commercially viable artificial-intelligence deep neural network <sup>9</sup> . Prior to that,
satisfactory performance could not be achieved because the training speed was too slow. However, in their study,
they used a graphics processing unit (GPU) for computation to solve the problem of slow training speeds, which
made further training possible, resulting in an impressive annual performance improvement of approximately
10%. As deep neural networks become more advanced, they are being applied in various industries, including
1Department of Information and Telecommunication Engineering, Gangneung-Wonju National University, Wonjusi, Gangwon-do 26403, Republic of Korea. <sup>2</sup> Scalable-ai, Wonju-si, Gangwon-do 26403, Republic of Korea. <sup></sup> email:
sangminsuh@gwnu.ac.kr; sangmin.suh@scalable-ai.io
steel surface defect detection (SDD). Transfer learning is popular in SDD. Transfer learning reuses popular models
trained on large datasets by modifying the shapes of the model input and output nodes to fit the current task.
By reusing the model, training time and computing resources can be reduced. Generally, the models for transfer
learning are state-of-the-art models in the ImageNet Large Scale Visual Recognition Challenge (ILSVRC) <sup>10</sup> .
MobileNet was introduced and used for SDD <sup>11</sup> . For the dataset, NEU-DET <sup>12</sup> was used. MobileNet is a model
focused on simplifying the model for edge computing using Google <sup>13</sup>, and NEU-DET is the most popular open
dataset for designing steel surface defect detectors. In addition, to increase performance, ResNet has increasingly
been used <sup>14–18</sup> . ResNet is a neural-network model developed by Microsoft that won the ILSVRC competition in
2015 <sup>19</sup> . The Visual Geometry Group model <sup>20</sup> has also been adopted for SDD tasks <sup>21–23</sup>, and the performances
of different models have been compared <sup>24</sup> . However, because transfer-learning-based models inherently have
extremely large model sizes and weights, large multiplier-accumulators and memories are required, making the
models expensive. In addition, transfer learning fundamentally requires transforming image sizes because the
input image size of the original model is (224( _height_ ) _×_ 224( _width_ ) _×_ 3( _channel_ )), whereas the real image
sizes under test are different. This implies input data distortion, resulting in performance degradation. Therefore,
a dedicated model was proposed to perform specific tasks, and satisfactory performance was achieved <sup>25</sup> .
In this study, an SDD for a 3D product, specifically, an H-beam, is proposed. Many previous studies have
focused on using SDD for two-dimensional (2D) plate products. However, the SDD design proposed in this
article is for a 3D product. Unlike for 2D products, the angle and focus of the vision camera are inevitably
inaccurate for 3D geometric products, and the quality of the acquired image is low. Therefore, SDD for threedimensional geometric shapes is much more challenging than that in previous research. In addition, an algorithm
for an optimal SDD design is suggested that makes it possible to design a lightweight, cost-effective SDD while
providing the desired performance. The following are the highlights of the innovations of this study.
- Datasets for 3D geometric products, i.e., H-beams, were generated from raw image data captured at the work
site. A compensation method is proposed to address image distortion caused by fundamental problems in the
field of view (FOV).
- To design an optimal SDD, a baseline neural network was designed. The model was then compressed through
performance evaluation and layer optimization.
- The relationship between the maximum moving speed and inference times, which is important for work yield,
was considered and formulated.The remainder of this article is organized as follows. In the Results section,
refined datasets from the work site, an optimized SDD model, and performance measurements of the designed optimal SDD are discussed. In the Methods section, dataset refinement methods, model optimization,
performance definitions, and work yield formulas are provided. Finally, the results are summarized in the
Conclusions section.
Results
In this section, the datasets refined by the proposed preprocessing method, the optimal SDD that was designed,
and its performance are discussed.
Datasets
Unlike typical plate metal products, products with 3D geometries, such as H-beams, cannot be photographed
at right angles to the product surface, which can result in inaccurate camera focus and angles and capture other
surfaces that should not be inspected. In this study, new preprocessing and image preprocessing methods to
capture the surfaces to be inspected are proposed, as shown in Algorithm 1.
Considering various defects in the production process, eight classes are defined from the obtained raw
images, and the datasets are refined via preprocessing. The defined class names and indices are listed in Table
1. The actual defects are class IDs {0,1,5,6,7}, and the rest are normal, but the normal classes are also separated
from each other because they have different textures. In the manufacturing process, the earthworm_on_web
is caused by the process of removing oxide scale from the surface of the product and the wave_on_web is
plastic deformation caused by external stresses. The f_scratch and roll are caused by transportation equipment.
Compared to public datasets <sup>12</sup>, images obtained in the field are much more blurry and have more light scatter.
To make matters worse, because the product is moving on rollers, it is essentially impossible to get a clear image
due to the up and down vibration of the product during transportation.
<u>Class ID</u> <u>Class name</u>
<u>0</u> <u>earthworm_on_web</u>
<u>1</u> <u>f_scratch_on_flange</u>
<u>2</u> <u>hs_logo_on_flange</u>
<u>3</u> <u>normal_flange</u>
<u>4</u> <u>normal_web</u>
<u>5</u> <u>roll_on_flange</u>
<u>6</u> <u>roll_w_hs_logo_on_flange</u>
<u>7</u> <u>wave_on_web</u>
Table 1 . Datasets class names and indices.
Through this research, the author realized that there are several things that need to be fulfilled to get good
images in the field. First of all, the lighting must be correct: since the factory runs 24 hours a day, the intensity of
natural light varies with the change of day and night. This makes it impossible to get a uniform quality image, so
artificial lighting must be used. The second is vibration. You need to pay attention to the vibration design of the
feeder, as it can distract the subject and make the image blurry.
The refined datasets designed corresponding to the classes are shown in Fig. 1. In the datasets, because class
ID 2 is clearly normal, but its texture is definitely different from that of class 3, so the two classes are separately
defined in this study. Using the proposed method, raw images were refined to capture only the corresponding
surface to be inspected, as shown in Fig. 1.
In this study, the size of the dataset determines the initial number of layers in the model to be optimized. As
illustrated in Fig. 2, the custom layers are designed such that the output feature map is half the size of the input
feature map. This implies that for an image of size 2 <sup>_N_</sup>, the maximum number of layers that can be utilized is
_N_ . Given that the dataset size in this study is 768 _×_ 256 (height _×_ width), the maximum number of layers is
8 (m _in_ (768 _,_ 256) = 2 <sup>8</sup> ), as outlined in Algorithm 2. The designed dataset includes 100 images per class, with
80% allocated for training and the remaining 20% reserved for evaluation.
In the datasets, note that f_scratch_on_flange are barely noticeable. In the image, the f_scratch_on_flange is
a very fine vertical scratch mark in the top center.
Optimal model
To design an optimal model, a new method based on Algorithm 2 is proposed. Figure 2 shows the final designed
optimal model in detail. Once the optimized model structure was designed, the model was further trained to
maximize performance by increasing the number of training epochs.
Performance measurements
For SDD performance, the F1 score, confusion matrix, and area under the curve of the receiver operating
characteristic (AUC-ROC) were considered. Because the F1 score is a harmonic mean between recall and
precision, it is the most reliable measurement. The confusion matrix is obtained by feeding the evaluation image
to the optimized model and comparing the inferred result with the input image. The ROC curve is a graph
of the true positive rate (TPR) against the false positive rate (FPR) at each threshold setting, visualizing the
performance of the designed classifier. The performance measure is quantified by the area under the curve.
Therefore, it is also used to measure performance.
Fig. 1 . Datasets, clockwise from top left: earthworm_on_web, f_scratch_on_flange, hs_logo_on_flange,
normal_flange, normal_web, roll_on_flange, roll_w_hs_logo_on_flange, wave_on_web.
Fig. 2 . Optimal model
After the model was optimized, and its performance was evaluated. To measure the performance, validation
datasets were introduced into the designed model, and the predicted model outputs were compared with the
input validation datasets. Using the results of the comparison, the performance was derived, as shown in Table
2, and an F1 score of 0.932 was obtained.
Using the results, a confusion matrix was calculated, as shown in Fig. 3. The vertical axis represents the
actual class of the image fed into the model and the horizontal axis represents the class predicted by the model.
Therefore, in the ideal case, only the diagonal has a value in the figure. After analyzing the performance of each
class, it is found that the performance of the earthworm_on_web is the worst, which is due to the similarity
between the wavy pattern of the normal web and the defect. The wavy pattern shown in the normal_web in Fig.
1 is very similar to the earthworm defect. The second defect is f_scratch_on_flange, which is too small to be
detected. In f_scratch_on_flange in Fig. 1, a single line of vertical scratches is the defect and is barely noticeable.
The performance degradation of the confusion matrix is also reflected in the performance of the ROC curve as
shown in Fig. 4.
<u>Class name</u> <u>Precision</u> <u>Recall</u> <u>F1 score</u>
<u>earthworm_on_web</u> <u>0.929</u> <u>0.765</u> <u>0.839</u>
<u>f_scratch_on_flange</u> <u>0.929</u> <u>0.867</u> <u>0.897</u>
<u>hs_logo_on_flange</u> <u>1.000</u> <u>1.000</u> <u>1.000</u>
<u>normal_flange</u> <u>0.882</u> <u>0.938</u> <u>0.909</u>
<u>normal_web</u> <u>0.800</u> <u>0.941</u> <u>0.865</u>
<u>roll_on_flange</u> <u>0.944</u> <u>1.000</u> <u>0.971</u>
<u>roll_w_hs_logo_on_flange</u> <u>1.000</u> <u>0.941</u> <u>0.970</u>
<u>wave_on_web</u> <u>1.000</u> <u>1.000</u> <u>1.000</u>
<u>Average</u> <u>–</u> <u>–</u> <u>0.932</u>
Table 2 . Measured performance.
Fig. 3 . Normalized confusion matrix.
The AUC-ROC was evaluated from the evaluation results, as shown in Fig. 4. In the AUC-ROC, the closer
the area under the ROC curve is to 1, the better the performance. The evaluation results show that the area is
distributed between 0.97 and 1.00, with an average area of 0.99, which implies that the proposed SDD has almost
ideal performance.
Moreover, to verify the working of the proposed SDD, real images were introduced to the SDD to determine
how it internally determined the introduced images. Figure 5 shows the output of the proposed SDD when
applied to the labeled experimental images. The output of the SDD is the probability value of each class after
passing through the softmax, and the output with the highest probability value is selected as the final output. As
shown in the figure, the proposed SDD method detected surface defects on the H-beam well.
Fig. 4 . AUC-ROC.
Finally, our proposed dedicated model is compared with the existing model based on transfer learning
in terms of complexity and performance. Because the input image size of transfer-learning-based model is
224 _×_ 224, the input size of the proposed model is also changed, and compared results are shown in Table 3.
Initially, the baseline model was designed to have 8 custom layers in the feature extraction stage and 3 FCs in
the classification stage. One custom layer consists of 2 convolution layers, as shown in Fig. 2. In addition, the
optimization process led to an optimal model consisting of 5 custom layers in the feature extraction stage. As
a result, the final designed model consists of 5 custom layers (10 convolution layers) and 3 FCs, therefore the
total number of layers is 13. Note that in the comparison table, the this study used a custom dataset whereas the
comparison model used NEU-DET.
Methods
In this section, the theoretical background is provided in detail, the dataset used is described, and the design of
the model is explained. In addition, the optimization and training of the model to design a steel surface detector
based on artificial neural networks are described.
Theoretical background
The proposed SDD method has two main steps: image feature extraction and image classification. The image
extraction stage consists of convolution, activation, and pooling. Convolution <sup>29</sup> abstracts and quantizes the
information in the input image, and the kernel size determines the area of interest in the image, which is called
the “receptive field.” The convolution operation is defined as Eq. 1.
_N_ _−_ 1
_n_ =0
∑
_Y_ ( _X_ _∗_ _W_ )( _i, j_ ) =
_M_ _−_ 1
_m_ =0
∑
_X_ ( _i_ + _m, j_ + _n_ ) _· W_ ( _m, n_ ) + _b_ (1)
where _X_, _W_, _Y_ are input feature map, kernel, and output feature map respectively. In addition, _M_, _N_ denotes the
size of the receptive field, i.e., the height and width of the kernel, respectively, and _b_ is the bias. In general, the
odd numbers _M_ and _N_ are equal, and _b_ = 0. The rectified linear unit (ReLU) is used as the activation function.
Te ReLU <sup>30</sup> was proposed to improve the vanishing gradient problem of sigmoid functions and is expressed as
_Y_ ( _X_ )( _i, j_ ) = max(0 _, X_ ( _i, j_ )) (2)
The pooling layer makes the model more robust by reducing the computation of the next layer and making it
insensitive to noise. In this study, the maximum pooling was used, which is represented as
_Y_ ( _X_ )( _i, j_ ) = max _n_ =0 _,...,N,m_ =0 _,...,M_ _X_ ( _i_ + _m, j_ + _n_ ) (3)
Fig. 5 . Real image test ( a ) earthworm_on_web ( b ) f_scratch_on_flange ( c ) hs_logo_on_flange ( d ) normal_
flange ( e ) normal_web ( f ) roll_on_flange ( g ) roll_w_hs_logo_on_flange ( h ) wave_on_web.
<u>Model</u> <u># of layers</u> <u># of weight</u> <u>F1 score</u>
<u>ResNet34</u> <sup>26</sup> <u>34</u> <u>21.8M</u> <u>< 0.936 (accuracy)</u>
<u>ResNet34</u> <sup>27</sup> <u>34</u> <u>21.8M</u> <u>< 0.905 (accuracy)</u>
<u>ResNet152</u> <sup>28</sup> <u>152</u> <u>55M</u> <u>< 0.992 (accuracy)</u>
<u>Xception</u> <sup>28</sup> <u>36</u> <u>23.6M</u> <u>< 0.992 (accuracy)</u>
<u>VGG16</u> <sup>28</sup> <u>16</u> <u>138M</u> <u>< 0.981 (accuracy)</u>
<u>Proposed model</u> <u>13</u> <u>14.2M</u> <u>0.932</u>
Table 3 . Compared features.
where _N_ and _M_ are the sizes of the maximum pooling, and a single maximum value is extracted. The image
classification stage is responsible for categorizing the extracted features. In this study, a fully connected layer
(FC) was used. The FC originated from the perceptron <sup>31</sup>, and the FC is represented as
_N_
_i_ =0
∑
_Y_ ( _X_ )( _i_ ) = _f_ (
_i_ =0
_W_ ( _i_ ) _· X_ ( _i_ ) + _bi_ ) (4)
where _N_ is the number of nodes, and _f_ ( _·_ ) is an activation function. The FC can also be used in the hidden and
final layers. For the hidden layer, the function uses the ReLU in Eq. 2. For the final layer, it uses the softmax. The
softmax converts the output values of the hidden layer into probabilities, as shown in Equation 5.
_<u>e</u>_ <sup>_X_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_Y_ ( _X_ )( _i_ ) = ~~∑~~ _iC_ =0 _−_ <u>1</u> <sup>_e_</sup>
_iC_ =0 _−_ <u>1</u> <sup>_eX_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> (5)
where _C_ is the number of classes to be categorized. Because softmax converts inputs into probabilities, the
following expression holds:
_C−_ 1
_i_ =0
∑
_e_ <sup>_X_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = 1 _,_ (6)
In addition, only the outputs with the highest probability values are selected and exported as the final predicted
output, as follows:
(7)
_Ypred_ = arg max
_i_ =0 _,...,C−_ 1
_e_ <sup>_X_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
Dataset refinement
The raw image dataset was obtained from a camera vision system in the field over a year. However, dust, water
vapor, vibration during transportation, low light intensity, and inaccurate focus and angle of view result in lowquality acquired images and capture aspects that should not be captured. Figure 6 illustrates the SDD hardware
systems. In addition, unlike sheet metal products with 2D shapes, 3D products have inherent image curvature in
the captured image because of their geometry, making inspection of 3D products even more challenging.
Real systems are much more complex and have many more cameras than in Fig. 6. The figure is a simplified
representation to make it easy to understand the SDD. In this schematic diagram, the center section of the
H-beam is called the “web,” and the sides are called “flanges.” Camera 1 is used to inspect the web, and camera 2
is used to inspect the flange. In addition, to inspect all surfaces accurately, the FOV for each camera should cover
a sufficient area to be inspected. Camera 3 is used for inspection inside the flange. For camera 3, the problem
is even more complicated. In addition to the aforementioned problems, the angle to the surface to be inspected
is not at a right angle, which not only makes the image much more blurry but also causes image curvature.
Therefore, the preprocessing of the captured image should depend on the camera ID. In this article, the image
compensation method in Algorithm 1 is proposed.
Fig. 6 . SDD hardware systems.
Algorithm 1 . Dataset refinement.
Schematic illustrations captured by each camera are shown in Fig. 7. The images captured by cameras 1 and
2 contain unwanted partial images, i.e., inside the flange and air, which can be removed by image cropping.
In the case of camera 3, the first raw image should be cropped to remove unwanted partial images. However,
the cropped image still has image distortion because the camera angle was incorrect. Therefore, the distorted
image should then be compensated for by a perspective transform, which is useful for compensating for image
distortion resulting from distance and has recently been used for data augmentation <sup>32</sup> .
Optimal model design
For model optimization, first, a baseline model containing a feature extraction stage and a classification stage
is designed, and then the baseline model is optimized by considering the performance, i.e., the F1 score. In the
proposed optimization algorithm in Algorithm 2, the baseline model is initialized with 8 custom convolution
layers. Considering the low image quality of the datasets caused by vibration, low light, and light reflections, one
custom convolution layer is designed to contain two convolution operations and one maximum pooling. During
optimization, if the initial model performance exceeds a predetermined threshold, the feature extraction layers
are reduced one by one. If it is less than the threshold, the model is saved, and the optimization stops. In this
study, the threshold was set to 0.8.
Fig. 7 . ( a ) Web image ( b ) Flange image ( c ) Inside the flange image.
<u>Name</u> <u>Specification</u>
<u>GPU</u> <u>RTX4090 24GB</u>
<u>CPU</u> <u>7800X3D 5GHz</u>
<u>Memory</u> <u>DDR4 3200MHz</u> <u>x</u> <u>4, 128GB</u>
<u>OS SSD</u> <u>970 EVO plus M.2 MVMe 2TB</u>
<u>Storage SSD</u> <u>870 QVO 8TB</u>
<u>OS</u> <u>Ubuntu 22.04</u>
<u>CUDA</u> <u>11.8</u>
<u>Framework</u> <u>tensorflow 2.12</u>
Table 4 . Experimental environment.
Fig. 8 . ( a ) Model loss ( b ) Model accuracy.
Algorithm 2 . Model optimization
After obtaining the optimal model structure, additional training is performed by increasing the number of
training runs to maximize the performance of the model. For fast training and evaluation, a general-purpose
graphics processing unit (GPGPU) is used. The detailed specifications are listed in Table 4. With the GPGPU,
the model was trained for 512 epochs. The loss decreased and the accuracy increased as the training progressed,
as shown in Fig. 8.
<u>Name</u> <u>Definition</u>
<u>TP (True positive)</u> <u>Prediction=positive, correct</u>
<u>FN (False negative)</u> <u>Prediction=negative, false</u>
<u>FP (False positive)</u> <u>Prediction=positive, false</u>
<u>TN (True negative)</u> <u>Prediction=negative, true</u>
<u>TP</u>
Precision
<u>TP + FP</u>
<u>TP</u>
Recall
<u>TP + FN</u>
<u>TP + TN</u>
Accuracy
<u>TP + FN + FP + TN</u>
F1 score
2 _<u>×</u>_ <sup><u>Precision</u></sup> <u>Precision + recall</u> <sup>_<u>×</u>_</sup> <sup><u>recall</u></sup>
Table 5 . Performance metrics.
Performance definition
In this study, the following performance metrics in Table 5 were used to evaluate the performance of the designed
SDD method.
Among the metrics, the F1 score was used as the threshold for the optimization process and the final
performance metric. The precision represents the true positives among those predicted to be positive, and
the recall represents the percentage of true positives that are correctly predicted to be positive. Because the
accuracy and recall trade off with each other, the harmonic mean of the two numbers represents the model
performance, which is the F1 score and one of the most reliable performance metrics. In addition to the F1 score,
for performance measurement, the AUC-ROC was used. The measured plot is shown in Fig. 4. The average area
is 0.99, which indicates that the proposed model has almost ideal performance.
Work yield formulas
Takt time is critical in mass production processes; therefore, calculating the inferred time is crucial. Using the
experimental environment shown in Table 4, the inference time was 0.0134718 s, which is 4453 frames per
second. In addition, considering the FOV in _Psys_ of Algorithm 1, the system FOV is designed to be 0.7 m.
Moreover, because there are eight surfaces to be inspected (two flanges, four inside the flange, and two webs), the
total estimated inference time is eight times slower than the measured inference time. Therefore, in general, the
maximum allowable transportation speed in the process can be calculated using the formula:
_vmax_ = <sup>_<u>lF OV</u>_</sup> <sup>_<u>· S</u>_</sup> [ _m/sec_ ] _,_ (8)
_tinfer_
where _vmax,_ _lF OV,_ _S,_ and _tinfer_ are the maximum allowable speed of the product, FOV length, number of
surface to be inspected, and inference time per image, respectively.
Conclusions
A surface defect detector for steel products with 3D geometry has been proposed. To create datasets for steel
products with 3D geometries, a geometric transformation method that considers the structural features of SDD
was also suggested. In addition, problems of transfer learning were examined. As a result, a dedicated SDD
method to overcome them was developed without using other existing models. Moreover, an algorithm for
designing an efficient and optimal SDD was proposed. To verify its performance, evaluation experiments were
conducted, and an F1 score of 0.932 and an AUC of 0.99 were obtained, proving that the proposed SDD method
has almost-ideal performance.
Data availability
All data generated or analyzed during this study are included in this article. Also, they are available from the
corresponding author upon request.
Received: 1 July 2024; Accepted: 24 January 2025
References
1. Ibrahim, E. T. et al. Pulsed magnetic flux leakage measurement using magnetic head and tunneling magnetoresistance for defect
detection. _IEEE Sens. J._ 23 (17), 19184–19193 (2023).
2. Feng, J., Xiao, Q., Zhang, H. & Li, K. Physical compensation approach for feature enhancement of high-speed MFL signals via
magnetic field polarization. _IEEE Trans. Industr. Electron._ 71 (6), 6377–6387 (2024).
3. Wang, Z.-S. Research on image detection and recognition for defects on the surface of the steel plate based on magnetic flux
leakage signals. in _29th Chinese Control And Decision Conference (CCDC)_, (2017)
4. Liu, K. et al. Steel surface defect detection using a new Haar–Weibull–Variance model in unsupervised manner. _IEEE Trans._
_Instrum. Meas._ 66 (10), 2585–2596 (2017).
5. Ghorai, S., Mukherjee, A., Gangadaran, M. & Dutta, P. K. Automatic defect detection on hot-rolled flat steel products. _IEEE Trans._
_Instrum. Meas._ 62 (3), 612–621 (2013).
6. Landstrom, A. & Thurley, M. J. Morphology-Based Crack Detection for Steel Slabs. _IEEE J. Select. Topics Signal Process._ 6 (7),
866–875 (2012).
7. Huangpeng, Q., Zhang, H., Zeng, X. & Huang, W. Automatic visual defect detection using texture prior and low-rank representation.
_IEEE Access_ 6, 37965–37976 (2018).
8. Liu, K. et al. A new self-reference image decomposition algorithm for strip steel surface defect detection. _IEEE Trans. Instrum._
_Meas._ 69 (7), 4732–4741 (2020).
9. Krizhevsky A., Sutskever I. & Hinton G. E. ImageNet classification with deep convolutional neural networks, _Neural Information_
_Processing Systems_ (2012).
10. [https://www.image-net.org/challenges/LSVRC/ (2024).](https://www.image-net.org/challenges/LSVRC/)
11. Li, Y., Huang, H., Xie, Q., Yao, L. & Chen, Q. Research on a surface defect detection algorithm based on MobileNet-SSD. _Appl. Sci._
8 (9), 1678 (2018).
12. He, Y., Song, K., Meng, Q. & Yan, Y. An end-to-end steel surface defect detection approach via fusing multiple hierarchical features.
_IEEE Trans. Instrum. Meas._ 69 (4), 1493–1504 (2020).
[13. Howard, A. G. et al. MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. https://arxiv.org/abs/1](https://arxiv.org/abs/1704.04861)
[704.04861 (2017)](https://arxiv.org/abs/1704.04861)
14. Konovalenko, I., Maruschak, P., Brevus, V. & Prentkovskis, O. Recognition of scratches and abrasions on metal surfaces using a
classifier based on a convolutional neural network. _Metals_ 11 (4), 549 (2021).
15. Wang, S., Xia, X., Ye, L. & Yang, B. Automatic detection and classification of steel surface defect using deep convolutional neural
networks. _Metals_ 11 (3), 388 (2021).
16. Feng, X., Gao, X. & Luo, L. A ResNet50-based method for classifying surface defects in hot-rolled strip steel. _Mathematics_ 9 (19),
2359 (2021).
17. Damacharla, P., Rao, A., Ringenberg, J. & Javaid, AY. TLU-net: A deep learning approach for automatic steel surface defect
detection. _International conference on applied artificial intelligence_, pp. 1-6 (2021).
18. Uraon, P.K., Verma, A. & Badholia A. Steel sheet defect detection using feature pyramid network and RESNET. _International_
_conference on edge computing and applications_ (2022).
19. He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image recognition. _(_ Conference on Computer Vision and Pattern
Recognition), pp. 770–778 (2016)
[20. Simonyan, K., Zisserman, A. Very deep convolutional networks for large-scale image recognition. https://arxiv.org/abs/1409.1556](https://arxiv.org/abs/1409.1556)
(2015)
21. Wan, X., Zhang, X. & Liu, L. An improved VGG19 transfer learning strip steel surface defect recognition deep neural network
based on few samples and imbalanced datasets. _Appl. Sci._ 11 (6), 2606 (2021).
22. Cheng, J. et al. TL-SDD: A transfer learning-based method for surface defect detection with few samples. _7th International_
_conference on big data computing and communications_, pp. 136–143 (2021).
23. Feng, X., Gao, X. & Luo, L. An improved vision transformer-based method for classifying surface defects in hot-rolled strip steel.
_Journal of Physics, Conference Series_ (2021).
24. Qayyum, W. et al. Assessment of convolutional neural network pre-trained models for detection and orientation of cracks.
_Materials_ 16 (2), 826 (2023).
25. Suh, S. Deep learning based surface defect detector on metal surface. _J. Knowl. Inform. Technol. Syst._ 16 (5), 897–904 (2021).
26. Fushuai, W., Jiyuan, Q., Zhefeng, W. & Wenrui, L. Intelligent recognition of surface defects of parts by Resnet. _J. Phys._ 1883, 012178
(2021).
27. Suyang, W., Hongmei, C. & Cong, C. Deep network for steel surface defect detection based on attention mechanism. _International_
_Conference on Innovations and Development of Information Technologies and Robotics_ (2023).
28. Mustafa, M.T., Ahmet, Y. & Tuna, Ç. Steel Surface Defect Classification Via Deep Learning. in _International conference on computer_
_science and engineering_ (2022)
29. Lecun, Y., Bottou, L., Benjio, Y. & Haffner, P. Gradient-based learning applied to document recognition. _Proceed. IEEE_ 86 (11),
2278–2324 (1998).
30. Glorot, X., Bordes, A. & Bengio, Y. Deep sparse rectifier neural networks. in _International Conference on Artificial Intelligence and_
_Statistics_, pp. 315–323 (2011).
31. Frank, R. The Perceptron: A Probabilistic Model for Information Storage and Organization in the Brain, Cornell Aeronautical
Laboratory, Cornell Aeronautical Laboratory. _Psychol. Rev._ 65 (6), 386–408 (1958).
32. Wang, K. et al. Perspective transformation data augmentation for object detection. _IEEE Access_ 8, 4935–4943 (2019).
Acknowledgements
The author is grateful to Hyundai Steel for making the dataset available. This work was supported by Innovative
Human Resource Development for Local Intellectualization program through the Institute of Information &
Communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT)
(IITP-2024-RS-2023-00260267).
Author contributions
Suh S. conceived of the experiment, refined the datasets, designed the neural network, conducted the experiment, analyzed the results, and wrote the manuscript.
Declarations
Competing interests
The authors declare no competing interests.
Additional information
Correspondence and requests for materials should be addressed to S.S.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives
4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in
any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide
a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have
permission under this licence to share adapted material derived from this article or parts of it. The images or
other third party material in this article are included in the article’s Creative Commons licence, unless indicated
otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence
and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to
[obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommo](http://creativecommons.org/licenses/by-nc-nd/4.0/)
[ns.org/licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/)
© The Author(s) 2025
섹션 본문
섹션 본문이 없습니다.
참고문헌 22건
- Morphology-Based Crack Detection for Steel Slabs IEEE Journal of Selected Topics in Signal Processing · Institute of Electrical and Electronics Engineers · 2012 10.1109/jstsp.2012.2212416
- The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review · American Psychological Association · 1958 10.1037/h0042519
- Automatic Defect Detection on Hot-Rolled Flat Steel Products IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2012 10.1109/tim.2012.2218677
- Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- Steel Surface Defect Detection Using a New Haar–Weibull-Variance Model in Unsupervised Manner IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2712838
- Automatic Visual Defect Detection Using Texture Prior and Low-Rank Representation IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2852663
- Research on a Surface Defect Detection Algorithm Based on MobileNet-SSD Applied Sciences · Multidisciplinary Digital Publishing Institute · 2018 10.3390/app8091678
- An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2915404
- A New Self-Reference Image Decomposition Algorithm for Strip Steel Surface Defect Detection IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2952706
- Perspective Transformation Data Augmentation for Object Detection IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2962572
- Automatic Detection and Classification of Steel Surface Defect Using Deep Convolutional Neural Networks Metals · Multidisciplinary Digital Publishing Institute · 2021 10.3390/met11030388
- An Improved VGG19 Transfer Learning Strip Steel Surface Defect Recognition Deep Neural Network Based on Few Samples and Imbalanced Datasets Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11062606
- Recognition of Scratches and Abrasions on Metal Surfaces Using a Classifier Based on a Convolutional Neural Network Metals · Multidisciplinary Digital Publishing Institute · 2021 10.3390/met11040549
- TLU-Net: A Deep Learning Approach for Automatic Steel Surface Defect Detection 2021 10.1109/icapai49758.2021.9462060
- A ResNet50-Based Method for Classifying Surface Defects in Hot-Rolled Strip Steel Mathematics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/math9192359
- TL-SDD: A Transfer Learning-Based Method for Surface Defect Detection with Few Samples 2021 10.1109/bigcom53800.2021.00023
- An improved Vision Transformer-based method for classifying surface defects in hot-rolled strip steel Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/2082/1/012016
- Steel Sheet Defect Detection using Feature Pyramid Network and RESNET 2022 International Conference on Edge Computing and Applications (ICECAA) · 2022 10.1109/icecaa55415.2022.9936318
- Assessment of Convolutional Neural Network Pre-Trained Models for Detection and Orientation of Cracks Materials · Multidisciplinary Digital Publishing Institute · 2023 10.3390/ma16020826
- Physical Compensation Approach for Feature Enhancement of High-Speed MFL Signals via Magnetic Field Polarization IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tie.2023.3288177
- Pulsed Magnetic Flux Leakage Measurement Using Magnetic Head and Tunneling Magnetoresistance for Defect Detection IEEE Sensors Journal · IEEE Sensors Council · 2023 10.1109/jsen.2023.3297952