This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
SAID: Segment All Industrial Defects with Scene Prompts
by
Yican Huang
Yican Huang 1
,
Junwei Zhu
Junwei Zhu 2,
Xiaopin Zhong
Xiaopin Zhong 1,*
and
Yuanlong Deng
Yuanlong Deng 2,3
1
College of Mechatronics and Control Engineering, Shenzhen University, Nanhai Ave., Shenzhen 518060, China
2
School of Sino-Germany Intelligent Production, Shenzhen City Polytechnic, Shenzhen 518116, China
3
College of Urban Transportation and Logistics, Shenzhen Technology University, Shenzhen 518118, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(16), 4929; https://doi.org/10.3390/s25164929 (registering DOI)
Submission received: 23 June 2025
/
Revised: 25 July 2025
/
Accepted: 7 August 2025
/
Published: 9 August 2025
Abstract
In the field of industrial inspection, image segmentation is a common method for surface inspection, capable of locating and segmenting the appearance defect areas of products. Most existing methods are trained specifically for particular products. The recent SAM (Segment Anything Model) serves as an image segmentation foundation model, capable of achieving zero-shot segmentation through diverse prompts. Nevertheless, SAM’s performance in special downstream tasks is not satisfactory. Additionally, SAM requires prior manual interactions to complete segmentation and post-processing of the segmentation results. This paper proposes SAID (Segment All Industrial Defects) to deal with these issues. The SAID model encodes single-annotated prompt–image pairs into scene embedding via Scene Encoder, achieving automatic segmentation and eliminating the reliance on manual intervention. Meanwhile, SAID’s Feature Alignment and Fusion Module effectively addresses the alignment issue between scene embedding and image embedding. Experimental results demonstrate that SAID outperforms SAM in segmentation capabilities across various industrial scenes. Under the one-shot target scene segmentation task, SAID also improves the mIoU metrics by 5.79 and 0.87 compared to the MSNet and SegGPT, respectively.
Share and Cite
MDPI and ACS Style
Huang, Y.; Zhu, J.; Zhong, X.; Deng, Y.
SAID: Segment All Industrial Defects with Scene Prompts. Sensors 2025, 25, 4929.
https://doi.org/10.3390/s25164929
AMA Style
Huang Y, Zhu J, Zhong X, Deng Y.
SAID: Segment All Industrial Defects with Scene Prompts. Sensors. 2025; 25(16):4929.
https://doi.org/10.3390/s25164929
Chicago/Turabian Style
Huang, Yican, Junwei Zhu, Xiaopin Zhong, and Yuanlong Deng.
2025. "SAID: Segment All Industrial Defects with Scene Prompts" Sensors 25, no. 16: 4929.
https://doi.org/10.3390/s25164929
APA Style
Huang, Y., Zhu, J., Zhong, X., & Deng, Y.
(2025). SAID: Segment All Industrial Defects with Scene Prompts. Sensors, 25(16), 4929.
https://doi.org/10.3390/s25164929
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.