CN114708190A - Road crack detection and evaluation algorithm based on deep learning - Google Patents

Road crack detection and evaluation algorithm based on deep learning Download PDF

Info

Publication number
CN114708190A
CN114708190A CN202210201900.7A CN202210201900A CN114708190A CN 114708190 A CN114708190 A CN 114708190A CN 202210201900 A CN202210201900 A CN 202210201900A CN 114708190 A CN114708190 A CN 114708190A
Authority
CN
China
Prior art keywords
crack
funet
algorithm
model
road
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
Application number
CN202210201900.7A
Other languages
Chinese (zh)
Other versions
CN114708190B (en
Inventor
刘宇翔
佘维
谭帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou University
Original Assignee
Zhengzhou University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou University filed Critical Zhengzhou University
Priority to CN202210201900.7A priority Critical patent/CN114708190B/en
Publication of CN114708190A publication Critical patent/CN114708190A/en
Application granted granted Critical
Publication of CN114708190B publication Critical patent/CN114708190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0008Industrial image inspection checking presence/absence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30132Masonry; Concrete

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a road crack detection and evaluation algorithm based on deep learning, which comprises the following steps: s1, training a neural network model FUnet; s2, road crack detection and evaluation are carried out by using the algorithm flow; compared with the prior art, the invention has the advantages that: the road crack is extracted and analyzed by utilizing the convolutional neural network model FUnet and a subsequent algorithm, a standard flow is provided, the problem of different standards caused by the difference of judgment between people in manual detection is avoided, the road crack is extracted and analyzed through an image, the equipment is simple to use, the cost is reduced, the algorithm flow can finish the extraction and analysis of the crack end to end, the classification task of a pixel level can be finished, meanwhile, the object level division and analysis can be carried out, the internal structure does not need to be manually concerned, and the requirement on operators is low.

Description

一种基于深度学习的道路裂缝检测评估算法A road crack detection and evaluation algorithm based on deep learning

技术领域technical field

本发明涉及裂缝识别技术领域,具体是指一种基于深度学习的道路裂缝检测评估算法。The invention relates to the technical field of crack identification, in particular to a road crack detection and evaluation algorithm based on deep learning.

背景技术Background technique

中国拥有世界上最大的公路网之一,公路在铺设之后就面临着维护的问题,若路面受损而没有进行及时地维护,将会大大降低路面的使用寿命且造成安全隐患。然而公路具有数量多、里程长、分布广等特点,难以快速且较为准确地统计评估不同路段的道路受损情况。传统人工检测的方法速度慢,人力成本高,且也需要依赖相关专业测量设备才能较为准确地检测和统计。而专业的路面检测车由于搭载众多专业测量设备,存在造价较高、体积较大、需要专人操作的问题。China has one of the largest road networks in the world. After the road is laid, it faces maintenance problems. If the road surface is damaged and not maintained in time, it will greatly reduce the service life of the road surface and cause safety hazards. However, highways have the characteristics of large number, long mileage, and wide distribution, so it is difficult to quickly and accurately evaluate the road damage in different sections. The traditional manual detection method is slow, the labor cost is high, and it also needs to rely on the relevant professional measurement equipment for more accurate detection and statistics. However, the professional road inspection vehicle has the problems of high cost, large volume, and the need for special personnel to operate because it is equipped with many professional measuring equipment.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题是,针对以上问题提供一种基于深度学习的道路裂缝检测统计算法流,可以对道路路面图片进行裂缝提取并获取相关信息,为路面受损情况评估工作提供参考。The technical problem to be solved by the present invention is to provide a deep learning-based road crack detection statistical algorithm flow, which can extract cracks from road pavement pictures and obtain relevant information, so as to provide reference for road damage assessment.

为解决上述技术问题,本发明提供的技术方案为:一种基于深度学习的道路裂缝检测评估算法,包括以下步骤:In order to solve the above-mentioned technical problems, the technical solution provided by the present invention is: a road crack detection and evaluation algorithm based on deep learning, comprising the following steps:

S1、训练神经网络模型FUnet;S1. Train the neural network model FUnet;

S11、获取公开的道路裂缝数据集CrackForest数据集;S11. Obtain the public road crack dataset CrackForest dataset;

S12、每次对FUnet模型输入一个mini-batch的数据,获得FUnet模型的输出,结合数据集的标注,使用交叉熵和F1分数组成的损失函数计算损失loss值;S12. Input a mini-batch data to the FUnet model each time, obtain the output of the FUnet model, and use the loss function composed of cross entropy and F1 score to calculate the loss value in combination with the annotation of the data set;

S13、使用误差反向传播算法更新FUnet模型的梯度,使用梯度下降算法根据计算得到的梯度对FUnet进行梯度下降,更新FUnet模型的参数;S13. Use the error back propagation algorithm to update the gradient of the FUnet model, use the gradient descent algorithm to perform gradient descent on the FUnet according to the calculated gradient, and update the parameters of the FUnet model;

S14、对步骤S12和步骤S13反复执行,直至最后的loss值基本不下降为止;S14. Repeat steps S12 and S13 until the final loss value does not decrease substantially;

S15、将训练后的FUnet模型的参数保存,供后续使用;S15. Save the parameters of the trained FUnet model for subsequent use;

S2、使用该算法流进行道路裂缝检测评估;S2. Use the algorithm flow to detect and evaluate road cracks;

S21、构建神经网络模型FUnet,并导入之前训练好的数据,将模型调为评估模式,在这种模式下不会更改网络中参数的值;S21. Build a neural network model FUnet, import the previously trained data, and set the model to evaluation mode, in which the values of parameters in the network will not be changed;

S22、从摄像头获取图片或从视频中获取图片,并对图片进行预处理,本算法中仅对图片进行规范化处理即可;S22. Obtain a picture from a camera or a video, and preprocess the picture. In this algorithm, only normalize the picture;

S23、将预处理后的图片送入FUnet模型,并得到FUnet模型的输出,FUnet模型的输出Mask即为对像素点的分类;S23. Send the preprocessed picture into the FUnet model, and obtain the output of the FUnet model, and the output Mask of the FUnet model is the classification of the pixel points;

S24、将输出的Mask输入到基于dfs的路面裂缝目标检测算法中,对裂缝进行实例的划分;S24. Input the output Mask into the dfs-based pavement crack target detection algorithm, and divide the cracks into instances;

S25、根据基于dfs的路面裂缝目标检测算法得到的裂缝实例数据,在后续的算法中计算裂缝总体和个体的数据,包括图片裂缝密度、裂缝个体分布密度等数据,在此基础上可以对某些指标不符合最低要求的裂缝实例进行过滤处理,这样可以有效避免图片上的噪音干扰,仅关注超过正常指标的裂缝。S25. According to the crack instance data obtained by the dfs-based pavement crack target detection algorithm, calculate the overall and individual data of cracks in the subsequent algorithm, including data such as picture crack density and individual crack distribution density. Crack instances whose indicators do not meet the minimum requirements are filtered, which can effectively avoid noise interference on the picture, and only focus on cracks that exceed normal indicators.

本发明与现有技术相比的优点在于:利用卷积神经网络模型FUnet和后续算法对道路裂缝进行提取与分析,具有标准的流程,避免了人工检测中的人与人判定差异导致的标准不同问题,通过图像对道路裂缝进行提取与分析,使用设备较为简单,降低了成本,该算法流可以端到端地完成对裂缝的提取与分析,既可以完成像素级的分类任务,同时又可以对象级划分和分析,不需要人工关注内部结构,对操作人员的要求低。Compared with the prior art, the present invention has the advantages that: using the convolutional neural network model FUnet and subsequent algorithms to extract and analyze road cracks, it has a standard process and avoids differences in standards caused by human-to-human judgment differences in manual detection. The problem is to extract and analyze road cracks through images. It is relatively simple to use equipment and reduce costs. The algorithm flow can complete the extraction and analysis of cracks end-to-end, which can not only complete pixel-level classification tasks, but also Level division and analysis, no need to manually pay attention to the internal structure, and low requirements for operators.

作为优选的,步骤S11的获取数据集使用图像处理方法进行数据集的增广,这些操作是对数据集中的原图和标注同时进行的,具体操作包括:图像的翻转、裁剪拼接、局部扭曲、添加高斯噪声、对亮度进行随机偏置。Preferably, the acquired data set in step S11 uses an image processing method to augment the data set. These operations are performed on the original image and annotations in the data set at the same time. The specific operations include: image flipping, cropping and splicing, local distortion, Add Gaussian noise, random bias to brightness.

作为优选的,步骤S12的计算公式如下:Preferably, the calculation formula of step S12 is as follows:

Loss=CrossEntropyLoss+(1-F1) (1)Loss=CrossEntropyLoss+(1-F 1 ) (1)

其中in

Figure BDA0003529681290000021
Figure BDA0003529681290000021

Figure BDA0003529681290000022
Figure BDA0003529681290000022

Figure BDA0003529681290000023
Figure BDA0003529681290000023

Figure BDA0003529681290000024
Figure BDA0003529681290000024

作为优选的,步骤S24通过调节dfs中的搜索范围,可以控制是否要将不连续的裂缝合并为一个裂缝实例,还可以调节合并间距,即在此间距范围中将两条不连续的裂缝画归与同一条裂缝实例。经过基于dfs的路面裂缝目标检测算法处理后可以得到裂缝实例,包括该裂缝实例在图中的分布范围[xmin,ymin,xmax,ymax]、该裂缝实例的裂缝像素点个数。Preferably, in step S24, by adjusting the search range in the dfs, it is possible to control whether to merge the discontinuous fractures into one fracture instance, and also to adjust the merging interval, that is, within this interval range, two discontinuous fractures are grouped together. with the same crack instance. After being processed by the pavement crack target detection algorithm based on dfs, the crack instance can be obtained, including the distribution range of the crack instance in the figure [xmin, ymin, xmax, ymax], and the number of crack pixels of the crack instance.

附图说明Description of drawings

图1为一种基于深度学习的道路裂缝检测评估算法的训练与检测流程图;Fig. 1 is a training and detection flow chart of a deep learning-based road crack detection and evaluation algorithm;

图2为一种基于深度学习的道路裂缝检测评估算法中神经网络模型FUnet的总体结构图;Fig. 2 is the overall structure diagram of the neural network model FUnet in a road crack detection and evaluation algorithm based on deep learning;

图3为一种基于深度学习的道路裂缝检测评估算法中神经网络模型FUnet的细节结构图;Fig. 3 is a detailed structure diagram of the neural network model FUnet in a deep learning-based road crack detection and evaluation algorithm;

图4为一种基于深度学习的道路裂缝检测评估算法样本示例图片;FIG. 4 is a sample image of a road crack detection and evaluation algorithm based on deep learning;

图5为通过算法得到的像素级分类图片,黑色为背景,白色为裂缝;Figure 5 is the pixel-level classification picture obtained by the algorithm, the black is the background, and the white is the crack;

图6为dfs的路面裂缝目标检测算法在间隔距离为0时得到的裂缝实例,每一个框对应一个裂缝实例;Figure 6 shows the crack instance obtained by the dfs pavement crack target detection algorithm when the interval distance is 0, and each frame corresponds to a crack instance;

图7为dfs的路面裂缝目标检测算法在间隔距离为7时得到的裂缝实例,每一个框对应一个裂缝实例。Figure 7 shows the crack instances obtained by the dfs pavement crack target detection algorithm when the interval distance is 7, and each box corresponds to a crack instance.

具体实施方式Detailed ways

下面结合附图对本发明做进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明在具体实施时,一种基于深度学习的道路裂缝检测评估算法,包括以下步骤:When the present invention is specifically implemented, a deep learning-based road crack detection and evaluation algorithm includes the following steps:

S1、训练神经网络模型FUnet;S1. Train the neural network model FUnet;

S11、获取公开的道路裂缝数据集CrackForest数据集;S11. Obtain the public road crack dataset CrackForest dataset;

S12、每次对FUnet模型输入一个mini-batch的数据,获得FUnet模型的输出,结合数据集的标注,使用交叉熵和F1分数组成的损失函数计算损失loss值;S12. Input a mini-batch data to the FUnet model each time, obtain the output of the FUnet model, and use the loss function composed of cross entropy and F1 score to calculate the loss value in combination with the annotation of the data set;

S13、使用误差反向传播算法更新FUnet模型的梯度,使用梯度下降算法根据计算得到的梯度对FUnet进行梯度下降,更新FUnet模型的参数;S13. Use the error back propagation algorithm to update the gradient of the FUnet model, use the gradient descent algorithm to perform gradient descent on the FUnet according to the calculated gradient, and update the parameters of the FUnet model;

S14、对步骤S12和步骤S13反复执行,直至最后的loss值基本不下降为止;S14. Repeat steps S12 and S13 until the final loss value does not decrease substantially;

S15、将训练后的FUnet模型的参数保存,供后续使用;S15. Save the parameters of the trained FUnet model for subsequent use;

S2、使用该算法流进行道路裂缝检测评估;S2. Use the algorithm flow to detect and evaluate road cracks;

S21、构建神经网络模型FUnet,并导入之前训练好的数据,将模型调为评估模式,在这种模式下不会更改网络中参数的值;S21. Build a neural network model FUnet, import the previously trained data, and set the model to evaluation mode, in which the values of parameters in the network will not be changed;

S22、从摄像头获取图片或从视频中获取图片,并对图片进行预处理,本算法中仅对图片进行规范化处理即可;S22. Obtain a picture from a camera or a video, and preprocess the picture. In this algorithm, only normalize the picture;

S23、将预处理后的图片送入FUnet模型,并得到FUnet模型的输出,FUnet模型的输出Mask即为对像素点的分类;S23, send the preprocessed picture into the FUnet model, and obtain the output of the FUnet model, and the output Mask of the FUnet model is the classification of the pixel points;

S24、将输出的Mask输入到基于dfs的路面裂缝目标检测算法中,对裂缝进行实例的划分;S24. Input the output Mask into the dfs-based pavement crack target detection algorithm, and divide the cracks into instances;

S25、根据基于dfs的路面裂缝目标检测算法得到的裂缝实例数据,在后续的算法中计算裂缝总体和个体的数据,包括图片裂缝密度、裂缝个体分布密度等数据,在此基础上可以对某些指标不符合最低要求的裂缝实例进行过滤处理,这样可以有效避免图片上的噪音干扰,仅关注超过正常指标的裂缝。S25. According to the crack instance data obtained by the dfs-based pavement crack target detection algorithm, calculate the overall and individual crack data in the subsequent algorithm, including the picture crack density, individual crack distribution density and other data. Crack instances whose indicators do not meet the minimum requirements are filtered, which can effectively avoid noise interference on the picture, and only focus on cracks that exceed normal indicators.

作为优选的,步骤S11的获取数据集使用图像处理方法进行数据集的增广,这些操作是对数据集中的原图和标注同时进行的,具体操作包括:图像的翻转、裁剪拼接、局部扭曲、添加高斯噪声、对亮度进行随机偏置。Preferably, the acquired data set in step S11 uses an image processing method to augment the data set. These operations are performed on the original image and annotations in the data set at the same time. The specific operations include: image flipping, cropping and splicing, local distortion, Add Gaussian noise, random bias to brightness.

作为优选的,步骤S12的计算公式如下:Preferably, the calculation formula of step S12 is as follows:

Loss=CrossEntropyLoss+(1-F1) (1)Loss=CrossEntropyLoss+(1-F 1 ) (1)

其中in

Figure BDA0003529681290000041
Figure BDA0003529681290000041

Figure BDA0003529681290000042
Figure BDA0003529681290000042

Figure BDA0003529681290000043
Figure BDA0003529681290000043

Figure BDA0003529681290000044
Figure BDA0003529681290000044

作为优选的,步骤S24通过调节dfs中的搜索范围,可以控制是否要将不连续的裂缝合并为一个裂缝实例,还可以调节合并间距,即在此间距范围中将两条不连续的裂缝画归与同一条裂缝实例。经过基于dfs的路面裂缝目标检测算法处理后可以得到裂缝实例,包括该裂缝实例在图中的分布范围[xmin,ymin,xmax,ymax]、该裂缝实例的裂缝像素点个数。Preferably, in step S24, by adjusting the search range in the dfs, it is possible to control whether to merge the discontinuous fractures into one fracture instance, and also to adjust the merging interval, that is, within this interval range, two discontinuous fractures are grouped together. with the same crack instance. After being processed by the pavement crack target detection algorithm based on dfs, the crack instance can be obtained, including the distribution range of the crack instance in the figure [xmin, ymin, xmax, ymax], and the number of crack pixels of the crack instance.

本发明的工作原理:FUnet模型训练完成后的参数文件仅有1.5MB,参数量少,训练仅需要少量的数据即可在短时间内快速完成。单张检测时运行显存仅需1GB左右,在RTX1070显卡上测试可达到每秒50帧左右。后续的dfs的路面裂缝目标检测算法时间复杂度为O(mn),m、n分别为图片的宽高。由此可以看出该算法对搭载平台的性能要求较低,速度较快,一方面降低了部署算法的成本消耗,另一方面由于其对平台要求较低可大量部署到多种车载平台上。The working principle of the present invention: the parameter file after the FUnet model training is completed is only 1.5MB, and the parameter quantity is small, and the training can be quickly completed in a short time with only a small amount of data. Only about 1GB of video memory is required to run a single test, and the test on the RTX1070 graphics card can reach about 50 frames per second. The time complexity of the subsequent dfs pavement crack target detection algorithm is O(mn), where m and n are the width and height of the image, respectively. From this, it can be seen that the algorithm has lower performance requirements for the on-board platform and faster speed. On the one hand, it reduces the cost of deploying the algorithm. On the other hand, due to its low platform requirements, it can be deployed on a variety of on-board platforms.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, the features defined with "first" and "second" may expressly or implicitly include one or more of the features, and in the description of the present invention, "multiple" means two or two above, unless otherwise expressly specifically defined.

在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise expressly specified and limited, the terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection Or integrally connected; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication between the two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

在本发明中,除非另有明确的规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正下方和斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise expressly specified and limited, a first feature "on" or "under" a second feature may include the first and second features in direct contact, or may include the first and second features Not directly but through additional features between them. Also, the first feature being "above", "over" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature is level higher than the second feature. The first feature is "below", "below" and "below" the second feature includes the first feature being directly below and diagonally below the second feature, or simply means that the first feature has a lower level than the second feature.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”,“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在不脱离本发明的原理和宗旨的情况下在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and those of ordinary skill in the art will not depart from the principles and spirit of the present invention Variations, modifications, substitutions, and alterations to the above-described embodiments are possible within the scope of the present invention without departing from the scope of the present invention.

Claims (4)

1. A road crack detection and evaluation algorithm based on deep learning is characterized by comprising the following steps:
s1, training a neural network model FUnet;
s11, acquiring a CrackForest data set of the public road crack data set;
S12, inputting mini-batch data into the FUnet model each time to obtain the output of the FUnet model, and calculating a loss value by using a loss function consisting of cross entropy and F1 fraction in combination with the labeling of a data set;
s13, updating the gradient of the FUnet model by using an error back propagation algorithm, performing gradient descent on the FUnet according to the calculated gradient by using a gradient descent algorithm, and updating the parameter of the FUnet model;
s14, repeatedly executing the step S12 and the step S13 until the final loss value is not reduced basically;
s15, storing the parameters of the trained FUnet model for subsequent use;
s2, road crack detection and evaluation are carried out by using the algorithm flow;
s21, constructing a neural network model FUnet, importing the trained data, and adjusting the model into an evaluation mode without changing the value of parameters in the network;
s22, acquiring pictures from the camera or the video, and preprocessing the pictures, wherein the algorithm only needs to perform standardized processing on the pictures;
s23, sending the preprocessed pictures into a FUnet model, and obtaining output of the FUnet model, wherein an output Mask of the FUnet model is the classification of pixel points;
s24, inputting the output Mask into a dfs-based pavement crack target detection algorithm, and dividing the crack into examples;
S25, calculating total and individual data of cracks in subsequent algorithms according to crack example data obtained by a dfs-based pavement crack target detection algorithm, wherein the total and individual data comprise data such as picture crack density, crack individual distribution density and the like, and filtering crack examples with certain indexes not meeting the minimum requirement on the basis, so that noise interference on pictures can be effectively avoided, and only cracks exceeding normal indexes are concerned.
2. The deep learning-based road crack detection and evaluation algorithm as claimed in claim 1, wherein: the acquiring data set of step S11 is augmented by using an image processing method, and these operations are performed on the original image and the label in the data set at the same time, and the specific operations include: turning over the image, cutting and splicing, locally distorting, adding Gaussian noise and randomly biasing the brightness.
3. The deep learning-based road crack detection and evaluation algorithm of claim 1, wherein: the calculation formula of step S12 is as follows:
Loss=CrossEntropyLoss+(1-F1) (1)
wherein
Figure FDA0003529681280000011
Figure FDA0003529681280000012
Figure FDA0003529681280000021
Figure FDA0003529681280000022
4. The deep learning-based road crack detection and evaluation algorithm of claim 1, wherein: step S24 may control whether to merge the discontinuous cracks into one crack instance by adjusting the search range in dfs, and may also adjust the merge distance, that is, two discontinuous cracks are drawn to the same crack instance in this distance range. And obtaining a crack example after being processed by a dfs-based pavement crack target detection algorithm, wherein the crack example comprises the distribution range [ xmin, ymin, xmax, ymax ] of the crack example in a graph and the number of crack pixel points of the crack example.
CN202210201900.7A 2022-03-03 2022-03-03 Road crack detection and evaluation method based on deep learning Active CN114708190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210201900.7A CN114708190B (en) 2022-03-03 2022-03-03 Road crack detection and evaluation method based on deep learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210201900.7A CN114708190B (en) 2022-03-03 2022-03-03 Road crack detection and evaluation method based on deep learning

Publications (2)

Publication Number Publication Date
CN114708190A true CN114708190A (en) 2022-07-05
CN114708190B CN114708190B (en) 2024-08-20

Family

ID=82166894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210201900.7A Active CN114708190B (en) 2022-03-03 2022-03-03 Road crack detection and evaluation method based on deep learning

Country Status (1)

Country Link
CN (1) CN114708190B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115830007A (en) * 2023-02-06 2023-03-21 山东省滨州公路工程有限公司 Pavement void detection method and system based on image recognition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109801292A (en) * 2018-12-11 2019-05-24 西南交通大学 A kind of bituminous highway crack image partition method based on generation confrontation network
US20210174492A1 (en) * 2019-12-09 2021-06-10 University Of Central Florida Research Foundation, Inc. Methods of artificial intelligence-assisted infrastructure assessment using mixed reality systems
CN112949783A (en) * 2021-04-29 2021-06-11 南京信息工程大学滨江学院 Road crack detection method based on improved U-Net neural network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109801292A (en) * 2018-12-11 2019-05-24 西南交通大学 A kind of bituminous highway crack image partition method based on generation confrontation network
US20210174492A1 (en) * 2019-12-09 2021-06-10 University Of Central Florida Research Foundation, Inc. Methods of artificial intelligence-assisted infrastructure assessment using mixed reality systems
CN112949783A (en) * 2021-04-29 2021-06-11 南京信息工程大学滨江学院 Road crack detection method based on improved U-Net neural network

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
BEKHZOD OLIMOV等: "FU-Net: fast biomedical image segmentation model based on bottleneck convolution layers", MULTIMEDIA SYSTEMS, 4 January 2021 (2021-01-04) *
MINA JAFARI等: "FU-Net: Multi-class Image Segmentation Using Feedback Weighted U-Net", INTERNATIONAL CONFERENCE ON IMAGE AND GRAPHICS, 28 November 2019 (2019-11-28) *
ZIPING GAO等: "Generative Adversarial Networks for Road Crack Image Segmentation", 2019 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 30 September 2019 (2019-09-30) *
陈泽斌;罗文婷;李林;: "基于改进U-net模型的路面裂缝智能识别", 数据采集与处理, no. 02, 15 March 2020 (2020-03-15) *
高子平: "基于深度学习的公路路面裂缝图像识别技术研究", 中国优秀硕士论文电子期刊网, 15 July 2021 (2021-07-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115830007A (en) * 2023-02-06 2023-03-21 山东省滨州公路工程有限公司 Pavement void detection method and system based on image recognition

Also Published As

Publication number Publication date
CN114708190B (en) 2024-08-20

Similar Documents

Publication Publication Date Title
CN110197203B (en) Classification and identification method of bridge pavement cracks based on width learning neural network
KR102121958B1 (en) Method, system and computer program for providing defect analysis service of concrete structure
US20210319561A1 (en) Image segmentation method and system for pavement disease based on deep learning
TWI431559B (en) A vehicle registration-plate detecting method and system thereof
CN110321815A (en) A road crack recognition method based on deep learning
CN109978032B (en) Bridge crack detection method based on space pyramid cavity convolution network
CN108875596A (en) A kind of railway scene image, semantic dividing method based on DSSNN neural network
CN112652015B (en) BIM-based pavement disease marking method and device
CN104048969A (en) Tunnel defect recognition method
CN104657714B (en) Illumination symmetry merged with global illumination intensity without refer to human face light evaluation method
CN108460760A (en) A kind of Bridge Crack image discriminating restorative procedure fighting network based on production
CN112883969B (en) Rainfall intensity detection method based on convolutional neural network
CN117788950A (en) Pavement damage detection method based on improved YOLOv8 model
CN116597270B (en) Road damage object detection method based on attention mechanism ensemble learning network
CN117422699B (en) Highway detection method, device, computer equipment and storage medium
CN112712707A (en) Vehicle carbon emission monitoring system and method
CN114529555A (en) Image recognition-based efficient cigarette box in-and-out detection method
CN114708190B (en) Road crack detection and evaluation method based on deep learning
CN104182752A (en) Intelligent monitoring method of outdoor advertising board
CN115359003A (en) Crack recognition method, system, medium and equipment for two-step tunnel grayscale image
CN119515800A (en) A method for detecting small defects in tunnel cracks based on generative adversarial networks
CN112329515B (en) High-point video monitoring congestion event detection method
CN118134875A (en) A method and system for calculating the size and severity of road rutting subsidence based on machine learning
CN117808789A (en) Method and system for detecting cracks of existing building glass curtain wall
CN110135274A (en) A method of people flow statistics based on face recognition

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