Design of lightweight metal surface defect detection technology for YOLOv7-tiny using Anchor-Free algorithm

Accurate identification of defect morphology and size distribution on metallic surfaces is crucial for manufacturing, particularly in the steel industry where such materials are widely used. This study proposes a novel lightweight architecture based on YOLOv7-tiny to address the challenges of real-time metallic surface defect detection. The original anchor-based detection head is replaced with an anchor-free mechanism to reduce missed detections of defects with extreme aspect ratios, while a logarithmic transformation-based enhancement is introduced to strengthen defect features. The backbone is replaced by the lightweight MobileNetV3-large network to reduce the number of parameters, and an Efficient Multi-Scale Attention (EMA) module is embedded into the bottleneck structure to increase target importance and suppress background interference, especially for small defects. In addition, a bidirectional feature pyramid network with adaptively spatial feature fusion (BAFPN) is integrated as the Head architecture to provide richer semantic information. The improved model was evaluated on the DAGM 2007, NEU-DET, and GC10-DET datasets, which encompass metal surface defects with varying degrees of complexity. The results demonstrate an average increase of 6.24% in mean average precision (mAP) and an inference speed over 90 FPS, confirming both the efficacy and real-time capability of the proposed method.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-02-13
DOI
https://doi.org/10.1038/s41598-026-39233-9
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design of lightweight metal surface defect detection technology for YOLOv7-tiny using Anchor-Free algorithm

Jun-Chang Lin, Yi-ze Wu, Yi-Cheng Huang
Scientific Reports
Advanced Neural Network Applications
article

Design of lightweight metal surface defect detection technology for YOLOv7-tiny using Anchor-Free algorithm

Jun-Chang Lin, Yi-ze Wu, Yi-Cheng Huang
article en

Abstract

Accurate identification of defect morphology and size distribution on metallic surfaces is crucial for manufacturing, particularly in the steel industry where such materials are widely used. This study proposes a novel lightweight architecture based on YOLOv7-tiny to address the challenges of real-time metallic surface defect detection. The original anchor-based detection head is replaced with an anchor-free mechanism to reduce missed detections of defects with extreme aspect ratios, while a logarithmic transformation-based enhancement is introduced to strengthen defect features. The backbone is replaced by the lightweight MobileNetV3-large network to reduce the number of parameters, and an Efficient Multi-Scale Attention (EMA) module is embedded into the bottleneck structure to increase target importance and suppress background interference, especially for small defects. In addition, a bidirectional feature pyramid network with adaptively spatial feature fusion (BAFPN) is integrated as the Head architecture to provide richer semantic information. The improved model was evaluated on the DAGM 2007, NEU-DET, and GC10-DET datasets, which encompass metal surface defects with varying degrees of complexity. The results demonstrate an average increase of 6.24% in mean average precision (mAP) and an inference speed over 90 FPS, confirming both the efficacy and real-time capability of the proposed method.

Scientific ReportsVol. 16(1)
National Chung Hsing University (TW)
National Science and Technology Council
Industry, innovation and infrastructure
Openalex Percentile: Top 58%
Advanced Neural Network Applications
AI Navigator

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

Summarize Papers & Methodologies

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

Benchmark Rankings & Visual Analytics

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

Connect Distant Disciplines

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

Design of lightweight metal surface defect detection technology for YOLOv7-tiny using Anchor-Free algorithm — Jun-Chang Lin, Yi-ze Wu, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS