{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,16]],"date-time":"2025-10-16T10:09:53Z","timestamp":1760609393122,"version":"build-2065373602"},"reference-count":33,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2021,8,20]],"date-time":"2021-08-20T00:00:00Z","timestamp":1629417600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100004731","name":"Natural Science Foundation of Zhejiang Province","doi-asserted-by":"publisher","award":["No.LY20E050013"],"award-info":[{"award-number":["No.LY20E050013"]}],"id":[{"id":"10.13039\/501100004731","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Aiming at the abnormality detection of industrial insert molding processes, a lightweight but effective deep network is developed based on X-ray images in this study. The captured digital radiography (DR) images are firstly fast guide filtered, and then a multi-task detection dataset is constructed using an overlap slice in order to improve the detection of tiny targets. The proposed network is extended from the one-stage target detection method of yolov5 to be applicable to DR defect detection. We adopt the embedded Ghost module to replace the standard convolution to further lighten the model for industrial implementation, and use the transformer module for spatial multi-headed attentional feature extraction to perform improvement on the network for the DR image defect detection. The performance of the proposed method is evaluated by consistent experiments with peer networks, including the classical two-stage method and the newest yolo series. Our method achieves a mAP of 93.6%, which exceeds the second best by 3%, with robustness sufficient to cope with luminance variations and blurred noise, and is more lightweight. We further conducted ablation experiments based on the proposed method to validate the 32% model size reduction owing to the Ghost module and the detection performance enhancing effect of other key modules. Finally, the usability of the proposed method is discussed, including an analysis of the common causes of the missed shots and suggestions for modification. Our proposed method contributes a good reference solution for the inspection of the insert molding process.<\/jats:p>","DOI":"10.3390\/s21165612","type":"journal-article","created":{"date-parts":[[2021,8,22]],"date-time":"2021-08-22T22:59:27Z","timestamp":1629673167000},"page":"5612","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":12,"title":["A Lightweight Deep Network for Defect Detection of Insert Molding Based on X-ray Imaging"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2957-7597","authenticated-orcid":false,"given":"Benwu","family":"Wang","sequence":"first","affiliation":[{"name":"College of Metrology & Measurement Engineering, China Jiliang University, Hangzhou 310018, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5675-6497","authenticated-orcid":false,"given":"Feng","family":"Huang","sequence":"additional","affiliation":[{"name":"College of Metrology & Measurement Engineering, China Jiliang University, Hangzhou 310018, China"},{"name":"School of Mechanical & Energy Engineering, Zhejiang University of Science & Technology, Hangzhou 310023, China"},{"name":"State Key Laboratory of Fluid Power and Mechatronic Systems, Zhejiang University, Hangzhou 310005, China"}]}],"member":"1968","published-online":{"date-parts":[[2021,8,20]]},"reference":[{"unstructured":"Huang, G., Li, X., Wu, X., and Li, J. (2009, January 15\u201316). Application of core-pulling mechanism in injection mould design. Proceedings of the 2009 International Conference on Industrial Mechatronics and Automation (ICIMA 2009), Chengdu, China.","key":"ref_1"},{"doi-asserted-by":"crossref","unstructured":"Duan, Y., Coatrieux, G., Shu, H., Mines-telecom, I., Bretagne, T., and Latim, I.U. (2014, January 27\u201330). Identification of digital radiography image source based on digital radiography pattern noise recognition. Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP 2014), Paris, France.","key":"ref_2","DOI":"10.1109\/ICIP.2014.7026087"},{"unstructured":"Yu, H., Wei, J., Zhao, X., Ma, Y., and Chen, L. (2012, January 17\u201320). The perspective detection of the X-ray digital radiography for the electrical equipment. Proceedings of the 2012 International Conference on High Voltage Engineering and Application (ICHVE 2012), Shanghai, China.","key":"ref_3"},{"doi-asserted-by":"crossref","unstructured":"Baygin, M., Karakose, M., Sarimaden, A., and Akin, E. (2017, January 16\u201317). Machine vision based defect detection approach using image processing. Proceedings of the 2017 International Artificial Intelligence and Data Processing Symposium (IDAP 2017), Malatya, Turkey.","key":"ref_4","DOI":"10.1109\/IDAP.2017.8090292"},{"unstructured":"Li, F., Hang, Z., Yu, G., Wei, G., and Xinyu, C. (2019, January 3\u20135). The method for glass bottle defects detecting based on machine vision. Proceedings of the 2019 Chinese Control And Decision Conference (CCDC 2019), Nanchang, China.","key":"ref_5"},{"doi-asserted-by":"crossref","unstructured":"Zhao, W., Huang, H., Li, D., Chen, F., and Cheng, W. (2020). Pointer defect detection based on transfer learning and improved CASCADE-RCNN. Sensors, 20.","key":"ref_6","DOI":"10.3390\/s20174939"},{"doi-asserted-by":"crossref","unstructured":"Wu, Z., Chen, Y., Zhao, B., Kang, X., and Ding, Y. (2021). Review of weed detection methods based on computer vision. Sensors, 21.","key":"ref_7","DOI":"10.3390\/s21113647"},{"key":"ref_8","first-page":"1","article-title":"Review of research on the inspection of surface defect based on visual perception","volume":"14","author":"Hu","year":"2021","journal-title":"Comput. Integr. Manuf. Syst."},{"key":"ref_9","first-page":"179","article-title":"Improved LBP used for detection of defects of DR images","volume":"52","author":"Zhao","year":"2016","journal-title":"Comput. Appl. Eng. Educ."},{"unstructured":"Xiao, H., and Ao, B. (2021, August 13). Research on Automatic Detection and Recognition System of Weld Defects in X-ray DR Image. Available online: https:\/\/kns.cnki.net\/KCMS\/detail\/detail.aspx?dbname=CMFD201801&filename=1017711303.nh.","key":"ref_10"},{"doi-asserted-by":"crossref","unstructured":"Padilla, R., Netto, S.L., and da Silva, E.A.B. (2020, January 1\u20133). A Survey on Performance Metrics for Object-Detection Algorithms. Proceedings of the 2020 International Conference on Systems, Signals and Image Processing (IWSSIP 2020), Niteroi, Brazil.","key":"ref_11","DOI":"10.1109\/IWSSIP48289.2020.9145130"},{"doi-asserted-by":"crossref","unstructured":"Chen, J., Li, Y., and Zhao, J. (2019, January 28\u201330). X-ray of Tire Defects Detection via Modified Faster R-CNN. Proceedings of the 2019 2nd International Conference on Safety Produce Informatization (IICSPI 2019), Chongqing, China.","key":"ref_12","DOI":"10.1109\/IICSPI48186.2019.9095873"},{"key":"ref_13","first-page":"61","article-title":"Research on defect detection of X-ray DR images of casting based on Mask R-CNN","volume":"41","author":"Biao","year":"2020","journal-title":"Chin. J. Sci. Instrum."},{"doi-asserted-by":"crossref","unstructured":"Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23\u201328). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2014), Columbus, OH, USA.","key":"ref_14","DOI":"10.1109\/CVPR.2014.81"},{"doi-asserted-by":"crossref","unstructured":"Girshick, R. (2015, January 7\u201313). Fast R-CNN. Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV 2015), Santiago, Chile.","key":"ref_15","DOI":"10.1109\/ICCV.2015.169"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1137","DOI":"10.1109\/TPAMI.2016.2577031","article-title":"Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks","volume":"39","author":"Ren","year":"2017","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"386","DOI":"10.1109\/TPAMI.2018.2844175","article-title":"Mask R-CNN","volume":"42","author":"He","year":"2020","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"doi-asserted-by":"crossref","unstructured":"Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27\u201330). You only look once: Unified, real-time object detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2016), Las Vegas, NV, USA.","key":"ref_18","DOI":"10.1109\/CVPR.2016.91"},{"doi-asserted-by":"crossref","unstructured":"Redmon, J., and Farhadi, A. (2017, January 21\u201326). YOLO9000: Better, faster, stronger. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2017), Honolulu, HI, USA.","key":"ref_19","DOI":"10.1109\/CVPR.2017.690"},{"unstructured":"Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv.","key":"ref_20"},{"unstructured":"Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.","key":"ref_21"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"21","DOI":"10.1007\/978-3-319-46448-0_2","article-title":"SSD: Single shot multibox detector","volume":"Volume 9905","author":"Leibe","year":"2016","journal-title":"Computer Vision\u2014ECCV 2016"},{"doi-asserted-by":"crossref","unstructured":"Su, Y., and Yan, P. (2020, January 10\u201313). A defect detection method of gear end-face based on modified YOLO-V3. Proceedings of the 2020 10th Institute of Electrical and Electronics Engineers International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER 2020), Xi\u2019an, China.","key":"ref_23","DOI":"10.1109\/CYBER50695.2020.9279161"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1397","DOI":"10.1109\/TPAMI.2012.213","article-title":"Guided image filtering","volume":"35","author":"He","year":"2013","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"unstructured":"He, K., and Sun, J. (2015). Fast Guided Filter. arXiv.","key":"ref_25"},{"unstructured":"Lin, M., Chen, Q., and Yan, S. (2014, January 14\u201316). Network in network. Proceedings of the 2nd International Conference on Learning Representations (ICLR 2014), Banff, Canada.","key":"ref_26"},{"doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2016), Las Vegas, NV, USA.","key":"ref_27","DOI":"10.1109\/CVPR.2016.90"},{"doi-asserted-by":"crossref","unstructured":"Lin, T.-Y., Doll\u00e1r, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21\u201326). Feature pyramid networks for object detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2017), Honolulu, HI, USA.","key":"ref_28","DOI":"10.1109\/CVPR.2017.106"},{"doi-asserted-by":"crossref","unstructured":"Bergmann, P., Fauser, M., Sattlegger, D., and Steger, C. (2020, January 13\u201319). Uninformed students: Student-teacher anomaly detection with discriminative latent embeddings. Proceedings of the 2020 IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2020), Seattle, WA, USA.","key":"ref_29","DOI":"10.1109\/CVPR42600.2020.00424"},{"unstructured":"Dehaene, D., Frigo, O., Combrexelle, S., and Eline, P. (2020). Iterative energy-based projection on a normal data manifold for anomaly localization. arXiv.","key":"ref_30"},{"key":"ref_31","first-page":"430","article-title":"Image information and visual quality","volume":"3","author":"Sheikh","year":"2004","journal-title":"IEEE Trans. Image Process."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"397","DOI":"10.1016\/j.optlaseng.2019.05.005","article-title":"A deep-learning-based approach for fast and robust steel surface defects classification","volume":"121","author":"Fu","year":"2009","journal-title":"Opt. Lasers Eng."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"858","DOI":"10.1016\/j.apsusc.2013.09.002","article-title":"A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects","volume":"285","author":"Song","year":"2013","journal-title":"Appl. Surf. Sci."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/16\/5612\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:47:55Z","timestamp":1760165275000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/16\/5612"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,8,20]]},"references-count":33,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2021,8]]}},"alternative-id":["s21165612"],"URL":"https:\/\/doi.org\/10.3390\/s21165612","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2021,8,20]]}}}