A road crack detection method and system

Through the channel attention mechanism and the hole space convolution pooling pyramid, combined with the backbone network and decoder, the contour points are used to calculate smoothness and standard deviation, which solves the shortcomings of artificial vision and computer vision methods in pavement crack detection, and achieves efficient, Accurate crack detection and classification.

CN118485666BActive Publication Date: 2024-09-06NANJING INTELLIGENT SPACE-TIME ROBOT TECH SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410943703.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-06
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

In the existing technology, pavement crack detection relies on manual visual inspection, which has low accuracy and efficiency. It is difficult to find small cracks or hidden problems, and computer vision methods have large errors when there are traces of repairs.

Method used

The channel attention mechanism is combined with the atrous spatial convolution pooling pyramid to perform crack segmentation through the backbone network and decoder. The contour points are used to calculate the smoothness and standard deviation for classification to improve the semantic segmentation effect.

Benefits of technology

It improves the accuracy and efficiency of pavement crack detection, can effectively identify cracks of different sizes, and reduces misidentification of repair traces through the classification module, thereby enhancing the reliability of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118485666B
    Figure CN118485666B
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence, specifically to a road crack detection method and system, which obtains a photographed road image, inputs the preprocessed road image into a dilated space convolutional pooling pyramid after passing through a backbone network to obtain a feature map output by each branch, uses channel attention to calculate the feature map output by a branch with an expansion rate greater than 1, and fuses the calculated result with the feature map output by the remaining branches to obtain a fusion result; obtains the weight of each channel in the channel attention, uses the fusion result and the feature map in the backbone network obtained according to the weight as the input of a decoder, and obtains a crack segmentation result through a decoder; obtains each crack according to the crack segmentation result, extracts the contour line of each crack, uses contour points to calculate the smoothness of the contour line and the standard deviation of the crack width, and classifies the cracks according to the smoothness and the standard deviation. The present invention effectively improves the recognition accuracy of road cracks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to a road surface crack detection method and system. Background Art

[0002] Pavement cracks can occur due to aging materials, temperature changes, moisture intrusion, uneven settlement of the foundation, and heavy traffic loads. When pavement materials lose their elasticity due to aging, or shrink and expand under the influence of temperature changes, cracks may occur in the pavement structure that fails to adapt to such changes. In addition, uneven settlement of the foundation or long-term accumulation of moisture in the roadbed can also damage the pavement structure and cause cracks. Traffic loads, especially repeated pressure from heavy vehicles, can also gradually damage the pavement and cause cracks to appear. The presence of cracks weakens the overall structural integrity of the pavement, making it more vulnerable to further damage, which in severe cases may lead to potholes or pavement disintegration, increasing the risk of traffic accidents. In addition, once cracks appear in the pavement, moisture and contaminants can easily penetrate into the roadbed, accelerating the destruction of the pavement structure, requiring more frequent and more expensive repairs.

[0003] In the past, the detection of road cracks mainly relied on manual methods, relying on direct observation of road conditions by human eyes. This method is simple, direct and easy to operate, but the accuracy and efficiency of visual inspection are low, and it is easily affected by the experience and fatigue of inspectors. It is also difficult to detect small cracks in the early stage or hidden problems under the road surface. With the development of artificial intelligence, especially computer vision, many road crack detection methods using computer vision have emerged, but when there are interferences such as repair marks, the detection error is large. Summary of the invention

[0004] In order to solve the above problems, the present invention provides a road crack detection method, which comprises the following steps:

[0005] Obtain the photographed road image, pass the preprocessed road image through the backbone network and input it into the dilated spatial convolutional pooling pyramid to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result;

[0006] Obtaining the weight of each channel in the channel attention, using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder, and obtaining the crack segmentation result through the decoder;

[0007] Each crack is obtained according to the crack segmentation result, the contour line of each crack is extracted, the smoothness of the contour line and the standard deviation of the crack width are calculated using the contour points, and the cracks are classified according to the smoothness and the standard deviation.

[0008] Preferably, the feature map of the branch output with a dilation rate greater than 1 is calculated by using channel attention, specifically:

[0009] Obtain feature maps output by branches with expansion rates greater than 1 in the spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature maps to obtain a feature vector;

[0010] Using the feature vector as the input of a first fully connected layer, using the output of the first fully connected layer as the input of a second fully connected layer, and using the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size;

[0011] The weight vector is multiplied by the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of the branch output with a dilation rate greater than 1.

[0012] Preferably, the step of using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder is specifically as follows:

[0013] The backbone network is pre-divided into multiple segments, and a corresponding relationship between the expansion rate and the segmentation is established, and the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid;

[0014] The maximum value of the weight is obtained from the weight vector, and the expansion rate of the branch whose expansion rate is greater than 1 corresponding to the maximum value is found, and the segmentation of the backbone network is determined according to the corresponding relationship, and the output of the segmentation and the fusion result are used as the input of the decoder.

[0015] Preferably, the smoothness of the contour line and the standard deviation of the crack width are calculated using the contour points, specifically:

[0016] Select multiple contour points from the contour line, determine the point on the contour line on the other side that is closest to the contour point, and calculate the distance between the two and the curvature of the contour point;

[0017] The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

[0018] Preferably, the cracks are classified according to the smoothness and the standard deviation, specifically:

[0019] If the smoothness is less than the first value and the standard deviation is greater than the second value, the crack is identified as the first category, otherwise it is identified as the second category.

[0020] In addition, the present invention also provides a road crack detection system, which includes the following modules:

[0021] The encoder module is used to obtain the photographed road image, input the preprocessed road image into the dilated spatial convolutional pooling pyramid after passing through the backbone network to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result;

[0022] A decoder module, used to obtain the weights of each channel in the channel attention, use the fusion result and the feature map in the backbone network obtained according to the weights as inputs of the decoder, and obtain the crack segmentation result through the decoder;

[0023] The classification module is used to obtain each crack according to the crack segmentation result, extract the contour line of each crack, calculate the smoothness of the contour line and the standard deviation of the crack width using the contour points, and classify the cracks according to the smoothness and the standard deviation.

[0024] Preferably, the feature map of the branch output with a dilation rate greater than 1 is calculated by using channel attention, specifically:

[0025] Obtain feature maps output by branches with expansion rates greater than 1 in the spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature maps to obtain a feature vector;

[0026] Using the feature vector as the input of a first fully connected layer, using the output of the first fully connected layer as the input of a second fully connected layer, and using the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size;

[0027] The weight vector is multiplied by the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of the branch output with a dilation rate greater than 1.

[0028] Preferably, the step of using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder is specifically as follows:

[0029] The backbone network is pre-divided into multiple segments, and a corresponding relationship between the expansion rate and the segmentation is established, and the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid;

[0030] The maximum value of the weight is obtained from the weight vector, and the expansion rate of the branch whose expansion rate is greater than 1 corresponding to the maximum value is found, and the segmentation of the backbone network is determined according to the corresponding relationship, and the output of the segmentation and the fusion result are used as the input of the decoder.

[0031] Preferably, the smoothness of the contour line and the standard deviation of the crack width are calculated using the contour points, specifically:

[0032] Select multiple contour points from the contour line, determine the point on the contour line on the other side that is closest to the contour point, and calculate the distance and curvature between the two;

[0033] The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

[0034] Preferably, the cracks are classified according to the smoothness and the standard deviation, specifically:

[0035] If the smoothness is less than the first value and the standard deviation is greater than the second value, the crack is identified as the first category, otherwise it is identified as the second category.

[0036] In addition, the present invention also provides a computer program product, which implements the above method when executed by a processor.

[0037] In view of the problems in the prior art that semantic segmentation has different effects on segmenting targets of different sizes and that repair traces can easily affect the final detection results in road crack detection, the present invention extracts features of different fields of view at different expansion rates in ASPP to perform channel attention calculation, and uses the entropy of the feature map as the eigenvalue of the feature map, and obtains the feature map in the backbone network according to the maximum channel weight value. The output of the encoder and the output of the backbone network segment corresponding to the maximum weight value are used as the input of the decoder. The attention mechanism focuses on different channels to improve the effect of crack semantic segmentation, and has better effects on both large and small cracks.

[0038] In addition, since the border of the repair mark is relatively smooth and the width is relatively consistent, while the border of the crack is relatively tortuous and the width varies greatly, the present invention further classifies the cracks by using the smoothness of the contour line of the segmented cracks and the standard deviation of the crack width. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a flow chart of Embodiment 1;

[0040] Figure 2 This is the structure diagram of ASPP;

[0041] Figure 3 Schematic diagram of the channel attention mechanism;

[0042] Figure 4 This is a structural diagram of the second embodiment. DETAILED DESCRIPTION

[0043] In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. In the present invention, if it involves the collection of personal privacy data, such as face, mobile phone usage information, etc., the individual's permission will be obtained in advance, including but not limited to verbal reminders, posters, mobile phone reminders, etc.; if it involves conflicts with laws and regulations, it will be produced or used within the scope permitted by laws and regulations.

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Embodiment 1, as Figure 1 As shown, the present invention provides a road crack detection method, the method comprising the following steps:

[0046] S1, obtain the photographed road image, input the preprocessed road image into the dilated spatial convolutional pooling pyramid after passing through the backbone network to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result;

[0047] Use a vehicle-mounted camera or a camera installed on the vehicle to take photos of the road. When taking photos, give priority to taking photos when the weather is good or the light is sufficient. This can improve the accuracy of recognition. After obtaining the captured image, the image is preprocessed. The preprocessing methods include but are not limited to denoising, scale transformation, edge enhancement, etc. After preprocessing, the image is input into the backbone network. The backbone network is used to extract features from the image. In one embodiment, the backbone network is Xception, ResNet, etc. After the backbone network extracts the features, it is input into the atrous spatial convolution pooling pyramid (ASPP). In the atrous spatial convolution pooling pyramid, several branches are used to extract features respectively. Figure 2 Figure 1 shows a typical ASPP structure, which includes five branches, that is, the input feature map is extracted through five paths. Among the five branches, three have a dilation rate greater than 1, such as Figure 2 As shown in the gray box in the middle, each branch will output the corresponding feature map. Of course, the number of branches in the dilated spatial convolutional pooling pyramid is not limited to 5, and branches with rate=24 can also be set.

[0048] Since the receptive field of the dilated convolution is larger, and the cracks are generally longer, different expansion factor rates correspond to different receptive fields. In order to be able to identify cracks of different lengths, the present invention uses channel attention to calculate the importance of feature maps in ASPP under different receptive fields. In a specific embodiment, the feature map output by the branch with an expansion rate greater than 1 is calculated by using channel attention, specifically:

[0049] Obtain feature maps output by branches with expansion rates greater than 1 in the spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature maps to obtain a feature vector;

[0050] The feature map output by each branch with a dilation rate greater than 1 in ASSP is obtained, and then the entropy of the feature map is calculated. The entropy reflects the complexity and texture characteristics of the feature map. When there are cracks, especially when there are a large number or very long cracks, the larger the entropy value, the entropy of the feature map is used as the eigenvalue of the feature map. The feature map output by each branch with a dilation rate greater than 1 corresponds to an entropy value, and the entropy values ​​are arranged in the order of the feature maps to obtain a feature vector.

[0051] Using the feature vector as the input of a first fully connected layer, using the output of the first fully connected layer as the input of a second fully connected layer, and using the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size;

[0052] Then the calculation method of the channel attention mechanism is adopted, such as Figure 3 As shown, the feature vector is input into two connected fully connected layers to obtain a weight vector. Since the parameters are continuously learned during training, the weights of channels with different expansion rates or dilation rates can be obtained through these trained parameters.

[0053] The weight vector is multiplied by the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of the branch output with a dilation rate greater than 1.

[0054] Multiply the weight vector and the corresponding feature map to obtain the feature map output by the branch with a dilation rate greater than 1.

[0055] S2, obtaining the weight of each channel in the channel attention, using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder, and obtaining the crack segmentation result through the decoder;

[0056] Different dilation rates, different receptive fields, and different extracted features, and the weights in the weight vector reflect the importance of different branches; for convolutional networks, the deeper the depth of the convolution, the larger the receptive field. Different weights actually reflect different crack lengths. If the length is larger, the receptive field also needs to be larger, so that an entire crack can be captured. Based on this, the present invention divides the backbone network into multiple segments, and the number of segments is the same as the number of branches with a dilation rate greater than 1 in ASPP, establishes a corresponding relationship between the two, determines the branch corresponding to the maximum value in the weight vector, and then determines the segmentation position of the backbone network corresponding to the branch, and then uses the feature map of the segment output and the fusion result as the input of the decoder, and obtains the crack segmentation result through the decoder. In a specific embodiment, the fusion result and the feature map in the backbone network obtained according to the weight are used as the input of the decoder, specifically:

[0057] The backbone network is pre-divided into multiple segments, and a corresponding relationship between the expansion rate and the segmentation is established, and the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid;

[0058] The maximum value of the weight is obtained from the weight vector, and the expansion rate of the branch whose expansion rate is greater than 1 corresponding to the maximum value is found, and the segmentation of the backbone network is determined according to the corresponding relationship, and the output of the segmentation and the fusion result are used as the input of the decoder.

[0059] In the above process, the sizes of feature maps output by different segments will be different, and scale transformation is required. The scale transformation methods include but are not limited to convolution, pooling, upsampling, etc.

[0060] S3, obtaining each crack according to the crack segmentation result, extracting the contour line of each crack, calculating the smoothness of the contour line and the standard deviation of the crack width using the contour points, and classifying the cracks according to the smoothness and the standard deviation.

[0061] In practice, it is found that when detecting cracks, it is easy to mistake the repair marks of the road as cracks, especially when the repair time is very long. In order to avoid misidentification, the present invention further extracts each crack from the segmented cracks, extracts the contour line for each crack, calculates the smoothness of the contour line and the standard deviation of the crack width using the contour points on the contour line, and then classifies the cracks. In a specific embodiment, the calculation of the smoothness of the contour line and the standard deviation of the crack width using the contour points is specifically:

[0062] Select multiple contour points from the contour line, determine the point on the contour line on the other side that is closest to the contour point, and calculate the distance between the two and the curvature of the contour point;

[0063] Select multiple contour points on the contour line. There are many ways to select them, such as selecting at equal intervals or setting a preset number of points, and then calculating the ratio of the length of the contour line and the number of points as the distance. In a more specific embodiment, since the crack is in the shape of a long strip, one side of the long side of the contour is selected as the basic contour line, and several contour points are selected from the basic contour line. After selecting the contour point, find the point on the contour line on the other side that is closest to the contour point, and calculate the distance and distance between the two respectively. Assuming that there is a contour point A on the basic contour line, and the contour point closest to point A and on the other side is B, calculate the distance between the two, as well as the curvature of point A.

[0064] The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

[0065] After obtaining the smoothness and the standard deviation, the cracks obtained by segmentation are further classified. In a specific embodiment, the cracks are classified according to the smoothness and the standard deviation, specifically:

[0066] If the smoothness is less than the first value and the standard deviation is greater than the second value, the crack is identified as the first category, otherwise it is identified as the second category.

[0067] If the smoothness is small and the standard deviation is large, the cracks are classified into the first category, otherwise they are classified into the second category. In a more specific embodiment, the first category is clear cracks, the second category is suspected cracks, and the cracks in the second category need to be further verified manually. The first value and the second value are from statistical data or adjusted according to the user's experience. During use, the first value and the second value can be adjusted to change the number of cracks classified into the second category.

[0068] Embodiment 2: The present invention also provides a road crack detection system, such as Figure 4 As shown, the system includes the following modules:

[0069] The encoder module is used to obtain the photographed road image, input the preprocessed road image into the dilated spatial convolutional pooling pyramid after passing through the backbone network to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result;

[0070] A decoder module, used to obtain the weights of each channel in the channel attention, use the fusion result and the feature map in the backbone network obtained according to the weights as inputs of the decoder, and obtain the crack segmentation result through the decoder;

[0071] The classification module is used to obtain each crack according to the crack segmentation result, extract the contour line of each crack, calculate the smoothness of the contour line and the standard deviation of the crack width using the contour points, and classify the cracks according to the smoothness and the standard deviation.

[0072] Preferably, the feature map of the branch output with a dilation rate greater than 1 is calculated by using channel attention, specifically:

[0073] Obtain feature maps output by branches with expansion rates greater than 1 in the spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature maps to obtain a feature vector;

[0074] Using the feature vector as the input of a first fully connected layer, using the output of the first fully connected layer as the input of a second fully connected layer, and using the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size;

[0075] The weight vector is multiplied by the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of the branch output with a dilation rate greater than 1.

[0076] Preferably, the step of using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder is specifically as follows:

[0077] The backbone network is pre-divided into multiple segments, and a corresponding relationship between the expansion rate and the segmentation is established, and the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid;

[0078] The maximum value of the weight is obtained from the weight vector, and the expansion rate of the branch whose expansion rate is greater than 1 corresponding to the maximum value is found, and the segmentation of the backbone network is determined according to the corresponding relationship, and the output of the segmentation and the fusion result are used as the input of the decoder.

[0079] Preferably, the smoothness of the contour line and the standard deviation of the crack width are calculated using the contour points, specifically:

[0080] Select multiple contour points from the contour line, determine the point on the contour line on the other side that is closest to the contour point, and calculate the distance between the two and the curvature of the contour point;

[0081] The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

[0082] Preferably, the cracks are classified according to the smoothness and the standard deviation, specifically:

[0083] If the smoothness is less than the first value and the standard deviation is greater than the second value, the crack is identified as the first category, otherwise it is identified as the second category.

[0084] Embodiment 3: The present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.

[0085] Through the description of the above implementation methods, technicians in this field can clearly understand that each implementation method can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it, and other embodiments may also be used. Although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A road crack detection method, characterized in that: The method comprises the following steps: Obtain the photographed road image, pass the preprocessed road image through the backbone network and input it into the dilated spatial convolutional pooling pyramid to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result; Obtaining the weight of each channel in the channel attention, using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder, and obtaining the crack segmentation result through the decoder; Obtaining each crack according to the crack segmentation result, extracting the contour line of each crack, calculating the smoothness of the contour line and the standard deviation of the crack width using the contour points, and classifying the cracks according to the smoothness and the standard deviation; The feature map of the branch output with a dilation rate greater than 1 is calculated by using channel attention, specifically: Obtain a feature map of a branch output with a dilation rate greater than 1 in a spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature map to obtain a feature vector; use the feature vector as the input of a first fully connected layer, and use the output of the first fully connected layer as the input of a second fully connected layer, and use the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size; multiply the weight vector and the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of a branch output with a dilation rate greater than 1; The step of using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder is specifically as follows: pre-dividing the backbone network into multiple segments, and establishing a corresponding relationship between the expansion rate and the segmentation, wherein the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid; obtaining the maximum value of the weight from the weight vector, and finding the expansion rate of the branch with an expansion rate greater than 1 corresponding to the maximum value, and determining the segmentation of the backbone network according to the corresponding relationship, and using the segmented output and the fusion result as the input of the decoder; The cracks are classified according to the smoothness and the standard deviation, specifically: if the smoothness is less than a first value and the standard deviation is greater than a second value, the crack is identified as a first category, otherwise it is identified as a second category; the first category is a clear crack, and the second category is a suspected crack.

2. The method according to claim 1, characterized in that The method of calculating the smoothness of the contour line and the standard deviation of the crack width using contour points is specifically: Selecting multiple contour points from the contour line, determining the point on the contour line on the other side that is closest to the contour point, and calculating the distance between the two and the curvature of the contour point; The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

3. A road crack detection system, characterized in that: The system includes the following modules: The encoder module is used to obtain the photographed road image, input the preprocessed road image into the dilated spatial convolutional pooling pyramid after passing through the backbone network to obtain the feature map of each branch output, use channel attention to calculate the feature map of the branch output with a dilation rate greater than 1, and fuse the calculated result with the feature map of the remaining branch output to obtain the fusion result; A decoder module, used to obtain the weights of each channel in the channel attention, use the fusion result and the feature map in the backbone network obtained according to the weights as inputs of the decoder, and obtain the crack segmentation result through the decoder; A classification module, used to obtain each crack according to the crack segmentation result, extract the contour line of each crack, calculate the smoothness of the contour line and the standard deviation of the crack width using the contour points, and classify the cracks according to the smoothness and the standard deviation; The feature map of the branch output with a dilation rate greater than 1 is calculated by using channel attention, specifically: Obtain a feature map of a branch output with a dilation rate greater than 1 in a spatial convolution pooling pyramid, calculate the entropy of each feature map, use the entropy as the eigenvalue corresponding to the feature map, and arrange the eigenvalues ​​in the order of the feature map to obtain a feature vector; use the feature vector as the input of the first fully connected layer, and use the output of the first fully connected layer as the input of the second fully connected layer, and use the output of the second fully connected layer as a weight vector; the weight vector and the feature vector have the same size; Multiplying the weight vector and the corresponding feature map in the spatial convolution pooling pyramid to obtain a feature map of the branch output with a dilation rate greater than 1; The method of using the fusion result and the feature map in the backbone network obtained according to the weight as the input of the decoder is specifically as follows: pre-dividing the backbone network into multiple segments, and establishing a corresponding relationship between the expansion rate and the segmentation, and the larger the expansion rate, the later the corresponding backbone network segmentation; wherein the number of segments is the same as the number of branches with an expansion rate greater than 1 in the spatial convolution pooling pyramid; obtaining the maximum value of the weight from the weight vector, and finding the expansion rate of the branch with an expansion rate greater than 1 corresponding to the maximum value, and determining the segmentation of the backbone network according to the corresponding relationship, and using the segmented output and the fusion result as the input of the decoder; The cracks are classified according to the smoothness and the standard deviation, specifically: if the smoothness is less than a first value and the standard deviation is greater than a second value, the crack is identified as a first category, otherwise it is identified as a second category; the first category is a clear crack, and the second category is a suspected crack.

4. The system according to claim 3, characterized in that The method of calculating the smoothness of the contour line and the standard deviation of the crack width using contour points is specifically: Selecting multiple contour points from the contour line, determining the point on the contour line on the other side that is closest to the contour point, and calculating the distance between the two and the curvature of the contour point; The standard deviation of the distances of all contour points is calculated as the standard deviation of the crack width, and the average of all curvatures is calculated as the smoothness.

5. A computer storage device having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 2.