Cargando…
Real-time detection of particleboard surface defects based on improved YOLOV5 target detection
Particleboard surface defect detection technology is of great significance to the automation of particleboard detection, but the current detection technology has disadvantages such as low accuracy and poor real-time performance. Therefore, this paper proposes an improved lightweight detection method...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Nature Publishing Group UK
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8571343/ https://www.ncbi.nlm.nih.gov/pubmed/34741057 http://dx.doi.org/10.1038/s41598-021-01084-x |
_version_ | 1784594999170564096 |
---|---|
author | Zhao, Ziyu Yang, Xiaoxia Zhou, Yucheng Sun, Qinqian Ge, Zhedong Liu, Dongfang |
author_facet | Zhao, Ziyu Yang, Xiaoxia Zhou, Yucheng Sun, Qinqian Ge, Zhedong Liu, Dongfang |
author_sort | Zhao, Ziyu |
collection | PubMed |
description | Particleboard surface defect detection technology is of great significance to the automation of particleboard detection, but the current detection technology has disadvantages such as low accuracy and poor real-time performance. Therefore, this paper proposes an improved lightweight detection method of You Only Live Once v5 (YOLOv5), namely PB-YOLOv5 (Particle Board-YOLOv5). Firstly, the gamma-ray transform method and the image difference method are combined to deal with the uneven illumination of the acquired images, so that the uneven illumination is well corrected. Secondly, Ghost Bottleneck lightweight deep convolution module is added to Backbone module and Neck module of YOLOv5 detection algorithm to reduce model volume. Thirdly, the SELayer module of attention mechanism is added into Backbone module. Finally, replace Conv in Neck module with depthwise convolution (DWConv) to compress network parameters. The experimental results show that the PB-YOLOv5 model proposed in this paper can accurately identify five types of defects on the particleboard surface: Bigshavings, SandLeakage, GlueSpot, Soft and OliPollution, and meet the real-time requirements. Specifically, recall, F1 score, mAP@.5, mAP@.5:.95 values of pB-Yolov5s model were 91.22%, 94.5%, 92.1%, 92.8% and 67.8%, respectively. The results of Soft defects were 92.8%, 97.9%, 95.3%, 99.0% and 81.7%, respectively. The detection of single image time of the model is only 0.031 s, and the weight size of the model is only 5.4 MB. Compared with the original YOLOv5s, YOLOv4, YOLOv3 and Faster RCNN, the PB-Yolov5s model has the fastest Detection of single image time. The Detection of single image time was accelerated by 34.0%, 55.1%, 64.4% and 87.9%, and the weight size of the model is compressed by 62.5%, 97.7%, 97.8% and 98.9%, respectively. The mAP value increased by 2.3%, 4.69%, 7.98% and 13.05%, respectively. The results show that the PB-YOLOV5 model proposed in this paper can realize the rapid and accurate detection of particleboard surface defects, and fully meet the requirements of lightweight embedded model. |
format | Online Article Text |
id | pubmed-8571343 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Nature Publishing Group UK |
record_format | MEDLINE/PubMed |
spelling | pubmed-85713432021-11-09 Real-time detection of particleboard surface defects based on improved YOLOV5 target detection Zhao, Ziyu Yang, Xiaoxia Zhou, Yucheng Sun, Qinqian Ge, Zhedong Liu, Dongfang Sci Rep Article Particleboard surface defect detection technology is of great significance to the automation of particleboard detection, but the current detection technology has disadvantages such as low accuracy and poor real-time performance. Therefore, this paper proposes an improved lightweight detection method of You Only Live Once v5 (YOLOv5), namely PB-YOLOv5 (Particle Board-YOLOv5). Firstly, the gamma-ray transform method and the image difference method are combined to deal with the uneven illumination of the acquired images, so that the uneven illumination is well corrected. Secondly, Ghost Bottleneck lightweight deep convolution module is added to Backbone module and Neck module of YOLOv5 detection algorithm to reduce model volume. Thirdly, the SELayer module of attention mechanism is added into Backbone module. Finally, replace Conv in Neck module with depthwise convolution (DWConv) to compress network parameters. The experimental results show that the PB-YOLOv5 model proposed in this paper can accurately identify five types of defects on the particleboard surface: Bigshavings, SandLeakage, GlueSpot, Soft and OliPollution, and meet the real-time requirements. Specifically, recall, F1 score, mAP@.5, mAP@.5:.95 values of pB-Yolov5s model were 91.22%, 94.5%, 92.1%, 92.8% and 67.8%, respectively. The results of Soft defects were 92.8%, 97.9%, 95.3%, 99.0% and 81.7%, respectively. The detection of single image time of the model is only 0.031 s, and the weight size of the model is only 5.4 MB. Compared with the original YOLOv5s, YOLOv4, YOLOv3 and Faster RCNN, the PB-Yolov5s model has the fastest Detection of single image time. The Detection of single image time was accelerated by 34.0%, 55.1%, 64.4% and 87.9%, and the weight size of the model is compressed by 62.5%, 97.7%, 97.8% and 98.9%, respectively. The mAP value increased by 2.3%, 4.69%, 7.98% and 13.05%, respectively. The results show that the PB-YOLOV5 model proposed in this paper can realize the rapid and accurate detection of particleboard surface defects, and fully meet the requirements of lightweight embedded model. Nature Publishing Group UK 2021-11-05 /pmc/articles/PMC8571343/ /pubmed/34741057 http://dx.doi.org/10.1038/s41598-021-01084-x Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Zhao, Ziyu Yang, Xiaoxia Zhou, Yucheng Sun, Qinqian Ge, Zhedong Liu, Dongfang Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title | Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title_full | Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title_fullStr | Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title_full_unstemmed | Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title_short | Real-time detection of particleboard surface defects based on improved YOLOV5 target detection |
title_sort | real-time detection of particleboard surface defects based on improved yolov5 target detection |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8571343/ https://www.ncbi.nlm.nih.gov/pubmed/34741057 http://dx.doi.org/10.1038/s41598-021-01084-x |
work_keys_str_mv | AT zhaoziyu realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection AT yangxiaoxia realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection AT zhouyucheng realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection AT sunqinqian realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection AT gezhedong realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection AT liudongfang realtimedetectionofparticleboardsurfacedefectsbasedonimprovedyolov5targetdetection |