基于YOLOv3的H型钢表面缺陷检测系统
2021-07-01刘亚姣于海涛刘宝顺张磊纪广胜王江
刘亚姣 于海涛 刘宝顺 张磊 纪广胜 王江



摘要:为了提升H型钢的表面质量和安全系数,设计了一种基于YOLOv3算法的型钢表面缺陷检测系统。设计的检测系统由硬件系统和软件系统组成:硬件系统包括八角架式图像采集装置、电动控制系统和通信系统;软件系统采用YOLOv3目标检测算法。现场测试结果表明:1)检测系统可实时采集图像,并根据H型钢的规格型号能够自动调节图像采集装置结构,准确快速地跟踪被检测目标,获得H型钢的高清全景图像;2)检测系统可对H型钢表面缺陷进行在线检测、分类和定位,并兼顾检测精度与检测速度,检测精度为81.25%,检测速度为30.78帧/s;3)检测系统能够准确识别H型钢的结疤、凹坑、划伤和击伤等4类典型缺陷,满足生产过程中表面缺陷检测的实际需求。开发的型钢表面缺陷检测系统为H型钢表面质量智能化检测工作提供了新的选择。
关键词:计算机图像处理; H型钢; 表面缺陷; 检测系统; YOLOv3算法
中图分类号:TU392文献标识码:ADOI: 10.7535/hbgykj.2021yx03010
Abstract: In order to improve the surface quality and safety factor of H-beam, an H-beam surface defect detection system based on YOLOv3 (you only look once) algorithm was designed. The designed detection system was composed of hardware system and software system. Octagonal frame image acquisition device, electric control system and communication system were included in the hardware system. The YOLOv3 target detection algorithm was used in the software system. The field test results show that: 1) the detection system can capture the surface image of H-beam in real time, and automatically adjust the structure of the image acquisition device according to the types of H-beam, accurately and quickly track the detected targets, and obtain high-definition panoramic images of H-beam; 2) the online detection, classification and location of H-beam surface defects can be carried out by the detection system, and both the detection accuracy and the detection speed are taken into account. The detection accuracy is 81.25%, and the detection speed is 30.78 frames/s; 3) the detection system can accurately identify four types of typical defects of H-beam, such as scar, pit, scratch and hit, which can meet the actual requirements of surface defect detection in the production process. The developed surface defect detection system provides a new choice for the intelligent detection of H-beam surface quality.
Keywords:computer image processing; H-beam; surface defect; detection system; YOLOv3 algorithm
H型鋼是各类基础设施建设的重要钢材,但在H型钢生产过程中由于生产工艺和现场环境的复杂性,易导致钢铁表面出现如凹坑、结疤、划伤、击伤等多种类型缺陷,严重影响了H型钢的品质和安全系数[1-2]。因此,对H型钢表面缺陷进行检测和提高型钢表面质量是钢铁企业的首要任务。
钢材表面缺陷检测经历了人工检测、传统光电检测和机器视觉检测3个主要发展阶段[3-4]。目前,国外已经开发出实用的机器视觉钢材表面缺陷检测系统,如在几何形状较为简单的钢板、钢带、钢管等管线材领域。……
