The defect detection of screen-printed characters on electronic devices faced problems such as poor segmentation accuracy caused by reflective materials, difficulty in adaptively locating and extracting target regions due to uncertain image poses, and low recognition accuracy caused by small defect detection targets and insufficient samples, an adaptive target region extraction method for few-shot screen-printed character defect detection was proposed. Based on OTSU method an adaptive dual-threshold segmentation algorithm was designed to reduce information loss in bright target regions on reflective material surfaces, achieving accurate segmentation of images with uneven illumination. An adaptive target region localization, extraction, and angle correction algorithm was proposed to solve the problems of precisely locating and extracting adaptive target regions despite variations in character sizes and poses. A method involving preliminary defect target recognition and secondary fine recognition for low-confidence small target characters was studied, achieving accurate recognition for small-target, few-sample defect detection targets. Experimental results demonstrate that: the dual-threshold segmentation algorithm achieves accurate segmentation of character images under uneven illumination; the accuracy of adaptive target region localization and angle correction reaches 99.5%; the character classification recognition rate of the lightweight deep learning model reaches 99.1%; the character defect detection accuracy reaches 98.6%; and the detection speed is as 0.083 seconds per image. These results meet the requirements for both of precision and speed in industrial online detections.
TANGJianhua, ZHANGXin, LIUJinhai,et al.Signal Dtection Method for Magnetic Flux Leakage Small Defects Based on Composite Backbone Network[J].Journal of Electronic Measurement and Instrumentation,2024,38 (10): 69-77.
[5]
胡宜笑.印刷品缺陷检测研究与应用[D]. 长沙:湖南大学,2022.
[6]
HUYixiao. Research and Application of Printing Detection[D]. Changsha:Hunan University,2022.
[7]
梅文宝.基于形状模板匹配的手机商标检测技术研究[D].广州:广东工业大学,2017.
[8]
MEIWenbao.The Research of Mobile Phone Logo Detection Technology Based on Shape Model Matching[D].Guangzhou:Guangdong University of Technology, 2017.
[9]
BROWNL.A Survey of Image Registration Techniques[J].ACM Computing Surveys,1992,24(4):325-376
TONGXiaozhong, WEIJunyu, SuShaojing,et al.Typical Small Target Detection on Water Surfaces Fusing Attention and Multi-scale Features[J]. Chinese Journal of Scientific Instrument,2023,44(1):212-222.
[18]
楼豪杰. 基于少样本学习的印刷品微小缺陷检测方法研究[D].西安:西安理工大学,2022.
[19]
LOUHaojie.Reserch on Small Defect Defection Methon of Printing Matter Based on Few-shot Learning[D]. Xi'an:Xi'an University of Technology,2022.
[20]
OTSUN. A Threshold Selection Method from Gray-level Histograms[J].IEEE Transactions on Systems Man &Cybernetics,2007,9(1):62-66.
HUDie, HOUJun, ZHANGQuannian,et al. Production Date Identification Based on Convolutional Neural Network Electronic Measurement Technology,2020,43(1):152-156.
[25]
HOWARDA, SANDLERM, CHENB, et al. Searching for MobileNetV3 [C]∥IEEE International Conference on Computer Vision (ICCV).Seoul, 2020:00140.
[26]
HUJ, SHENL, SUNG,et al.Squeeze-and-Excitation Networks[C]∥IEEE Conference on Computer Vision and Pat-tern Recognition. Salt Lake City, 2018:00745.
[27]
WANGQ L, WUB G, ZHUP F, et al.ECANet:
[28]
Efficient Channel Attention for Deep Convolutional
[29]
Neural Networks[C]∥IEEE Conference on Computer Vision and Pattern Recognition (CVPR).Piscataway,2020: 11531-11539.
LIBoyu, YANGWenhan, YANGLe,et al.Research on Defect Detection of Fertilizer Packaging Based on Template Matching[J].Printing and Digital Media StudyTechnology,2023(2):39-49.
GUJiamei, WANGXiaoliang.Identification of the Catenary Small Target Defects in Deep Learning[J].Journal of Electronic Measurement and Instrumentation, 2024, 38(4):151-160.