CN113284144A - Tunnel detection method and device based on unmanned aerial vehicle - Google Patents
Tunnel detection method and device based on unmanned aerial vehicle Download PDFInfo
- Publication number
- CN113284144A CN113284144A CN202110830687.1A CN202110830687A CN113284144A CN 113284144 A CN113284144 A CN 113284144A CN 202110830687 A CN202110830687 A CN 202110830687A CN 113284144 A CN113284144 A CN 113284144A
- Authority
- CN
- China
- Prior art keywords
- tunnel
- neural network
- unmanned aerial
- aerial vehicle
- network model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本发明涉及隧道检测技术领域,尤其涉及一种基于无人机的隧道检测方法及装置。The invention relates to the technical field of tunnel detection, and in particular, to a method and device for tunnel detection based on unmanned aerial vehicles.
背景技术Background technique
随着城市化进程的加速,城市地铁得到快速发展,随之建设的地下基础结构也越来越多。近些年来,隧道安全问题频出,如隧道裂缝、渗漏水、沉降、衬砌剥落、掉块等,造成了严重的人员伤亡和巨大的经济损失,因此隧道安全是隧道运营期间的关键问题。With the acceleration of urbanization, urban subways have developed rapidly, and more and more underground infrastructures have been built. In recent years, tunnel safety problems have occurred frequently, such as tunnel cracks, water seepage, settlement, lining peeling, and falling blocks, which have caused serious casualties and huge economic losses. Therefore, tunnel safety is a key issue during tunnel operation.
传统的人工检查和闭路电视系统发现问题不及时,会导致严重后果,隧道病害检查宜采用人工与信息化手段相结合的方式进行。随着无人机技术的不断发展,无人机应用领域越来越广泛,已在航拍、农业、植保、快递运输、灾难救援、测绘、电力巡检等领域应用,无人机正在成为隧道检测的全新的发展方向,随着无人机的定位、感知、控制与数据传输技术的不断革新,未来的无人机将代替人类深入地下危险区域,探查隧道病害,保障基础设施安全。The traditional manual inspection and closed-circuit television system find problems in time, which will lead to serious consequences. Tunnel disease inspection should be carried out by a combination of manual and information-based methods. With the continuous development of unmanned aerial vehicle technology, the application field of unmanned aerial vehicle has become more and more extensive, and it has been used in aerial photography, agriculture, plant protection, express transportation, disaster rescue, surveying and mapping, power inspection and other fields. With the continuous innovation of UAV positioning, perception, control and data transmission technology, future UAVs will replace humans to go deep into underground dangerous areas, detect tunnel diseases, and ensure the safety of infrastructure.
隧道病害如果不及时发现,会影响隧道的正常使用,甚至影响结构安全。传统依靠人工和设备进行检测的方法不仅耗费大量的人力物力,还存在检测不及时和检测效率低等问题,完全依靠检测技术人员的主观判断。If the tunnel disease is not discovered in time, it will affect the normal use of the tunnel, and even affect the structural safety. The traditional detection method that relies on manual labor and equipment not only consumes a lot of manpower and material resources, but also has problems such as untimely detection and low detection efficiency, which completely rely on the subjective judgment of testing technicians.
因此,现有技术还有待于改进和发展。Therefore, the existing technology still needs to be improved and developed.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提供一种基于无人机的隧道检测方法及装置,旨在解决传统病害检查主要依靠目测法初步确定病害类型,识别率依靠检测人员的经验,识别率出现较大的不确定性的问题。The main purpose of the present invention is to provide a method and device for tunnel detection based on unmanned aerial vehicle, which aims to solve the problem that traditional disease inspection mainly relies on visual inspection to preliminarily determine the disease type, and the recognition rate depends on the experience of the inspecting personnel. Certainty issues.
为实现上述目的,本发明提供一种基于无人机的隧道检测方法,所述基于无人机的隧道检测方法包括如下步骤:In order to achieve the above object, the present invention provides a method for detecting a tunnel based on an unmanned aerial vehicle, and the method for detecting a tunnel based on an unmanned aerial vehicle comprises the following steps:
接收无人机获取隧道的视频图像;Receive video images of the tunnel obtained by the drone;
将所述视频图像进行预处理和标准化处理;preprocessing and standardizing the video image;
将经过预处理和标准化处理后的所述视频图像输入到已训练好的三维卷积神经网络模型中,所述三维卷积神经网络模型根据所述视频图像输出隧道病害检测结果。The preprocessed and standardized video images are input into the trained three-dimensional convolutional neural network model, and the three-dimensional convolutional neural network model outputs tunnel disease detection results according to the video images.
可选地,所述的基于无人机的隧道检测方法,其中,所述接收无人机获取隧道的视频信息,之前还包括:Optionally, in the method for detecting a tunnel based on a drone, wherein the receiving video information of the tunnel obtained by the drone further includes:
所述无人机通过搭载激光雷达或者热成像高清摄像机实时采集周围环境的图像信息;The UAV collects image information of the surrounding environment in real time by carrying a lidar or a thermal imaging high-definition camera;
通过惯性导航装置获取所述无人机的位姿信息;Obtain the position and attitude information of the UAV through an inertial navigation device;
将所述图像信息和所述位姿信息实时传输至超算平台;transmitting the image information and the pose information to the supercomputing platform in real time;
所述超算平台根据所述图像信息和所述位姿信息建立三维高精度地图,并得到规划路线后发送给所述无人机;The supercomputing platform builds a three-dimensional high-precision map according to the image information and the pose information, obtains a planned route, and sends it to the UAV;
所述无人机根据所述规划路线在隧道飞行中进行自主导航和避障。The UAV performs autonomous navigation and obstacle avoidance in tunnel flight according to the planned route.
可选地,所述的基于无人机的隧道检测方法,其中,已训练好的三维卷积神经网络模型的训练过程为:Optionally, in the described UAV-based tunnel detection method, the training process of the trained three-dimensional convolutional neural network model is:
通过应用隧道检测专业数据库对三维卷积神经网络模型进行训练;Train the 3D convolutional neural network model by applying the tunnel detection professional database;
获取所述应用隧道检测专业数据库中第一百分比的视频数据用于三维卷积神经网络模型的训练;Acquiring the first percentage of video data in the application tunnel detection professional database for training of the three-dimensional convolutional neural network model;
获取所述应用隧道检测专业数据库中剩下的第二百分比的视频数据用于验证训练后的三维卷积神经网络模型;Acquiring the remaining second percentage of video data in the application tunnel detection professional database for verifying the trained three-dimensional convolutional neural network model;
当三维卷积神经网络模型的识别率达到预设要求时,保存当前的三维卷积神经网络模型作为已训练好的三维卷积神经网络模型。When the recognition rate of the three-dimensional convolutional neural network model reaches the preset requirement, the current three-dimensional convolutional neural network model is saved as the trained three-dimensional convolutional neural network model.
可选地,所述的基于无人机的隧道检测方法,其中,所述第一百分比大于所述第二百分比。Optionally, in the UAV-based tunnel detection method, the first percentage is greater than the second percentage.
可选地,所述的基于无人机的隧道检测方法,其中,所述预处理为:对所述视频图像进行亮度调整、对比度调整和平滑滤波,所述平滑滤波用于滤除尖锐不连续的噪声。Optionally, in the UAV-based tunnel detection method, wherein the preprocessing is: performing brightness adjustment, contrast adjustment and smoothing filtering on the video image, and the smoothing filtering is used to filter out sharp discontinuities noise.
可选地,所述的基于无人机的隧道检测方法,其中,输入到已训练好的三维卷积神经网络模型中的所述视频信息为连续多帧的视频图像。Optionally, in the UAV-based tunnel detection method, the video information input into the trained three-dimensional convolutional neural network model is a video image of multiple consecutive frames.
可选地,所述的基于无人机的隧道检测方法,其中,所述标准化处理为将连续视频分割为若干个6帧的短视频。Optionally, in the UAV-based tunnel detection method, the standardization process is to divide the continuous video into several short videos of 6 frames.
可选地,所述的基于无人机的隧道检测方法,其中,所述三维卷积神经网络模型由一个输入层、三个卷积层、两个采样层、一个全连接层和一个输出层组成。Optionally, the UAV-based tunnel detection method, wherein the three-dimensional convolutional neural network model consists of an input layer, three convolutional layers, two sampling layers, a fully connected layer and an output layer. composition.
可选地,所述的基于无人机的隧道检测方法,其中,所述隧道病害检测结果包括:裂缝、渗漏水、沉降、钢筋外露、错台、衬砌剥落以及掉块。Optionally, in the UAV-based tunnel detection method, the tunnel disease detection results include: cracks, water leakage, settlement, exposed steel bars, misalignment, lining peeling, and falling blocks.
此外,为实现上述目的,本发明还提供一种基于无人机的隧道检测装置,其中,所述基于无人机的隧道检测装置包括:In addition, in order to achieve the above object, the present invention also provides a tunnel detection device based on drones, wherein the tunnel detection device based on drones includes:
无人机、超算平台、应用隧道检测专业数据库和三维卷积神经网络模型;UAV, supercomputing platform, application tunnel detection professional database and 3D convolutional neural network model;
所述无人机用于获取隧道的视频图像;The drone is used to obtain video images of the tunnel;
所述超算平台用于根据所述无人机采集的图像信息和惯性导航装置获取的位姿信息建立三维高精度地图,并得到规划路线后发送给所述无人机;The supercomputing platform is used to establish a three-dimensional high-precision map according to the image information collected by the UAV and the position and attitude information obtained by the inertial navigation device, and send the planned route to the UAV after obtaining the planned route;
所述应用隧道检测专业数据库用于对三维卷积神经网络模型进行训练;The application tunnel detection professional database is used for training the three-dimensional convolutional neural network model;
所述三维卷积神经网络模型在训练完成后用于根据所述视频图像输出隧道病害检测结果。The three-dimensional convolutional neural network model is used to output the tunnel disease detection result according to the video image after the training is completed.
本发明通过接收无人机获取隧道的视频图像;将所述视频图像进行预处理和标准化处理;将经过预处理和标准化处理后的所述视频图像输入到已训练好的三维卷积神经网络模型中,所述三维卷积神经网络模型根据所述视频图像输出隧道病害检测结果。本发明通过无人机获取隧道的视频图像,将视频图像输入到已训练好的三维卷积神经网络模型,可以更好的捕捉到视频中的空间和时间的特征,以快速输出隧道病害检测结果,提升了隧道病害的识别率、检测频率和处理速度,降低了人工依赖程度。The present invention obtains the video image of the tunnel by receiving the drone; preprocesses and standardizes the video image; inputs the preprocessed and normalized video image into the trained three-dimensional convolutional neural network model , the three-dimensional convolutional neural network model outputs a tunnel disease detection result according to the video image. The present invention obtains the video image of the tunnel through the drone, and inputs the video image into the trained three-dimensional convolutional neural network model, so that the spatial and temporal features in the video can be better captured, so as to quickly output the tunnel disease detection result , which improves the identification rate, detection frequency and processing speed of tunnel diseases, and reduces the degree of manual dependence.
附图说明Description of drawings
图1是本发明基于无人机的隧道检测方法的较佳实施例的流程图;Fig. 1 is the flow chart of the preferred embodiment of the tunnel detection method based on unmanned aerial vehicle of the present invention;
图2是本发明基于无人机的隧道检测方法的较佳实施例中无人机自主导航和避障的实现过程示意图;2 is a schematic diagram of the realization process of autonomous navigation and obstacle avoidance of unmanned aerial vehicles in the preferred embodiment of the tunnel detection method based on unmanned aerial vehicles of the present invention;
图3是本发明基于无人机的隧道检测方法的较佳实施例中3D卷积的卷积核在输入图像的三维空间进行滑窗操作示意图;3 is a schematic diagram of a sliding window operation performed by the convolution kernel of the 3D convolution in the three-dimensional space of the input image in the preferred embodiment of the UAV-based tunnel detection method of the present invention;
图4是本发明基于无人机的隧道检测方法的较佳实施例中三维卷积神经网络模型的组成结构示意图;4 is a schematic diagram of the composition structure of a three-dimensional convolutional neural network model in a preferred embodiment of the UAV-based tunnel detection method of the present invention;
图5为本发明基于无人机的隧道检测装置的较佳实施例的原理示意图。FIG. 5 is a schematic diagram of the principle of a preferred embodiment of the UAV-based tunnel detection device of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
卷积神经网络是一类以卷积运算为基础的神经网络方法,属于深度神经网络的代表性网络之一,卷积神经网络具有参数共享、能够局部感知和多核性等特点,使用多个卷积核进行运算,能够有效地将不同的特征提取出来。3D-CNN通常由3个维度的卷积核,二维卷积(CNN,Convolutional Neural Networks,卷积神经网络)是在空间维度上的卷积,三维卷积既是在空间上的卷积也是在时间上的卷积。CNN在图片识别方面应用广泛,并没有考虑到连续帧之间蕴藏的数据信息,而3D-CNN可以在相同的区域进行不同的卷积操作,能提取不同的特征进行不同的卷积操作,进而分析视频数据,从连续多帧视频中生成多通道信息,并在每个通道上进行卷积核采样工作,通过所有的通道信息得到最终的特征表示;相较于其他神经网络,卷积神经在图像理解任务中具有优异的表现,尤其在图像分类领域,能够自动提取有效的高维特征。Convolutional neural network is a kind of neural network method based on convolution operation, which belongs to one of the representative networks of deep neural network. Convolutional neural network has the characteristics of parameter sharing, local perception and multi-core, etc. The product kernel performs operations, which can effectively extract different features. 3D-CNN usually consists of three-dimensional convolution kernels, two-dimensional convolution (CNN, Convolutional Neural Networks, convolutional neural network) is a convolution in the spatial dimension, and a three-dimensional convolution is both a convolution in space and a convolution in space. Convolution over time. CNN is widely used in image recognition, and does not take into account the data information contained in consecutive frames, while 3D-CNN can perform different convolution operations in the same area, extract different features for different convolution operations, and then Analyze video data, generate multi-channel information from continuous multi-frame video, and perform convolution kernel sampling on each channel, and obtain the final feature representation through all channel information; compared with other neural networks, convolutional neural networks are It has excellent performance in image understanding tasks, especially in the field of image classification, and can automatically extract effective high-dimensional features.
传统依靠人工和设备进行检测的方法不仅耗费大量的人力物力,还存在检测不及时和检测效率低等问题,完全依靠检测技术人员的主观判断。未来隧道病害检测的方向应为自动化检测,突出现代技术自动化和实时化的特点。隧道病害如果不及时发现,会影响隧道的正常使用,甚至影响结构安全。随着技术的发展,提供一种隧道智能化检测的方法和高效的检测系统至关重要。通过无人机可以获得大量视频图像,将无人机与大数据云平台、3D-CNN相结合,建立一个集数据收集、数据储存、数据处理的装备,该智能系统装备能够进行日常隧道的病害检查,适应未来隧道病害检测的发展趋势。The traditional detection method that relies on manual labor and equipment not only consumes a lot of manpower and material resources, but also has problems such as untimely detection and low detection efficiency, which completely rely on the subjective judgment of testing technicians. The future direction of tunnel disease detection should be automatic detection, highlighting the characteristics of modern technology automation and real-time. If the tunnel disease is not discovered in time, it will affect the normal use of the tunnel, and even affect the structural safety. With the development of technology, it is very important to provide a method for intelligent detection of tunnels and an efficient detection system. A large number of video images can be obtained through the drone, and the drone is combined with the big data cloud platform and 3D-CNN to establish a set of equipment for data collection, data storage and data processing. This intelligent system equipment can carry out daily tunnel diseases. Check, adapt to the future development trend of tunnel disease detection.
本发明较佳实施例所述的基于无人机的隧道检测方法,如图1所示,所述基于无人机的隧道检测方法包括以下步骤:The UAV-based tunnel detection method according to the preferred embodiment of the present invention, as shown in FIG. 1 , the UAV-based tunnel detection method includes the following steps:
步骤S10、接收无人机获取隧道的视频图像。Step S10, receiving a video image of the tunnel obtained by the drone.
具体地,本发明通过无人机来实时采集隧道(所述隧道也可为地下大型基础设施)的视频图像,所述无人机具有自主导航和避障的功能,解决了隧道等地下大型基础设施中无GPS信号和光线不足条件下无人机自主导航和避障的问题,实现过程如图2所示:Specifically, the present invention collects real-time video images of tunnels (the tunnels can also be large-scale underground infrastructure) through drones. The drones have functions of autonomous navigation and obstacle avoidance, and solve the problem of large-scale underground infrastructure such as tunnels. The problem of autonomous navigation and obstacle avoidance of UAVs under the condition of no GPS signal and insufficient light in the facility, the realization process is shown in Figure 2:
步骤A1:无人机通过搭载OS-1激光雷达(以发射激光束探测目标的位置、速度等特征量的雷达系统,OS-1激光雷达由激光雷达厂商Ouster推出,OS-1可以实时输出固定分辨率的深度图像,信号图像以及环境图像,深度学习算法可以利用该数据)或者热成像高清摄像机(能够探测极微小温差的传感器,将温差转换成实时视频图像显示出来)实时采集周围环境的图像信息;Step A1: The drone is equipped with an OS-1 lidar (a radar system that emits a laser beam to detect the position, speed and other characteristic quantities of the target. The OS-1 lidar is launched by the lidar manufacturer Ouster, and the OS-1 can output fixed output in real time. High-resolution depth images, signal images and environmental images, which can be used by deep learning algorithms) or thermal imaging high-definition cameras (sensors that can detect extremely small temperature differences, convert the temperature differences into real-time video images and display them) Real-time capture of images of the surrounding environment information;
步骤A2:通过IMU(Inertial Measurement Unit,惯性导航装置,主要用来检测和测量加速度与旋转运动的传感器)获取无人机的位姿信息;Step A2: Obtain the position and attitude information of the UAV through IMU (Inertial Measurement Unit, inertial navigation device, a sensor mainly used to detect and measure acceleration and rotational motion);
步骤A3:将所述无人机周围的环境图像信息和位姿信息实时传输至超算平台;Step A3: transmitting the environmental image information and pose information around the UAV to the supercomputing platform in real time;
步骤A4:所述超算平台通过SLAM(Simultaneous Localization and Mapping,即时定位与地图构建,或同步定位与建图)将周围环境图像与无人机位姿信息建立三维高精度地图,并进行路线规划,将规划路线发送给所述无人机;Step A4: The supercomputing platform uses SLAM (Simultaneous Localization and Mapping, real-time positioning and map construction, or simultaneous positioning and mapping) to build a three-dimensional high-precision map with the surrounding environment image and the UAV pose information, and carry out route planning , sending the planned route to the UAV;
步骤A5:所述无人机接收路径规划信息,实现无人机在隧道的自主导航和避障(利用三维航路规划飞控算法计算飞行路径,实现无人机在隧道中的自主导航和避障)。Step A5: The UAV receives the path planning information to realize the autonomous navigation and obstacle avoidance of the UAV in the tunnel (using the three-dimensional route planning flight control algorithm to calculate the flight path, and realize the autonomous navigation and obstacle avoidance of the UAV in the tunnel). ).
进一步地,所述无人机获取隧道的视频图像后,上传至HBase(Hadoop Database)等数据存储平台,以存储海量数据,形成大数据平台数据仓库,数据实时传输采用WiFi传输,当隧道无WiFi信号时,可以采用COFDM(Coded Orthogonal Frequency DivisionMultiplexing)技术,通过安装发射机、标准高清COFDM接收机设备实现COFDM无线实时视频传输;HBase数据存储平台为云数据库,采用云原生和计算存储分离架构的全托管NoSQL服务,兼容HBase、Phoenix、OpenTSDB等多种开源标准接口,适合GB-PB级数据存储、查询和分析等,支持SQL分析、二级索引、时序查询等功能;HBase是建立在Hadoop文件系统之上的分布式面向列数据库,为横向发展类型数据库,提供快速随机访问海量结构化数据;可获得高质量的分析结果,通过建立数据库,为隧道病害检测提供大数据支持,增加检测的客观性。Further, after the drone acquires the video image of the tunnel, upload it to a data storage platform such as HBase (Hadoop Database) to store massive data and form a big data platform data warehouse. The real-time data transmission adopts WiFi transmission. When the tunnel has no WiFi When the signal is used, COFDM (Coded Orthogonal Frequency Division Multiplexing) technology can be used, and COFDM wireless real-time video transmission can be realized by installing transmitters and standard high-definition COFDM receiver equipment; Managed NoSQL service, compatible with HBase, Phoenix, OpenTSDB and other open source standard interfaces, suitable for GB-PB level data storage, query and analysis, etc., supports SQL analysis, secondary index, time series query and other functions; HBase is built on the Hadoop file system The distributed column-oriented database above is a horizontal development type database that provides fast random access to massive structured data; high-quality analysis results can be obtained. By establishing a database, it provides big data support for tunnel disease detection and increases the objectivity of detection. .
步骤S20、将所述视频图像进行预处理和标准化处理。Step S20, performing preprocessing and normalization processing on the video image.
具体地,所述预处理为对图像进行亮度调整、对比度调整和平滑滤波,使图像特征明显,易于识别。其中,平滑滤波目的是去掉尖锐不连续的噪声。所述标准化处理为将连续视频分割为若干个6帧的短视频,这是由于随着输入窗口(卷积的时间维度)的增加,可训练参数的数量也增加,3D-CNN网络的输入局限于很小数量的连续视频帧。Specifically, the preprocessing is to perform brightness adjustment, contrast adjustment and smooth filtering on the image, so that the image features are obvious and easy to identify. Among them, the purpose of smoothing filtering is to remove sharp discontinuous noise. The normalization process is to divide the continuous video into several short videos of 6 frames. This is because with the increase of the input window (the time dimension of the convolution), the number of trainable parameters also increases, and the input limit of the 3D-CNN network is limited. for a very small number of consecutive video frames.
步骤S30、将经过预处理和标准化处理后的所述视频图像输入到已训练好的三维卷积神经网络模型中,所述三维卷积神经网络模型根据所述视频图像输出隧道病害检测结果。Step S30: Input the preprocessed and standardized video image into a trained 3D convolutional neural network model, and the 3D convolutional neural network model outputs a tunnel disease detection result according to the video image.
具体地,输入到已训练好的三维卷积神经网络模型中的所述视频信息为连续多帧的视频图像,例如所述标准化处理就是为了将连续视频分割为若干个6帧的短视频,再输入到已训练好的三维卷积神经网络模型中。Specifically, the video information input into the trained 3D convolutional neural network model is a video image of multiple consecutive frames. For example, the normalization process is to divide the continuous video into several short videos of 6 frames, and then Input into the trained 3D convolutional neural network model.
其中,已训练好的三维卷积神经网络模型(即3D-CNN模型)的训练过程为:通过应用隧道检测专业数据库对三维卷积神经网络模型进行训练;获取所述应用隧道检测专业数据库中第一百分比的视频数据用于三维卷积神经网络模型的训练;获取所述应用隧道检测专业数据库中剩下的第二百分比的视频数据用于验证训练后的三维卷积神经网络模型;当三维卷积神经网络模型的识别率达到预设要求时,保存当前的三维卷积神经网络模型作为已训练好的三维卷积神经网络模型(该训练过程为模型自主学习过程)。所述第一百分比大于所述第二百分比,例如所述第一百分比为70%,那么所述第二百分比为30%。Among them, the training process of the trained 3D convolutional neural network model (that is, the 3D-CNN model) is as follows: training the 3D convolutional neural network model by applying the tunnel detection professional database; A percentage of the video data is used for training the 3D convolutional neural network model; the remaining second percentage of the video data in the application tunnel detection professional database is obtained to verify the trained 3D convolutional neural network model ; When the recognition rate of the 3D convolutional neural network model reaches the preset requirement, save the current 3D convolutional neural network model as the trained 3D convolutional neural network model (the training process is the model self-learning process). The first percentage is greater than the second percentage, for example, the first percentage is 70%, then the second percentage is 30%.
例如,应用隧道检测专业数据库对3D-CNN模型进行训练,70%数据用于训练,30%数据用于验证模型,当模型达到较高的识别率时保存模型作为已训练好的3D-CNN模型,保存模型后其以具有对各种病害的识别能力。For example, use the tunnel detection professional database to train the 3D-CNN model, 70% of the data is used for training, and 30% of the data is used to verify the model. When the model reaches a high recognition rate, save the model as the trained 3D-CNN model. , after saving the model, it has the ability to identify various diseases.
其中,所述三维卷积神经网络模型根据所述视频图像输出隧道病害检测结果,可取得更高的准确性和更稳定的判断;所述隧道病害检测结果包括:裂缝、渗漏水、沉降、钢筋外露、错台、衬砌剥落以及掉块,当然还可以是其他病害结果。Wherein, the three-dimensional convolutional neural network model outputs tunnel disease detection results according to the video image, which can achieve higher accuracy and more stable judgment; the tunnel disease detection results include: cracks, water leakage, settlement, Exposed steel bars, misalignment, peeling of linings, and falling blocks, of course, can also be the result of other diseases.
如图3所示,图3表示3D卷积的卷积核在输入图像的三维空间进行滑窗操作示意图,图3想要说明的是3D-CNN相较于2D-CNN不同的地方,3D-CNN是在2D-CNN的基础之上还有时间序列上进行滑窗,卷积核在三个方向上移动3D-CNN相对于2D-CNN的主要区别在于,其不仅可以捕获空间上的信息,也可以捕获时间上的信息。其中,滑动窗口(SlidingWindows)简称为 “滑窗”,是在输入层上进行的工作;通过设计滑窗来遍历输入的视频图像,将每个窗口对应的局部图像进行检测,能有效克服尺度、位置、形变等带来的输入异构问题,提升检测效果。As shown in Figure 3, Figure 3 shows a schematic diagram of the sliding window operation of the convolution kernel of 3D convolution in the three-dimensional space of the input image. Figure 3 wants to illustrate the difference between 3D-CNN and 2D-CNN. CNN is based on 2D-CNN and has a sliding window in time series. The convolution kernel moves in three directions. The main difference between 3D-CNN and 2D-CNN is that it can not only capture spatial information, but also Time information can also be captured. Among them, Sliding Windows is referred to as "sliding window", which is the work performed on the input layer; by designing a sliding window to traverse the input video images, and detect the local images corresponding to each window, it can effectively overcome the scale, The problem of input heterogeneity caused by position and deformation, etc., improves the detection effect.
以往技术不能提取视频中的时间特征,而3D-CNN模型显著提升了样本特征的提取,可以更好的捕捉到视频中的空间和时间的特征,提高隧道病害的识别率。The previous technology cannot extract the temporal features in the video, but the 3D-CNN model significantly improves the extraction of sample features, which can better capture the spatial and temporal features in the video, and improve the identification rate of tunnel diseases.
如图4所示,本发明中的所述三维卷积神经网络模型(3D-CNN模型)由一个输入层、三个卷积层、两个采样层(即池化层)、一个全连接层和一个输出层组成。As shown in FIG. 4 , the three-dimensional convolutional neural network model (3D-CNN model) in the present invention consists of an input layer, three convolutional layers, two sampling layers (ie, pooling layers), and a fully connected layer and an output layer.
其中,输入层用于连续6帧的视频帧图像作为输入,并进行滑窗操作,提升检测效果。Among them, the input layer is used for 6 consecutive video frame images as input, and the sliding window operation is performed to improve the detection effect.
其中,卷积层为3D卷积层,首先需要定义一系列小的3D特征抽取器(kernel),抽取堆叠的高层次表征,为了生成新的特征空间,使用了不同的3D kernel抽取输入空间上不同的特征,然后添加偏置项,使用线性激活函数,公式如下:Among them, the convolutional layer is a 3D convolutional layer. First, a series of small 3D feature extractors (kernels) need to be defined to extract stacked high-level representations. In order to generate a new feature space, different 3D kernels are used to extract the input space. Different features, then add a bias term, use a linear activation function, the formula is as follows:
; ;
其中,表示第1层的第i个3D特征;表示前一层的第k个3D特征空间;、、分别代表值在坐标轴空间中的值,代表三维特征抽取器空间中的坐标;表示激活函数ReLU(Rectified Linear Unit)。in, represents the i-
其中,池化层为3D最大池化层,不同于卷积层里计算输入和核的互相关性,池化层直接计算池化窗口内元素的最大值,该运算叫做最大池化。Among them, the pooling layer is a 3D maximum pooling layer. Unlike the convolutional layer that calculates the cross-correlation between the input and the kernel, the pooling layer directly calculates the maximum value of the elements in the pooling window. This operation is called maximum pooling.
其中,全连接层中,每个神经元与邻接层所有神经元相连,全连接层之前,首先需要将特征空间压平(flatten)到一个神经元向量,接下来再执行向量-矩阵乘法,再加上偏置项以及应用线性激活函数。Among them, in the fully connected layer, each neuron is connected to all neurons in the adjacent layer. Before the fully connected layer, the feature space needs to be flattened to a neuron vector, and then vector-matrix multiplication is performed, and then Add a bias term and apply a linear activation function.
; ;
其中,为输入特征向量,从层的3D特征空间(flatten)取得的;是第层的输出特征向量(全连接层);表示权重矩阵;表示偏置项;表示激活函数ReLU。in, is the input feature vector, from The 3D feature space (flatten) of the layer is obtained; is the first The output feature vector of the layer (fully connected layer); represents the weight matrix; represents the bias term; represents the activation function ReLU.
其中,输出层采用Softmax函数,其输出都是(0,1)之间的正值,并且和为1;通过Softmax函数可以将多分类的输出值转换为范围在[0,1]和为1的概率分布;Softmax函数的计算公式如下:Among them, the output layer adopts the Softmax function, and its outputs are all positive values between (0, 1), and the sum is 1; through the Softmax function, the output value of the multi-classification can be converted into a range of [0, 1] and 1 The probability distribution of ; the calculation formula of the Softmax function is as follows:
; ;
其中,为第i个节点的输出值;k为输出节点的个数,即分类的类别个数。in, is the output value of the ith node; k is the number of output nodes, that is, the number of categories of classification.
Softmax函数用于多分类过程中,它将裂缝、渗漏水、沉降、钢筋外露、错台、衬砌剥落、掉块的可能性输出,映射到[0,1]区间内,可以看成概率来理解,在最后选取输出结点的时候,最后选取概率最大的节点作为输出结果。The Softmax function is used in the multi-classification process. It maps the possibility of cracks, leaking water, settlement, exposed steel bars, misalignment, lining peeling, and falling blocks to the [0, 1] interval, which can be regarded as a probability Understand that when the output node is finally selected, the node with the highest probability is finally selected as the output result.
本发明通过无人机可以获得大量视频图像,将无人机与大数据云平台、3D-CNN相结合,建立一个集数据收集、数据储存、数据处理的装备,该智能系统装备能够进行日常隧道的病害检查,适应未来隧道病害检测的发展趋势。The invention can obtain a large number of video images through the unmanned aerial vehicle, and combine the unmanned aerial vehicle with the big data cloud platform and 3D-CNN to establish a set of equipment for data collection, data storage and data processing, and the intelligent system equipment can carry out daily tunneling. It can adapt to the development trend of tunnel disease detection in the future.
进一步地,如图5所示,基于上述基于无人机的隧道检测方法,本发明还相应提供了一种基于无人机的隧道检测装置,其中,所述基于无人机的隧道检测装置包括:Further, as shown in FIG. 5 , based on the above-mentioned UAV-based tunnel detection method, the present invention also provides a UAV-based tunnel detection device, wherein the UAV-based tunnel detection device includes: :
无人机100、超算平台200、应用隧道检测专业数据库300和三维卷积神经网络模型400;所述无人机100用于获取隧道的视频图像;所述超算平台200用于根据所述无人机100采集的图像信息和惯性导航装置获取的位姿信息建立三维高精度地图,并得到规划路线后发送给所述无人机100;所述应用隧道检测专业数据库300用于对三维卷积神经网络模型400进行训练;所述三维卷积神经网络模型400在训练完成后用于根据所述视频图像输出隧道病害检测结果。The
该智能系统装备具有自动化、实时化和集成化等特点,是一个高效的隧道病害综合检测系统装备,提升隧道病害的检测频率、处理速度和人工依赖程度;可实现一种装备一次检测多种病害,属于一种综合病害检测装备;降低人力成本。The intelligent system equipment has the characteristics of automation, real-time and integration, etc. It is an efficient comprehensive tunnel disease detection system equipment, which improves the detection frequency, processing speed and labor dependence of tunnel diseases; it can realize one type of equipment to detect multiple diseases at one time. , belonging to a comprehensive disease detection equipment; reduce labor costs.
综上所述,本发明提供一种基于无人机的隧道检测方法及装置,所述方法包括:接收无人机获取隧道的视频图像;将所述视频图像进行预处理和标准化处理;将经过预处理和标准化处理后的所述视频图像输入到已训练好的三维卷积神经网络模型中,所述三维卷积神经网络模型根据所述视频图像输出隧道病害检测结果。本发明通过无人机获取隧道的视频图像,将视频图像输入到已训练好的三维卷积神经网络模型,可以更好的捕捉到视频中的空间和时间的特征,以快速输出隧道病害检测结果,提升了隧道病害的识别率、检测频率和处理速度,降低了人工依赖程度。To sum up, the present invention provides a method and device for tunnel detection based on unmanned aerial vehicles. The method includes: receiving a video image of a tunnel obtained by an unmanned aerial vehicle; preprocessing and standardizing the video image; The preprocessed and standardized video images are input into the trained three-dimensional convolutional neural network model, and the three-dimensional convolutional neural network model outputs tunnel disease detection results according to the video images. The present invention obtains the video image of the tunnel through the drone, and inputs the video image into the trained three-dimensional convolutional neural network model, so that the spatial and temporal features in the video can be better captured, so as to quickly output the tunnel disease detection result , which improves the identification rate, detection frequency and processing speed of tunnel diseases, and reduces the degree of manual dependence.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110830687.1A CN113284144B (en) | 2021-07-22 | 2021-07-22 | Tunnel detection method and device based on unmanned aerial vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110830687.1A CN113284144B (en) | 2021-07-22 | 2021-07-22 | Tunnel detection method and device based on unmanned aerial vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113284144A true CN113284144A (en) | 2021-08-20 |
CN113284144B CN113284144B (en) | 2021-11-30 |
Family
ID=77286995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110830687.1A Active CN113284144B (en) | 2021-07-22 | 2021-07-22 | Tunnel detection method and device based on unmanned aerial vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113284144B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114062516A (en) * | 2022-01-18 | 2022-02-18 | 中大检测(湖南)股份有限公司 | Tunnel-oriented ultrasonic detection system |
CN114111725A (en) * | 2021-10-25 | 2022-03-01 | 中铁十六局集团第一工程有限公司 | Tunnel detection equipment |
CN114413055A (en) * | 2022-01-20 | 2022-04-29 | 济南轨道交通集团有限公司 | Operation and maintenance device and method for subway tunnel fan interlocking air valve |
CN119068371A (en) * | 2024-11-06 | 2024-12-03 | 山东大学 | Tunnel surface hazard identification method based on visible light and infrared imaging carried by UAV |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104843176A (en) * | 2015-04-28 | 2015-08-19 | 武汉大学 | Unmanned-gyroplane system used for automatic-inspection of bridges and tunnels and navigation method |
JP2017193331A (en) * | 2016-04-19 | 2017-10-26 | インダストリーネットワーク株式会社 | Drone flying body |
KR101794198B1 (en) * | 2016-10-26 | 2017-11-07 | 한국철도기술연구원 | Autonomous driving railway drone for mobilization to the scene of the fire |
CN108764142A (en) * | 2018-05-25 | 2018-11-06 | 北京工业大学 | Unmanned plane image forest Smoke Detection based on 3DCNN and sorting technique |
CN109165562A (en) * | 2018-07-27 | 2019-01-08 | 深圳市商汤科技有限公司 | Training method, crosswise joint method, apparatus, equipment and the medium of neural network |
US20190349730A1 (en) * | 2018-05-08 | 2019-11-14 | Lg Electronics Inc. | Method and apparatus for transmitting v2x data in wireless communication system |
CN110456805A (en) * | 2019-06-24 | 2019-11-15 | 深圳慈航无人智能系统技术有限公司 | A kind of UAV Intelligent tracking flight system and method |
CN111160301A (en) * | 2019-12-31 | 2020-05-15 | 同济大学 | Tunnel disease target intelligent identification and extraction method based on machine vision |
CN112598666A (en) * | 2021-01-06 | 2021-04-02 | 苏州光格科技股份有限公司 | Cable tunnel abnormity detection method based on convolutional neural network |
-
2021
- 2021-07-22 CN CN202110830687.1A patent/CN113284144B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104843176A (en) * | 2015-04-28 | 2015-08-19 | 武汉大学 | Unmanned-gyroplane system used for automatic-inspection of bridges and tunnels and navigation method |
JP2017193331A (en) * | 2016-04-19 | 2017-10-26 | インダストリーネットワーク株式会社 | Drone flying body |
KR101794198B1 (en) * | 2016-10-26 | 2017-11-07 | 한국철도기술연구원 | Autonomous driving railway drone for mobilization to the scene of the fire |
US20190349730A1 (en) * | 2018-05-08 | 2019-11-14 | Lg Electronics Inc. | Method and apparatus for transmitting v2x data in wireless communication system |
CN108764142A (en) * | 2018-05-25 | 2018-11-06 | 北京工业大学 | Unmanned plane image forest Smoke Detection based on 3DCNN and sorting technique |
CN109165562A (en) * | 2018-07-27 | 2019-01-08 | 深圳市商汤科技有限公司 | Training method, crosswise joint method, apparatus, equipment and the medium of neural network |
CN110456805A (en) * | 2019-06-24 | 2019-11-15 | 深圳慈航无人智能系统技术有限公司 | A kind of UAV Intelligent tracking flight system and method |
CN111160301A (en) * | 2019-12-31 | 2020-05-15 | 同济大学 | Tunnel disease target intelligent identification and extraction method based on machine vision |
CN112598666A (en) * | 2021-01-06 | 2021-04-02 | 苏州光格科技股份有限公司 | Cable tunnel abnormity detection method based on convolutional neural network |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114111725A (en) * | 2021-10-25 | 2022-03-01 | 中铁十六局集团第一工程有限公司 | Tunnel detection equipment |
CN114111725B (en) * | 2021-10-25 | 2024-02-20 | 中铁十六局集团第一工程有限公司 | Tunnel detection equipment |
CN114062516A (en) * | 2022-01-18 | 2022-02-18 | 中大检测(湖南)股份有限公司 | Tunnel-oriented ultrasonic detection system |
CN114413055A (en) * | 2022-01-20 | 2022-04-29 | 济南轨道交通集团有限公司 | Operation and maintenance device and method for subway tunnel fan interlocking air valve |
CN114413055B (en) * | 2022-01-20 | 2024-04-16 | 济南轨道交通集团有限公司 | Operation and maintenance device and method for interlocking air valve of subway tunnel fan |
CN119068371A (en) * | 2024-11-06 | 2024-12-03 | 山东大学 | Tunnel surface hazard identification method based on visible light and infrared imaging carried by UAV |
Also Published As
Publication number | Publication date |
---|---|
CN113284144B (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113284144B (en) | Tunnel detection method and device based on unmanned aerial vehicle | |
US10817731B2 (en) | Image-based pedestrian detection | |
CN111126399B (en) | Image detection method, device and equipment and readable storage medium | |
CN112668696A (en) | Unmanned aerial vehicle power grid inspection method and system based on embedded deep learning | |
CN111292366B (en) | Visual driving ranging algorithm based on deep learning and edge calculation | |
CN110910440B (en) | Power transmission line length determination method and system based on power image data | |
CN104978580A (en) | Insulator identification method for unmanned aerial vehicle polling electric transmission line | |
CN105407278A (en) | Panoramic video traffic situation monitoring system and method | |
CN112528971A (en) | Power transmission line abnormal target detection method and system based on deep learning | |
CN116258817A (en) | A method and system for constructing an autonomous driving digital twin scene based on multi-view 3D reconstruction | |
CN112069997B (en) | A DenseHR-Net-based UAV autonomous landing target extraction method and device | |
CN115115859A (en) | Intelligent identification and analysis method of long linear engineering construction progress based on UAV aerial photography | |
CN114089786A (en) | Autonomous inspection system based on unmanned aerial vehicle vision and along mountain highway | |
CN110298330A (en) | A kind of detection of transmission line polling robot monocular and localization method | |
CN111832398A (en) | An image detection method for broken strands of distribution line poles and tower conductors based on unmanned aerial vehicle images | |
CN107181323A (en) | A kind of unmanned plane inspection system and method | |
CN114120236A (en) | Method for identifying and positioning low-altitude target | |
CN115115713A (en) | Unified space-time fusion all-around aerial view perception method | |
CN116993681A (en) | Substation inspection defect detection method and system | |
CN114744756A (en) | An intelligent inspection system for transmission lines based on machine vision | |
CN111950524A (en) | Orchard local sparse mapping method and system based on binocular vision and RTK | |
Hedeya et al. | A low-cost multi-sensor deep learning system for pavement distress detection and severity classification | |
CN112613437B (en) | A method for identifying illegal buildings | |
CN109215059A (en) | Local data's correlating method of moving vehicle tracking in a kind of video of taking photo by plane | |
CN112926415A (en) | Pedestrian avoiding system and pedestrian monitoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |