Computer Science ›› 2025, Vol. 52 ›› Issue (6A): 240400146-10.doi: 10.11896/jsjkx.240400146

• Image Processing & Multimedia Technology • Previous Articles     Next Articles

High-precision and Real-time Detection Algorithm for Photovoltaic Glass Edge Defects Based onFeature Reuse and Cheap Operation

DING Xuxing, ZHOU Xueding, QIAN Qiang, REN Yueyue, FENG Youhong   

  1. School of Physics and Electronic Information,Anhui Normal University,Wuhu,Anhui 241002,China
  • Online:2025-06-16 Published:2025-06-12
  • About author:DING Xuxing,born in 1971,professor,master’s supervisor.His main research interests include digital image proces-sing,computer vision,and object detection.
  • Supported by:
    National Natural Science Foundation of China(62071005).

Abstract: Aiming at the problems of large amount of calculation,large amount of parameters,slow detection speed and low detection accuracy of existing defect detection algorithms,this paper proposes a high-precision and real-time detection algorithm for photovoltaic glass edge defects based on YOLOv5.Firstly,a newly designed dense connection block(New_DBlock(C)) based on cheap operation and feature reuse is used to replace the C3 block of YOLOv5’s feature extraction network,which reduced the calculation amount and parameter amount of the whole algorithm.Secondly,the C2f_SE block fused with the channel attention mechanism SE(Squeeze-and-Excitation) is used to replace the C3 block of the YOLOv5’s feature fusion network to improve the detection speed and detection accuracy.Finally,the improved YOLOv8’s decoupling detection head is used to replace the coupling detection head of YOLOv5 to improve the positioning accuracy and classification accuracy of the algorithm.The experimental results show that the improved algorithm mAP@0.5 is increased by 1.0%,mAP@0.5:0.95 is increased by 3.1%,the amount of calculation is decreased by 48.1%,the amount of parameters is decreased by 56.7%,and the detection speed is increased by 18.5%.Compared with other mainstream YOLO and R-CNN series algorithms,the improved algorithm also has higher detection accuracy,detection speed,and lower amount of calculation and parameters,which is suitable for the real-time detection of photovoltaic glass edge defects.

Key words: Photovoltaic glass, Defect detection, YOLOv5s, Object detection, Attention mechanism

CLC Number: 

  • TP391
[1]REN S Q,HE K M,GIRSHICK R,et al.Faster R-CNN:towards real-time object detection with region proposal networks[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2017,39(6):1137-1149.
[2]HE K,GKIOXARI G,PIOTR D,et al.Mask R-CNN[C]//2017 IEEE International Conference on Computer Vision.Venice,Italy:IEEE,2017:2961-2969.
[3]CAI Z W,VASCONCELOS N.Cascade R-CNN:delving intohigh quality object detection[C]//2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Salt Lake City,UT,USA:IEEE,2018:6154-6162.
[4]LV Y F L,MA L,JIANG H Q.A Mobile Phone Screen Cover Glass Defect Detection MODEL Based on Small Samples Learning[C]//2019 IEEE 4th International Conference on Signal and Image Processing.Wuxi,China:IEEE,2019:1055-1059.
[5]CAO Y J,JIA L L,CHEN Y X,et al.Recent advances of generative adversarial networks in computer vision[J].IEEE Access,2018,7:14985-15006.
[6]LI L,Z.JIANG Z J,LI Y N.Surface Defect Detection Algorithm of Aluminum Based on Improved Faster RCNN[C]//2021 IEEE 9th International Conference on Information,Communication and Networks.Xi’an,China IEEE Press,2021:527-531.
[7]HE K M,ZHANG X Y,REN S Q,et al.Deep residual learning for image recognition[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition.Las Vegas,NV,USA:IEEE Press,2016:770-778.
[8]LIU G,WANG F,HUI H.Application of Mask R-CNN in defect detection of industrial filter cloth[C]//2022 Global Conference on Robotics,Artificial Intelligence and Information Technology.Chicago,IL,USA:IEEE,2022:794-798.
[9]BAI M L,WANG M W.Fabric defect detection algorithm based on improved Cascade R-CNN[J].Computer Science,2023,50(6A):220300224-6.
[10]REZATOFIGHI H,TSOI N,GWAK J A,et al.Generalized intersection over union:a metric and a loss for bounding box regression[C]//2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Long Beach,CA,USA:IEEE,2019:658-666.
[11]JIANG P,ERGU D,LIU F,et al.A review of yolo algorithm developments[J].Procedia Computer Science,2022,199:1066-1073.
[12]TERVEN J,CORDOVA-ESPARZA D M,ROMERO-GONZALEZ J A.A comprehensive review of yolo architectures in computer vision:from yolov1 to yolov8 and yolo-nas[J].Machine Learning and Knowledge Extraction,2023,5(4):1680-1716.
[13]KANG C H,KIM S Y.Real-time object detection and segmentation technology:an analysis of the YOLO algorithm[J].JMST Advances,2023,5(2):69-76.
[14]HASAN R H,HASSOO R M,ABOUD I S.Yolo versions architecture:review[J].International Journal of Advances in Scientific Research and Engineering,2023,9(11):73-92.
[15]LIU W,ANGUELOV D,ERHAN D,et al.SSD:single shotMultiBox detector[C]//European Conference on Computer Vision.Cham:Springer International Publishing,2016:21-37.
[16]LIN T Y,GOYAL P,GIRSHICK R,et al.Focal loss for dense object detection[J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2020,42(2):318-327.
[17]HU H T,DU H C,WANG S Q,et al.Improved YOLOX method for detecting surface defects of drug blister aluminum foil[J].Journal of Graphics,2022,43(5):803-814.
[18]GE Z,LIU S,WANG F,et al.Yolox:exceeding yolo series in 2021[J].arXiv:2107.08430,2021.
[19]HAN D,PAN X,HAN Y,et al.Flatten transformer:visiontransformer using focused linear attention[C]//2023 IEEE/CVF International Conference on Computer Vision.Paris,France:IEEE,2023:5961-5971.
[20]LAN H,ZHU Z H,LUO R,et al.PCB defect detection algorithm of improved YOLOv8[C]//2023 8th International Conference on Image,Vision and Computing.Dalian,China:IEEE,2023:178-183.
[21]SOHAN M,SAI-RAM T,REDDY R,et al.A review onYOLOv8 and its advancements[C]//International Conference on Data Intelligence and Cognitive Informatics.Springer,Singapore:Springer,2024:529-545.
[22]LIU Z,ZHOU B.Research and application on the improved SSD chip defect inspection algorithm[C]//2021 IEEE International Conference on Consumer Electronics and Computer Engineering.Guangzhou,China:IEEE,2021:551-555.
[23]ZHOU B,JIANGP F,DUAN C,et al.Study on single background object detection oriented Improved-RetinaNet model and its application [J].Computer Science,2023,50(7):137-142.
[24]WANG X,GAO J S,HOU B J,et al.A Lightweight Modified YOLOX Network Using Coordinate Attention Mechanism for PCB Surface Defect Detection[J].IEEE Sensors Journal,2022,22(21):20910-20920.
[25]HOU Q,ZHOU D,FENG J.Coordinate attention for efficient mobile network design[C]//2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Nashville,TN,USA:IEEE,2021:13713-13722.
[26]OLORUNSHOLA O E,IRHEBHUDE M E,EVWIEKPAEFE A E.A comparative study of YOLOv5 and YOLOv7 object detection algorithms[J].Journal of Computing and Social Informatics,2023,2(1):1-12.
[27]HU J,SHEN L,SUN G.Squeeze-and-excitation networks[C]//2018 IEEE Conference on Computer Vision and Pattern Recognition.Salt Lake City,USA:IEEE,2018:7132-7141.
[28]WU Y,CHEN Y,YUAN L,et al.Rethinking classification and localization for object detection[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Seattle,WA,USA:IEEE,2020:10186-10195.
[29]DAI J,LI Y,HE K,et al.R-FCN:object detection via region-based fully convolutional networks[C]//30th Conference on Neural Information Processing Systems.Barcelona,Spain:Curran Associates,Inc,2016,29:379-387.
[30]WANG C Y,BOCHKOVSKIY A,LIAO H Y M.YOLOv7:Trainablebag-of-freebies sets new state-of-the-art for real-time object detectors[C]//2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition.Vancouver.Canada:IEEE,2023:7464-7475.
[31]ZENG Q,WEI D,ZHANG X,et al.MFAM-Net:a surface defect detection network for strip steel via multiscale feature fusion and attention mechanism[C]//2023 International Conference on New Trends in Computational Intelligence(NTCI).Qingdao,China:IEEE,2023:117-121.
[32]ZHANG Z D,ZHANG B,LAN Z C,et al.FINet:an insulator dataset and detection benchmark based on synthetic fog and improved YOLOv5[J].IEEE Transactions on Instrumentation and Measurement.2022,71:1-8.
[33]LI F,XI Q G.DefectNet:toward fast and effective defect detection[J]IEEE Transactions on Instrumentation and Measurement.2021,70:1-9.
[1] GUAN Xin, YANG Xueyong, YANG Xiaolin, MENG Xiangfu. Tumor Mutation Prediction Model of Lung Adenocarcinoma Based on Pathological [J]. Computer Science, 2025, 52(6A): 240700010-8.
[2] TAN Jiahui, WEN Chenyan, HUANG Wei, HU Kai. CT Image Segmentation of Intracranial Hemorrhage Based on ESC-TransUNet Network [J]. Computer Science, 2025, 52(6A): 240700030-9.
[3] CHEN Xianglong, LI Haijun. LST-ARBunet:An Improved Deep Learning Algorithm for Nodule Segmentation in Lung CT Images [J]. Computer Science, 2025, 52(6A): 240600020-10.
[4] LI Daicheng, LI Han, LIU Zheyu, GONG Shiheng. MacBERT Based Chinese Named Entity Recognition Fusion with Dependent Syntactic Information and Multi-view Lexical Information [J]. Computer Science, 2025, 52(6A): 240600121-8.
[5] HUANG Bocheng, WANG Xiaolong, AN Guocheng, ZHANG Tao. Transmission Line Fault Identification Method Based on Transfer Learning and Improved YOLOv8s [J]. Computer Science, 2025, 52(6A): 240800044-8.
[6] WU Zhihua, CHENG Jianghua, LIU Tong, CAI Yahui, CHENG Bang, PAN Lehao. Human Target Detection Algorithm for Low-quality Laser Through-window Imaging [J]. Computer Science, 2025, 52(6A): 240600069-6.
[7] ZENG Fanyun, LIAN Hechun, FENG Shanshan, WANG Qingmei. Material SEM Image Retrieval Method Based on Multi-scale Features and Enhanced HybridAttention Mechanism [J]. Computer Science, 2025, 52(6A): 240800014-7.
[8] HOU Zhexiao, LI Bicheng, CAI Bingyan, XU Yifei. High Quality Image Generation Method Based on Improved Diffusion Model [J]. Computer Science, 2025, 52(6A): 240500094-9.
[9] WANG Rui, TANG Zhanjun. Multi-feature Fusion and Ensemble Learning-based Wind Turbine Blade Defect Detection Method [J]. Computer Science, 2025, 52(6A): 240900138-8.
[10] HUANG Hong, SU Han, MIN Peng. Small Target Detection Algorithm in UAV Images Integrating Multi-scale Features [J]. Computer Science, 2025, 52(6A): 240700097-5.
[11] ZHAO Chanchan, YANG Xingchen, SHI Bao, LYU Fei, LIU Libin. Optimization Strategy of Task Offloading Based on Meta Reinforcement Learning [J]. Computer Science, 2025, 52(6A): 240800050-8.
[12] WANG Rong , ZOU Shuping, HAO Pengfei, GUO Jiawei, SHU Peng. Sand Dust Image Enhancement Method Based on Multi-cascaded Attention Interaction [J]. Computer Science, 2025, 52(6A): 240800048-7.
[13] LE Lingzhi, ZHAI Jiangtao, YU Ming, SUN Tongqing. Object Detection-based Method for Guiding Passenger Flow in Boarding and Deparking Areas ofRail Transit [J]. Computer Science, 2025, 52(6A): 240400192-9.
[14] WANG Baohui, GAO Zhan, XU Lin, TAN Yingjie. Research and Implementation of Mine Gas Concentration Prediction Algorithm Based on Deep Learning [J]. Computer Science, 2025, 52(6A): 240400188-7.
[15] ZHENG Chuangrui, DENG Xiuqin, CHEN Lei. Traffic Prediction Model Based on Decoupled Adaptive Dynamic Graph Convolution [J]. Computer Science, 2025, 52(6A): 240400149-8.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!