{"title":"基于yolov5 - ghostnet集成的装配式建筑构件缺陷检测","authors":"Xuchao Liu, Jiayang Li","doi":"10.1002/cpe.70145","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>The defect detection of prefabricated building components during production and use is the key to ensuring building quality. Traditional manual methods are inefficient and prone to missed detections, while existing deep learning models face challenges such as insufficient detection accuracy, high computational resource consumption, and poor real-time performance in complex backgrounds and small target scenes. To address this issue, this study uses YOLOv5 as the basic object detection algorithm, introduces an attention mechanism, replaces the loss function, and improves the Adam optimizer to obtain YOLOv5s. To reduce the size of the YOLOv5s, GhostNet is introduced as a feature extraction network to construct the YOLOv5s-GhostNet detection model for defect detection of prefabricated building components. In actual defect detection of building components, the YOLOv5s-GhostNet researched and designed only had 12 defect classification errors, and the classification accuracy was improved to 99.6%. The proposed model had an AUC area of 0.90 for defect detection in building components and a detection speed of 42FPS. In visual analysis, the confidence coefficient of the proposed model for detecting “crack” defects was 99%. YOLOv5s-GhostNet has extremely high accuracy and efficiency in detecting defects in prefabricated building components and has broad application prospects. In order to verify the performance of the YOLOv5s GhostNet model proposed in this article, traditional YOLOv5, VGG-16, ResNet, and HRNet were selected as benchmark models for comparison. The experimental results show that the proposed model outperforms these benchmark models in terms of detection accuracy, detection speed, and model complexity, further verifying its effectiveness and superiority in practical applications. The application of this model not only promotes the further development of deep learning technology in architecture but also provides a reference for defect detection in other fields.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 15-17","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Defect Detection of Prefabricated Building Components With Integrated YOLOv5s-GhostNet\",\"authors\":\"Xuchao Liu, Jiayang Li\",\"doi\":\"10.1002/cpe.70145\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>The defect detection of prefabricated building components during production and use is the key to ensuring building quality. Traditional manual methods are inefficient and prone to missed detections, while existing deep learning models face challenges such as insufficient detection accuracy, high computational resource consumption, and poor real-time performance in complex backgrounds and small target scenes. To address this issue, this study uses YOLOv5 as the basic object detection algorithm, introduces an attention mechanism, replaces the loss function, and improves the Adam optimizer to obtain YOLOv5s. To reduce the size of the YOLOv5s, GhostNet is introduced as a feature extraction network to construct the YOLOv5s-GhostNet detection model for defect detection of prefabricated building components. In actual defect detection of building components, the YOLOv5s-GhostNet researched and designed only had 12 defect classification errors, and the classification accuracy was improved to 99.6%. The proposed model had an AUC area of 0.90 for defect detection in building components and a detection speed of 42FPS. In visual analysis, the confidence coefficient of the proposed model for detecting “crack” defects was 99%. YOLOv5s-GhostNet has extremely high accuracy and efficiency in detecting defects in prefabricated building components and has broad application prospects. In order to verify the performance of the YOLOv5s GhostNet model proposed in this article, traditional YOLOv5, VGG-16, ResNet, and HRNet were selected as benchmark models for comparison. The experimental results show that the proposed model outperforms these benchmark models in terms of detection accuracy, detection speed, and model complexity, further verifying its effectiveness and superiority in practical applications. The application of this model not only promotes the further development of deep learning technology in architecture but also provides a reference for defect detection in other fields.</p>\\n </div>\",\"PeriodicalId\":55214,\"journal\":{\"name\":\"Concurrency and Computation-Practice & Experience\",\"volume\":\"37 15-17\",\"pages\":\"\"},\"PeriodicalIF\":1.5000,\"publicationDate\":\"2025-06-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Concurrency and Computation-Practice & Experience\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70145\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70145","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
Defect Detection of Prefabricated Building Components With Integrated YOLOv5s-GhostNet
The defect detection of prefabricated building components during production and use is the key to ensuring building quality. Traditional manual methods are inefficient and prone to missed detections, while existing deep learning models face challenges such as insufficient detection accuracy, high computational resource consumption, and poor real-time performance in complex backgrounds and small target scenes. To address this issue, this study uses YOLOv5 as the basic object detection algorithm, introduces an attention mechanism, replaces the loss function, and improves the Adam optimizer to obtain YOLOv5s. To reduce the size of the YOLOv5s, GhostNet is introduced as a feature extraction network to construct the YOLOv5s-GhostNet detection model for defect detection of prefabricated building components. In actual defect detection of building components, the YOLOv5s-GhostNet researched and designed only had 12 defect classification errors, and the classification accuracy was improved to 99.6%. The proposed model had an AUC area of 0.90 for defect detection in building components and a detection speed of 42FPS. In visual analysis, the confidence coefficient of the proposed model for detecting “crack” defects was 99%. YOLOv5s-GhostNet has extremely high accuracy and efficiency in detecting defects in prefabricated building components and has broad application prospects. In order to verify the performance of the YOLOv5s GhostNet model proposed in this article, traditional YOLOv5, VGG-16, ResNet, and HRNet were selected as benchmark models for comparison. The experimental results show that the proposed model outperforms these benchmark models in terms of detection accuracy, detection speed, and model complexity, further verifying its effectiveness and superiority in practical applications. The application of this model not only promotes the further development of deep learning technology in architecture but also provides a reference for defect detection in other fields.
期刊介绍:
Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of:
Parallel and distributed computing;
High-performance computing;
Computational and data science;
Artificial intelligence and machine learning;
Big data applications, algorithms, and systems;
Network science;
Ontologies and semantics;
Security and privacy;
Cloud/edge/fog computing;
Green computing; and
Quantum computing.