首页|改扩建砖混隐患房屋机器视觉辨识模型

改扩建砖混隐患房屋机器视觉辨识模型

扫码查看
改扩建砖混房屋存量巨大,且易发生坍塌事故。仅靠人工方式辨识隐患房屋较为低效,尝试引入机器视觉模型更智能地辨识隐患房屋。首先,收集已标注安全现状的相关房屋图像7 114幅,经一定处理后按6:2:2的比例划分训练集、验证集与测试集;之后,选用ConvNeXt、Swin Transformer、ResNeXt、DenseNet和MobileNet五种视觉模型,以迁移学习的方法,进行适应本识别任务的微调训练,并与引入"随机裁剪拼接(Random Image Cropping and Patching,RICAP)"图像数据增强方法的训练结果对比;最后,综合运用多种指标评价各个模型表现。结果表明:引入RICAP方法训练的ConvNeXt模型,在测试集上取得0。945 9的准确率、0。974 2的召回率,比未使用该方法训练的表现最优的模型分别提升0。014 8、0。044 4,可更准确地辨识隐患房屋。
Machine vision identification model for reconstructed and expanded brick-concrete houses with hidden dangers
There is a huge stock of reconstructed and expanded brick-concrete houses,which are prone to collapse accidents.Traditionally,the identification of these hidden danger houses relies on manual inspections,which is inefficient.This study attempts to leverage machine vision models to intelligently identify houses with hidden dangers.In the first place,a dataset,consisting of 7 114 images of reconstructed and expanded brick-concrete houses from a province in southern China,was collected for the research effort.Each image was labeled with house safety status.These images underwent preprocessing before being divided into three subsets:training set,validation set,and test set,distributed in a 6:2:2 ratio.Secondly,the study employed the approach of transfer learning,fine-tuning five diverse machine vision models:ConvNeXt,Swin Transformer,ResNeXt,DenseNet,and MobileNet.The data augmentation method,Random Image Cropping and Patching(RICAP),was applied during training to further enhance model robustness and generalization.RICAP is a method that randomly crops four images and patches them together to generate a new training image.It also mixes the class labels of the four images,resulting in a benefit similar to label smoothing.Finally,a comprehensive evaluation of each network's performance was conducted using multiple metrics.These metrics include confusion matrix,accuracy rate,recall rate,precision rate,specificity,F1-score,ROC curve,etc.The results demonstrate the superiority of the ConvNeXt model when trained with the RICAP augmentation method.This model achieved an impressive accuracy rate of 0.945 9 and a recall rate of 0.974 2 on the test set,showcasing a notable improvement of 0.014 8 and 0.044 4,respectively,compared to the best-performing model trained without RICAP augmentation.What's more,KMeans++algorithm was applied to cluster the images of hazardous houses,further validating the ConvNeXt(RICAP)model,which achieved the highest accuracy in this research,also demonstrated a capability to differentiate between specific types of hazards of houses and assess their severity.

safety engineeringreconstructed and expanded housemachine visionRandom Image Cropping and Patching(RICAP)transfer learning

段在鹏、黄豪琪、孙文磊、郑宏涛

展开 >

福州大学经济与管理学院,福州 350108

福建省应急管理研究中心,福州 350108

福州大学环境与安全工程学院,福州 350108

滁州学院计算机与信息工程学院,安徽滁州 239000

展开 >

安全工程 改扩建房屋 机器视觉 随机裁剪拼接 迁移学习

国家社会科学基金福建省社会科学基金

17CGL049FJ2022B052

2024

安全与环境学报
北京理工大学 中国环境科学学会 中国职业安全健康协会

安全与环境学报

CSTPCD北大核心
影响因子:0.943
ISSN:1009-6094
年,卷(期):2024.24(6)