Automatic road inspection method and system
Through target sensors, they collect and analyze road surface images, videos and three-dimensional laser data, identify and analyze defects and hidden dangers on the road, and generate inspection reports, solving the problems of inaccuracy and efficiency in the existing technology and improving road safety and operational efficiency.
Patent Information
- Application Number
- CN202411389472.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-10-08
AI Technical Summary
The existing road automation inspection technology has shortcomings in accuracy and efficiency, making it difficult to effectively identify and repair defects and potential hidden dangers on the road, affecting road safety and operational efficiency.
The target sensor collects road surface images, videos and three-dimensional laser data, conducts data analysis to identify initial abnormalities, collects relevant data in a targeted manner, conducts in-depth analysis to generate inspection reports, and ensures timely discovery and handling of problems.
It significantly improves the accuracy and efficiency of road patrols, improves the level of road management, enhances the safety and operation efficiency of roads, and provides scientific maintenance and repair decision support.
Smart Images

Figure CN118883576A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to an automated road inspection method and system. Background Art
[0002] Road inspection is a key link in maintaining road safety, ensuring its good condition and achieving efficient operation. This process covers a comprehensive inspection of the road surface, traffic signs, street lights, curbs, drainage systems and other infrastructure. The core goal of the inspection is to promptly identify and repair problems that may affect the safety of road use or the efficiency of operation, thereby preventing potential traffic accidents and reducing damage to road facilities. At present, road inspections can be carried out not only manually by professionals, but also by using advanced technical means such as automated equipment such as robots or drones. Automated inspection equipment can cover a wider area, improve inspection efficiency, and reduce errors caused by human operation. However, the accuracy and efficiency of existing automation technologies in road inspections still face certain challenges. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a method and system for automated road inspection, aiming to solve the problems of low accuracy and efficiency faced by current technologies in road inspection.
[0004] In a first aspect, an embodiment of the present invention provides a method for automated road inspection, comprising:
[0005] Obtaining a first road surface image, a first road surface video, and first road surface three-dimensional laser data corresponding to the target road at a first moment collected by the target sensor;
[0006] Performing data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road;
[0007] Obtaining a target area corresponding to the initial anomaly from the target road, and collecting a second road surface image, a second road surface video, and second road surface three-dimensional laser data corresponding to the target area at a second moment according to the target sensor;
[0008] The target road is analyzed for road defects and potential road hazards based on the second road surface image, the second road surface video, and the second road surface three-dimensional laser data to obtain a target inspection report corresponding to the target road.
[0009] In a second aspect, an embodiment of the present invention provides an automated road inspection system, comprising:
[0010] A data acquisition module, used to obtain a first road surface image, a first road surface video and first road surface three-dimensional laser data corresponding to the target road at a first moment acquired by the target sensor;
[0011] an anomaly recognition module, configured to perform data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road;
[0012] An area acquisition module, used for obtaining a target area corresponding to the initial anomaly from the target road, and acquiring a second road surface image, a second road surface video and a second road surface three-dimensional laser data corresponding to the target area at a second moment according to the target sensor;
[0013] A road analysis module is used to analyze the road defects and potential road hazards of the target road based on the second road surface image, the second road surface video and the second road surface three-dimensional laser data, and obtain a target inspection report corresponding to the target road.
[0014] The embodiment of the present invention provides a method and system for automated road inspection, which includes: collecting a first road surface image, a first road surface video and a first road surface three-dimensional laser data of a target road at a first moment through a target sensor, which can provide a rich information basis for subsequent analysis. The collection of these data not only lays the foundation for the preliminary evaluation of the road state, but also provides the possibility for accurately identifying the initial abnormality of the road surface. Next, the first road surface image, the first video and the first road surface three-dimensional laser data are deeply analyzed, and the initial abnormality of the road surface can be effectively found, thereby identifying the target area. By locating the target area from the initial abnormality, the second road surface image, the second road surface video and the second road surface three-dimensional laser data related thereto can be collected in a targeted manner at a second moment. This targeted collection ensures continuous tracking and precise positioning of the target area, so that the evolution process and severity of the problem can be accurately evaluated. The second road surface image, the second road surface video and the second road surface three-dimensional laser data are further used to conduct an in-depth analysis of road defects and potential hidden dangers to obtain road defects and road hidden dangers of the target road, thereby generating a detailed target inspection report. The target inspection report comprehensively summarizes the defects and potential hazards found, providing a scientific basis and decision-making support for subsequent road maintenance and repair work. The above method can significantly improve the accuracy and efficiency of road inspections, ensuring that problems are discovered and handled in a timely manner. This not only improves the management level of roads, but also greatly enhances the safety and operation efficiency of roads. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 A schematic diagram of a process flow of an automated road inspection method provided by an embodiment of the present invention;
[0017] Figure 2 A schematic diagram of the module structure of an automated road inspection system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0019] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0020] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0021] The embodiment of the present invention provides a method and system for automated road inspection. The method can be applied to a terminal device, which can be an electronic device such as a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The terminal device can be a server or a server cluster.
[0022] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0023] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of an automated road inspection method provided by an embodiment of the present invention.
[0024] like Figure 1 As shown, the automatic road inspection method includes steps S101 to S104.
[0025] Step S101: obtaining a first road surface image, a first road surface video, and first road surface three-dimensional laser data corresponding to a target road at a first moment collected by a target sensor.
[0026] Exemplarily, the target sensor includes a high-resolution camera, a laser scanner or a structured light sensor. The selected target sensor is installed at a suitable location, such as an unmanned vehicle or a road inspection drone, to ensure that the target sensor can operate stably and accurately aim at the target road. Then, a high-resolution camera is used to capture the first road surface image and the first road surface video corresponding to the target road. At the same time, a laser scanner or a structured light sensor is used to obtain the three-dimensional laser data of the first road surface corresponding to the target road.
[0027] Step S102: performing data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road.
[0028] Exemplarily, a grayscale co-occurrence matrix is constructed for the first road surface image, and texture features are extracted by calculating the frequency of occurrence of pixel pairs of different grayscale levels in the first road surface image. Then, the local texture features of the first road surface image are extracted using the local binary pattern method to capture small changes in the first road surface image. A normal road image is determined, and significant texture changes are identified by comparing the texture features in the normal road image and the first road surface image. These texture changes may indicate wear, cracks or other damage to the surface of the target road. Thus, the first abnormal information corresponding to the target road in the first road surface image is determined based on the identification of significant texture changes.
[0029] Exemplarily, the motion pattern in the first road surface video is analyzed to identify potential anomalies caused by vehicle travel or environmental changes. The differences between consecutive frames in the first road surface video are compared to detect possible dynamic anomalies, such as object peeling, vehicle speeding, or abnormal vehicle speed. Thus, the second abnormality information corresponding to the target road in the first road surface video is determined based on the detected dynamic anomaly.
[0030] Exemplarily, a 3D model of the target road surface is constructed based on the first road surface 3D laser data, and compared with the expected road model, to detect areas with large deviations from the normal state, and to identify abnormal geometric shapes, such as depressions, ridges, etc. Thus, the third abnormal information corresponding to the first road surface 3D laser data of the target road is determined based on the detected abnormal geometric shapes.
[0031] Exemplarily, first abnormal information corresponding to the first road surface image, second abnormal information corresponding to the first road surface video, and third abnormal information corresponding to the first road surface three-dimensional laser data are abnormally merged to obtain an initial abnormality corresponding to the target road.
[0032] In some embodiments, the data analysis of the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain the initial abnormality corresponding to the target road includes: performing edge detection on the first road surface image to obtain the corresponding road edge image, and performing abnormal edge recognition on the road edge image to obtain first abnormality information corresponding to the first road surface image; performing key frame extraction on the first road surface video to obtain the corresponding target frame, and performing fixed target recognition on the target frame to obtain second abnormality information corresponding to the first road surface video; performing target segmentation on the first road surface three-dimensional laser data to obtain the corresponding target segmentation result, and determining the third abnormality information corresponding to the first road surface three-dimensional laser data based on the target segmentation result; and fusing the first abnormality information, the second abnormality information, and the third abnormality information to obtain the initial abnormality corresponding to the target road.
[0033] Exemplarily, a filter (such as a Gaussian filter) is used to denoise the first road surface image to reduce the impact of noise on edge detection, and the visibility of the first road surface image is improved through histogram equalization or adaptive contrast enhancement technology to make the edge more obvious. Then, a suitable edge detection technology such as the Canny algorithm, the Sobel operator or the Laplacian operator is used to calculate the gradient of the first road surface image, identify the area with significant grayscale changes in the image, and then obtain a clear road edge image through non-maximum suppression and double threshold processing, and identify possible abnormalities such as cracks and potholes.
[0034] Exemplarily, the characteristics of abnormal edges, such as edge length, curvature, and degree of change, are set based on historical data and professional knowledge, so that by analyzing the road edge map, edges that meet the abnormal standards are identified, and the position information, length information, shape information, etc. corresponding to the abnormal edges are recorded as the first abnormal information.
[0035] Exemplarily, key frames are extracted from the first road surface video, and key frames are extracted by calculating the similarity of adjacent frames or the changes of feature points. These frames usually contain important change information. It is ensured that the selected key frames can represent the important changes and states in the first road surface video.
[0036] Exemplarily, target detection algorithms such as YOLO, Faster R-CNN, etc. are applied to identify fixed targets such as traffic signs, vehicles, pedestrians, etc. in the extracted key frames. By analyzing the recognition results, it is determined whether there is an abnormal state of the fixed target, such as position offset, damage, etc., so that the abnormal state and position information corresponding to the fixed target are used as the second abnormal information.
[0037] Exemplarily, the acquired first road surface three-dimensional laser data is denoised and filtered to remove irrelevant or noise points to improve the analysis accuracy. A clustering algorithm such as K-means or DBSCAN or a segmentation model based on deep learning is used to segment the first road surface three-dimensional laser data to identify various characteristic areas of the road surface. Thus, normal and abnormal areas are distinguished based on the geometric features of the target (such as shape, size, density, etc.). By evaluating the segmentation results, areas that do not meet normal standards (such as significant depressions, ridges, etc.) are identified, and areas that do not meet normal standards (such as significant depressions, ridges, etc.) in the first road surface three-dimensional laser data are recorded as third abnormal information.
[0038] Exemplarily, the first abnormal information, the second abnormal information, and the third abnormal information are summarized and the correlation between abnormal information from different sources is analyzed, for example, whether the cracks identified in the edge detection are related to the fixed target abnormality appearing in the video. Thus, a comprehensive evaluation is performed on the fused abnormal information to determine its impact on the safety of the target road and its potential risks, and then the initial abnormality corresponding to the target road is obtained.
[0039] Specifically, by combining the analysis of the first road surface image, the first road surface video, and the first road surface 3D laser data, the road condition can be comprehensively evaluated from different angles and dimensions, reducing the errors and blind spots caused by a single data source, thereby providing good support for the subsequent analysis of road defects and potential road hazards of the target road.
[0040] In some embodiments, the edge detection of the first road surface image to obtain the corresponding road edge image, and the abnormal edge identification of the road edge image to obtain the first abnormal information corresponding to the first road surface image, include: determining a horizontal gradient template and a vertical gradient template, performing horizontal gradient calculation based on the horizontal gradient template and the first road surface image to obtain a first gradient image, and performing vertical gradient calculation based on the vertical gradient template and the first road surface image to obtain a second gradient image; fusing the first gradient image and the second gradient image to determine a third gradient image corresponding to the first road surface image; performing gradient clustering on the third gradient image to obtain a target clustering result, and determining a gradient segmentation threshold based on the target clustering result; performing edge processing on the third gradient image based on the gradient segmentation threshold to obtain the road edge image; performing edge segmentation based on the pixel connection relationship in the road edge image to obtain multiple edge images; fitting the multiple edge images respectively to obtain multiple fitting results, and classifying the fitting results to obtain initial classification results corresponding to the edge images; and determining the first abnormal information corresponding to the first road surface image based on the initial classification result.
[0041] Exemplarily, the horizontal gradient template is used to capture the gradient change in the horizontal direction in the first road surface image, and is used to detect the strength and direction of the horizontal edge in the first road surface image. The vertical gradient template is used to detect the gradient change in the vertical direction in the first road surface image, and is used to detect the strength and direction of the vertical edge in the first road surface image.
[0042] Exemplarily, a horizontal gradient template is applied to a first road surface image and a convolution operation is performed to obtain a first gradient image. The first gradient image shows the intensity change in the horizontal direction in the first road surface image. A vertical gradient template is applied to the first road surface image and a convolution operation is also performed to obtain a second gradient image. The second gradient image shows the change information in the vertical direction in the first road surface image.
[0043] Exemplarily, a gradient amplitude calculation formula, such as the square root method, is usually used to fuse the first gradient image and the second gradient image to obtain a third gradient image. The third gradient image integrates the horizontal gradient information and the vertical gradient information in the first road surface image to provide a global edge intensity map.
[0044] Exemplarily, a clustering algorithm such as K-means, Mean-shift, etc. is applied to analyze the third gradient image to identify different gradient intensity regions. Clustering can help determine different edge intensity categories in the first road surface image. Thus, the third gradient image is subjected to gradient clustering according to a clustering algorithm such as K-means, Mean-shift, etc. to obtain a target clustering result.
[0045] Exemplarily, an appropriate threshold is selected based on the target clustering result to divide the area in the third gradient image into an "edge" or "non-edge" area. Thus, the intensity values in the third gradient image are binarized using the determined gradient segmentation threshold, thereby extracting significant edges. This process generates a road edge image, which contains potential abnormal areas.
[0046] For example, the connection between adjacent pixels in the road edge image is analyzed, and multiple edge images are segmented based on the connection relationship of the pixels. A fitting algorithm (such as linear fitting, curve fitting) is applied to each edge image to obtain the geometric features and shape information of the edge image. The fitting results are classified to distinguish different types of edge features (such as straight lines, curves, etc.). The initial classification result corresponding to the edge image is determined based on the fitting results of the edge image.
[0047] Exemplarily, it is determined whether the initial classification result meets the predefined abnormality standard (such as irregular shape, abnormal length, etc.), thereby combining the initial classification results of each edge image to determine the first abnormality information corresponding to the first road surface image, such as possible cracks, potholes or other damages.
[0048] In some embodiments, determining the first abnormality information corresponding to the first road surface image based on the initial classification result includes: determining a preset type, and filtering the initial classification result according to the preset type to obtain a target classification result; clustering the position information corresponding to the road edge image according to the target classification result to obtain an initial clustering result; combining each cluster in the initial clustering result according to the edge image to obtain a corresponding target image; and using an abnormality classification model to identify abnormalities in the target image to obtain the first abnormality information corresponding to the first road surface image.
[0049] Exemplarily, determining the preset type may include geometric shapes, size ranges, and position requirements, etc. The geometric shapes include straight lines or curves, the size ranges include spanning the entire image, and the position requirements include both sides of a road or the middle of a road.
[0050] Exemplarily, the initial classification results are screened according to a preset type to obtain a target classification result. For example, the preset type is a straight line corresponding to the two sides of the image or the middle of the image, and then when a sub-classification result in the initial classification result meets the preset type, the sub-classification result is removed from the initial classification result to obtain the target classification result.
[0051] Exemplarily, an edge image corresponding to the target classification result is obtained, and then the position information corresponding to the edge image in the road edge image is obtained, and then the distance information corresponding to any two target classification results is calculated according to the position information, and then the target classification results are clustered according to the distance information to obtain the initial clustering result; then the edge images corresponding to the target classification results involved in each cluster in the initial clustering result are combined and processed to generate the corresponding target image. The target image shows an integrated view of the clustering area, which is helpful for further analysis.
[0052] For example, when performing anomaly detection on a road surface image, there may be a situation where multiple closed curves are included in the target classification result. Analyzing a closed curve alone may not be sufficient to accurately determine the anomaly type of the target road, because a single closed curve may only represent a portion of the anomaly, rather than a complete view of the entire anomaly. For example, a closed curve may only represent a portion of a crack, while other closed curves may represent another portion of the crack or related anomaly features. In order to accurately determine the anomaly type of the target road, it is first necessary to consider clustering multiple target classification results when the distance information is close. This clustering analysis allows the identification and combination of closed curves that are close to each other and may belong to the same anomaly area. By combining these closed curves together, a target image can be obtained, which contains multiple parts that constitute the same anomaly area. Doing so can provide a more comprehensive understanding of the features of the anomaly, such as the width, length, depth of the crack, and their relationship. The target image thus provides richer feature information, making the identification of anomalies more accurate. For example, if there is a group of closed curves that are close to each other and have similar shapes, then it can be considered that these closed curves together constitute a crack area. By combining these curves, a complete crack image can be obtained, which can accurately evaluate the characteristics of cracks, thus helping to reduce the risk of false positives and false negatives and improve the overall performance of road surface anomaly detection.
[0053] Exemplarily, the anomaly classification model is trained using the labeled anomaly sample data. The model can be based on a machine learning algorithm (such as a support vector machine, a convolutional neural network, etc.) and can identify different types of anomalies. The generated target image is input into the anomaly classification model for prediction to identify the anomaly type corresponding to the target image. Thus, the anomaly type corresponding to the target image and the position information of the target image in the first road surface image are determined as the first anomaly information.
[0054] In some embodiments, the key frame extraction of the first road surface video to obtain the corresponding target frame includes: performing video decomposition on the first road surface video to obtain the corresponding video frame image; performing pixel distance calculation on any two sub-images in the video frame image to obtain the corresponding image similarity; performing image clustering on the video frame image according to the image similarity to obtain the image clustering result corresponding to the video frame image; performing color information calculation on each image in each cluster result in the image clustering result to obtain the first image information and performing information amount calculation on each image in each cluster result in the image clustering result to obtain the second image information; fusing the first image information and the second image information to determine the target image information corresponding to each image in each cluster result in the image clustering result; obtaining the average image information corresponding to each cluster result in the image clustering result according to the target image information; obtaining the key image corresponding to each cluster result in the image clustering result according to the target image information and the average image information, and obtaining the target frame corresponding to the first road surface video according to the key image; wherein the key image is obtained according to the following formula:
[0055]
[0056] ;
[0057] ;
[0058] ;
[0059] ;
[0060] ;
[0061] Among them, K represents The number of frames corresponding to the key image corresponding to the minimum; represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, represents the average image information corresponding to each clustering result in the image clustering results, M represents the number of rows corresponding to each image in each clustering result in the image clustering results, and N represents the number of columns corresponding to each image in each clustering result in the image clustering results. represents the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column, represents the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result, Indicates that the pixel value in each image in each clustering result of the image clustering result is The frequency information corresponding to the image clustering result is shown in FIG. 1 ; D represents the number of images corresponding to each clustering result in the image clustering result. represents the i-th first image information, represents the i-th second image information.
[0062] Exemplarily, the first road surface video is decomposed frame by frame, and each frame is extracted as image data. Each video frame image represents the road surface condition of the video at a specific time point. Any two sub-images are selected in each video frame image, and the pixel distance or difference between the two sub-images is calculated using the mean square error (MSE) and the structural similarity index (SSIM) to measure the similarity between the two sub-images. Then, the video frame images are clustered using K-means according to the calculated image similarity, and the sub-images with high similarity are classified into the same category, thereby obtaining image clustering results, in which each clustering result contains a set of images with similar visual features.
[0063] Exemplarily, for each image in each clustering result in the image clustering result, a color histogram, average color value or other color features can be extracted to perform color information calculation to capture the color characteristics of the image, and obtain the first image information corresponding to each image in each clustering result in the image clustering result.
[0064] Exemplarily, the entropy value of each image in each clustering result in the image clustering result is calculated to evaluate the complexity and content richness of the image, thereby obtaining the second image information corresponding to each image in each clustering result in the image clustering result. The first image information and the second image information are obtained by the following formula:
[0065] ;
[0066] ;
[0067] Where M represents the number of rows corresponding to each image in each clustering result in the image clustering result, and N represents the number of columns corresponding to each image in each clustering result in the image clustering result. Indicates the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column. Indicates the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result. Indicates that the pixel value of each image in each clustering result is The corresponding frequency information; represents the i-th first image information, represents the i-th second image information.
[0068] Exemplarily, the first image information and the second image information of each image in each clustering result in the image clustering result are weightedly summed to determine the target image information corresponding to each image in each clustering result in the image clustering result, wherein the target image information is obtained according to the following formula:
[0069]
[0070] ;
[0071] ;
[0072] ;
[0073] ;
[0074] in, represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, M represents the number of rows corresponding to each image in each clustering result in the image clustering result, N represents the number of columns corresponding to each image in each clustering result in the image clustering result, Indicates the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column. Indicates the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result. Indicates that the pixel value of each image in each clustering result is The corresponding frequency information; represents the i-th first image information, represents the i-th second image information, Represents the target image information corresponding to the i-th image in each clustering result of the image clustering result.
[0075] It should be noted that in the present application, in order to ensure that the quantitative difference between the first image information and the second image information can be balanced when setting the first weight and the second weight, the weight setting is adjusted so that the influence of the first image information and the second image information is reasonably balanced in the final calculation. This balancing strategy can effectively solve the imbalance problem caused by the difference in the amount of information of different types, thereby improving the accuracy and effectiveness of key image selection. By balancing the quantitative difference between the first image information and the second image information, the method in the present application can effectively adjust the weight setting so that the influence of the two types of information in the final calculation is reasonably balanced. This balancing strategy not only optimizes the key image selection process, but also improves the accuracy and reliability of the overall data analysis.
[0076] Exemplarily, the target image information corresponding to all images in each clustering result in the image clustering result is averaged to generate the average image information of each clustering result. The average image information represents the comprehensive features of the clustering result, wherein the average image information is obtained according to the following formula:
[0077] ;
[0078] in, represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, represents the average image information corresponding to each clustering result in the image clustering result; D represents the number of images corresponding to each clustering result in the image clustering result, represents the i-th first image information, represents the i-th second image information.
[0079] Exemplarily, according to the target image information and average image information of each image in each clustering result, the image closest to the average image information is selected as the key image. The key image is the image that best represents the clustering feature. Thus, according to the key image corresponding to each clustering result in the image clustering result, all the key images are arranged according to the time sequence in the first road surface video to obtain the target frame corresponding to the first road surface video. Among them, the key image is obtained according to the following formula:
[0080]
[0081] ;
[0082] ;
[0083] ;
[0084] ;
[0085] ;
[0086] Among them, K represents The number of frames corresponding to the key image when it is minimum; represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, represents the average image information corresponding to each clustering result in the image clustering result, M represents the number of rows corresponding to each image in each clustering result in the image clustering result, and N represents the number of columns corresponding to each image in each clustering result in the image clustering result. Indicates the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column. Indicates the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result. Indicates that the pixel value of each image in each clustering result is The frequency information corresponding to the clustering result; D represents the number of images corresponding to each clustering result in the image clustering result. represents the i-th first image information, represents the i-th second image information.
[0087] Specifically, by fusing color information and information volume, more comprehensive target image information can be obtained. This comprehensive analysis method can improve the understanding of image features, making the detection results more accurate and reliable. The fused information can better capture the key features in the video frame image, thereby improving the recognition accuracy of the target frame.
[0088] In some embodiments, fixed target identification is performed on the target frame to obtain the second abnormality information corresponding to the first road surface video, including: performing image difference calculation on any two of the target frames to obtain a target difference result; determining the stationary target information corresponding to the target frame based on the target difference result; performing road identification on the target frame to obtain a target road area corresponding to the target frame; obtaining target area information corresponding to the stationary target information in the target frame, and performing abnormality identification based on the target road area and the target area information to obtain the second abnormality information corresponding to the first road surface video.
[0089] Exemplarily, a difference calculation is performed for each pixel of the two target frames. The change between the two image frames is quantified by calculating the absolute difference or square difference of the pixel values. These difference values will be used to generate a target difference result to quantify the degree of change in the image. The target difference result can show the change of each pixel in the two target frames, thereby revealing the existence of stationary target information. Stationary target information is usually manifested as areas with little or no change in the difference image, and these areas can be marked as stationary target information.
[0090] Exemplarily, when performing image processing of the target frame, in order to improve the accuracy of subsequent road recognition, the image needs to be enhanced. These processing steps include denoising, color correction, and contrast enhancement. These preprocessing measures help reduce image noise and improve image quality, thereby more clearly extracting road features in the target frame. After image enhancement, road features can be extracted, including edges, textures, and colors. The enhanced image is then used to identify road areas based on machine learning technology or traditional computer vision technology. Machine learning models can identify road features through training, while traditional computer vision methods may include edge detection, region segmentation, and other technologies. Through these technologies, the road area can be effectively separated from the image to obtain the target road area in the target frame.
[0091] For example, after obtaining the target road area, the target area information corresponding to the stationary target information needs to be compared with the target road area information. By comparing the overlap between the target area information corresponding to the stationary target information and the target road area, it can be determined whether the stationary target is completely or partially located in the target road area.
[0092] Exemplarily, when the object type corresponding to the stationary target information is a vehicle or other abnormal object, it is confirmed whether the stationary target information is in the target road area according to the coincidence information. If the stationary target information is in the target road area, the second abnormal information in the first road surface video can be further obtained according to the stationary target information and the target area information corresponding to the stationary target information. The second abnormal information indicates that an abnormal object (such as a vehicle or other problem) is found in the target road area, thereby providing key information for road maintenance and management.
[0093] Specifically, the stationary target information is extracted and analyzed from the target frame, image enhancement and road recognition are performed, and finally the target area information corresponding to the stationary target information is compared with the target road area. This can effectively identify abnormal conditions in the target road and provide reliable second abnormality information through precise analysis.
[0094] In some embodiments, the target segmentation of the first road surface three-dimensional laser data is performed to obtain a corresponding target segmentation result, and the third abnormal information corresponding to the first road surface three-dimensional laser data is determined based on the target segmentation result, including: performing object recognition on the first road surface three-dimensional laser data using a target recognition model to obtain a corresponding target recognition result; performing data segmentation on the first road surface three-dimensional laser data based on the target recognition result to obtain the corresponding target segmentation result; determining the association relationship between any two targets in the target segmentation result based on the first road surface three-dimensional laser data; and determining the third abnormal information corresponding to the first road surface three-dimensional laser data based on the association relationship.
[0095] Exemplarily, the first road surface three-dimensional laser data is converted into a format suitable for input to the target recognition model. This generally includes converting the three-dimensional point cloud data or the three-dimensional model into image data, or maintaining the original format of the three-dimensional laser data for processing by the three-dimensional target recognition model. Use a trained deep learning model, such as a three-dimensional target recognition model based on a convolutional neural network, or use other models specifically for three-dimensional laser data, such as a point cloud classification model to detect and identify objects in the input data, and output the category and location information of each detected object. The target recognition result will include the category label, location coordinates and other relevant attributes of each object.
[0096] Exemplarily, the three-dimensional laser data is segmented using the position information and category label of each object in the target recognition result. This means that points or regions belonging to the same object in the three-dimensional laser data are divided into a separate part. This ensures that the segmentation result accurately reflects the boundaries and internal structures of each object. For each segmented area, its corresponding object information and position in three-dimensional space are recorded.
[0097] Exemplarily, according to the target segmentation result, the static relationship, moving relationship, and adjacent relationship between any two targets in the first road surface three-dimensional laser data are analyzed. The static relationship means that the two targets do not move relative to each other during the observation period and keep the relative position unchanged. The moving relationship means that there is relative movement between the two targets and their relative positions change over time. The adjacent relationship means that the two targets are adjacent or touching in space, but may have a static or moving relative relationship.
[0098] Exemplarily, a one-to-one correspondence is made between the target segmentation results at different times in the first road surface three-dimensional laser data, so that the corresponding association relationship between any two targets is determined according to the position information of the target segmentation results at different times.
[0099] For example, if the target segmentation result is a vehicle and a road, if the position of the vehicle on the road does not change and the relative position between the vehicle and the road remains stable, it is considered that there is a stationary relationship between the vehicle and the road; if the vehicle moves on the road or the position of the vehicle changes relative to the road, it is considered that there is a moving relationship between the vehicle and the road. If the target segmentation result is a road and debris, if the relative position between the road and the debris does not change, even if the debris may be stationary, it can be determined that there is a stationary relationship between the two; if the road and the debris are close to each other in space, but the relative position of the road and the debris changes, then there is an adjacent relationship between the road and the debris.
[0100] Exemplarily, the third abnormal information is determined according to the target types of the two targets corresponding to the association relationship and the association relationship. For example, if the relationship between the vehicle and the road is determined to be a static relationship, this usually means that the vehicle is parked on the road and no displacement occurs. This static relationship may indicate that the vehicle has a problem of staying for a long time. If the relationship between the road and the debris is determined to be a static relationship, it means that the relative position of the road and the debris has not changed. This may indicate that the debris has a problem of occupying the road for a long time, or that the debris is a fixed obstacle on the road. Thus, by analyzing the static relationship or mobile relationship of any two targets in the target segmentation result in the three-dimensional laser data of the first road surface, the abnormal situation can be effectively judged. The static relationship usually refers to the unchanged relative position between the targets, while the mobile relationship refers to the relative displacement between the targets. When the relationship between the vehicle and the road or the relationship between the road and the debris is determined to be static, the third abnormal information can be further confirmed. This analysis helps to discover potential problems on the road in a timely manner and provide a basis for subsequent processing.
[0101] Step S103, obtaining a target area corresponding to the initial anomaly from the target road, and collecting a second road surface image, a second road surface video, and second road surface three-dimensional laser data corresponding to the target area at a second moment according to the target sensor.
[0102] For example, the target area corresponding to each anomaly in the initial anomaly is obtained from the target road, and then
[0103] Use a high-resolution camera to take a static image of the target area to ensure that the detailed features of the area are captured to obtain a second road surface image. Use a video camera to dynamically record the target area to obtain detailed information about its changes over time. This helps to observe the dynamic behavior or changes in the abnormal area, thereby collecting a second road surface video. Use a laser scanner or a 3D camera to obtain 3D laser data of the target area. These 3D laser data provide detailed depth information of the road surface, which helps to more fully understand the geometric features of the abnormality, thereby collecting the second road surface 3D laser data.
[0104] Step S104: analyzing the road defects and potential road hazards of the target road according to the second road surface image, the second road surface video, and the second road surface three-dimensional laser data, and obtaining a target inspection report corresponding to the target road.
[0105] Exemplarily, image processing technology is used to identify static defects corresponding to the second road surface image, such as cracks, potholes, fallen road signs, etc. The texture, color changes and edge features in the image are analyzed, and the detected defects are classified (such as cracks, potholes) and marked on the second road surface image to obtain fourth abnormal information corresponding to the target road.
[0106] Exemplarily, dynamic changes occurring in the second road surface video are analyzed to identify defects occurring during the use of the target road, such as the impact of vehicles on potholes and damage, and target image frames are determined to characterize the corresponding defects to obtain fifth abnormality information corresponding to the target road.
[0107] Exemplarily, the geometric features of the three-dimensional laser data of the second road surface are analyzed by three-dimensional reconstruction technology to identify depressions, protrusions, etc., to identify irregular shapes and potential structural problems, and to obtain the sixth abnormality information corresponding to the target road.
[0108] Exemplarily, the fourth abnormal information, the fifth abnormal information and the sixth abnormal information are combined, and the defects in the second road surface image and the damage in the second road surface video are compared to evaluate the severity and change trend of the defects. The geometric abnormalities in the second road surface three-dimensional laser data are compared with the defects in the second road surface image and the second road surface video to identify possible structural hazards. Based on the identified defects and hidden dangers, the potential risk to the safety of the target road is evaluated, taking into account factors including the size, location, severity and impact of the defects on traffic.
[0109] Exemplarily, through the above-mentioned comprehensive analysis of the second road surface image, the second road surface video and the second road surface three-dimensional laser data, the defects and potential hidden dangers of the target road can be fully understood, and then the corresponding target inspection report can be generated based on the above analysis. The target inspection report will record the road conditions in detail, provide repair suggestions, and provide decision support for road maintenance and safety management.
[0110] In some embodiments, the analyzing of road defects and potential road hazards of the target road based on the second road surface image, the second road surface video, and the second road surface three-dimensional laser data to obtain a target inspection report corresponding to the target road includes: identifying abnormal edges on the second road surface image to obtain fourth abnormal information corresponding to the second road surface image; identifying fixed targets on the second road surface video to obtain fifth abnormal information corresponding to the second road surface video; identifying moving targets on the second road surface three-dimensional laser data to obtain sixth abnormal information corresponding to the second road surface three-dimensional laser data; analyzing road defects and potential road hazards of the target road based on the fourth abnormal information, the fifth abnormal information, and the sixth abnormal information to obtain the target inspection report corresponding to the target road.
[0111] Exemplarily, a grayscale co-occurrence matrix is constructed for the second road surface image, and texture features are extracted by calculating the occurrence frequency of pixel pairs of different grayscale levels in the second road surface image. Then, the local texture features of the second road surface image are extracted using the local binary pattern method to capture small changes in the second road surface image. A normal road image is determined, and significant texture changes are identified by comparing the texture features in the normal road image and the second road surface image. These texture changes may indicate wear, cracks or other damage to the surface of the target road. Thus, the fourth abnormal information corresponding to the target road in the second road surface image is determined based on the identification of significant texture changes.
[0112] Exemplarily, the motion pattern in the second road surface video is analyzed to identify potential anomalies caused by vehicle travel or environmental changes. Differences between consecutive frames in the second road surface video are compared to detect possible dynamic anomalies, such as object peeling, vehicle speeding, or abnormal vehicle speed. Thus, fifth anomaly information corresponding to the target road in the second road surface video is determined based on the detected dynamic anomaly.
[0113] Exemplarily, a 3D model of the target road surface is constructed based on the 3D laser data of the second road surface, and compared with the expected road model, to detect areas with large deviations from the normal state, and to identify abnormal geometric shapes, such as depressions, ridges, etc. Thus, the sixth abnormal information corresponding to the 3D laser data of the target road surface on the second road surface is determined based on the detected abnormal geometric shapes.
[0114] Exemplarily, the abnormal information extracted from the second road surface image, the second road surface video and the second road surface 3D laser data is integrated to comprehensively analyze road defects and potential hazards. The fourth abnormal information extracted from the second road surface image includes cracks, potholes, fallen markings, etc. The fifth abnormal information extracted from the second road surface video includes dynamically changing defects, such as the impact of vehicles on potholes, damage to the road during use, etc. The sixth abnormal information extracted from the second road surface 3D laser data includes irregular shapes, subsidence areas or protrusions on the road surface, etc.
[0115] Exemplarily, by analyzing the fourth abnormal information in the second road surface image, static defects such as cracks and potholes are identified. Image processing technology is used to mark and classify the abnormalities. By analyzing the fifth abnormal information in the second road surface video, dynamic defects such as damage that occurs during road use or damage caused by vehicles are identified. Video frame extraction and dynamic analysis technology are used to capture changes in abnormalities. By analyzing the sixth abnormal information in the second road surface three-dimensional laser data, geometric irregularities of the road surface, such as depressions, protrusions and other surface defects, are identified. The surface condition of the road is evaluated using three-dimensional modeling and point cloud analysis technology.
[0116] Exemplarily, the fourth abnormal information, the fifth abnormal information and the sixth abnormal information are summarized so as to fully understand the defects and potential hidden dangers of the target road, and then generate a corresponding target inspection report based on the above analysis. The target inspection report will record the road conditions in detail, provide repair suggestions, and provide decision support for road maintenance and safety management.
[0117] In some embodiments, after obtaining the target inspection report corresponding to the target road, the method also includes: determining the target defect and target hidden danger corresponding to the target road according to the target inspection report, and obtaining a first area corresponding to the target defect and a second area corresponding to the target hidden danger; determining a first strategy corresponding to the target defect and determining a second strategy corresponding to the target hidden danger; performing exception processing on the target defect according to the first strategy and the first area to obtain a first processing result; performing exception processing on the target hidden danger according to the second strategy and the second area to obtain a second processing result; and determining the target processing result corresponding to the target road according to the first processing result and the second processing result.
[0118] Exemplarily, target defects and target hidden dangers on the target road are extracted and confirmed from the target inspection report. All areas marked as defects are found from the target inspection report, and the locations and specific descriptions of these defects are determined. All areas marked as hidden dangers are found from the target inspection report, and the locations and specific descriptions of these hidden dangers are determined.
[0119] Exemplarily, a suitable treatment strategy is formulated based on the defect description and severity in the target inspection report. For example, for cracks, you can choose to fill the cracks or resurface the cracks. A treatment strategy is formulated based on the nature and impact of the hidden dangers. For example, for hidden dangers that may cause traffic accidents, it may be necessary to restrict vehicles from entering the road. Thereby locating and marking the specific area of the target defect in the target road for treatment according to the formulated first strategy. For example, if the first strategy is to repair the cracks, perform the repair operation, and after the treatment is completed, record the first treatment effect, such as the quality of the repair. And locate and mark the specific area of the target hidden danger in the target road. Process according to the formulated second strategy. For example, if the second strategy is to restrict vehicles from entering the road, perform the restriction operation. After the treatment is completed, record the second treatment effect, including whether the hidden danger is effectively controlled or resolved.
[0120] Exemplarily, the first processing result and the second processing result are combined to obtain a target processing effect corresponding to the target road, thereby determining whether the expected road safety and maintenance standards are met.
[0121] Specifically, the above steps can ensure that the target defects and target hidden dangers on the target road are effectively addressed, which not only improves the safety of the road, but also helps maintain the overall road condition. This process is an important part of maintaining a good transportation infrastructure and is crucial to ensuring the safety of all road users.
[0122] See also Figure 2 , Figure 2 An automated road inspection system 200 is provided in an embodiment of the present application. The automated road inspection system 200 includes a data acquisition module 201, an anomaly recognition module 202, an area acquisition module 203, and a road analysis module 204, wherein the data acquisition module 201 is used to obtain a first road surface image, a first road surface video, and a first road surface three-dimensional laser data corresponding to a target road at a first moment acquired by a target sensor; the anomaly recognition module 202 is used to perform data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road; the area acquisition module 203 is used to obtain a target area corresponding to the initial anomaly from the target road, and collect a second road surface image, a second road surface video, and a second road surface three-dimensional laser data corresponding to the target area at a second moment acquired by the target sensor; the road analysis module 204 is used to analyze road defects and potential road hazards on the target road according to the second road surface image, the second road surface video, and the second road surface three-dimensional laser data, and obtain a target inspection report corresponding to the target road.
[0123] In some implementations, the anomaly identification module 202 performs, during the process of performing data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road:
[0124] Performing edge detection on the first road surface image to obtain a corresponding road edge image, and performing abnormal edge recognition on the road edge image to obtain first abnormal information corresponding to the first road surface image;
[0125] Performing key frame extraction on the first road surface video to obtain a corresponding target frame, and performing fixed target recognition on the target frame to obtain second abnormal information corresponding to the first road surface video;
[0126] Performing target segmentation on the first road surface three-dimensional laser data to obtain a corresponding target segmentation result, and determining third abnormal information corresponding to the first road surface three-dimensional laser data according to the target segmentation result;
[0127] The first abnormality information, the second abnormality information, and the third abnormality information are integrated to obtain the initial abnormality corresponding to the target road.
[0128] In some implementations, the abnormality identification module 202 performs, during the process of performing edge detection on the first road surface image to obtain a corresponding road edge image, and performing abnormal edge identification on the road edge image to obtain first abnormality information corresponding to the first road surface image:
[0129] Determine a horizontal gradient template and a vertical gradient template, perform horizontal gradient calculation based on the horizontal gradient template and the first road surface image to obtain a first gradient image, and perform vertical gradient calculation based on the vertical gradient template and the first road surface image to obtain a second gradient image;
[0130] fusing the first gradient image and the second gradient image to determine a third gradient image corresponding to the first road surface image;
[0131] Performing gradient clustering on the third gradient image to obtain a target clustering result, and determining a gradient segmentation threshold according to the target clustering result;
[0132] Performing edge processing on the third gradient image according to the gradient segmentation threshold to obtain the road edge image;
[0133] Performing edge segmentation according to the pixel connection relationship in the road edge image to obtain a plurality of edge images;
[0134] Fitting the plurality of edge images respectively to obtain a plurality of fitting results, and classifying the fitting results to obtain initial classification results corresponding to the edge images;
[0135] The first abnormal information corresponding to the first road surface image is determined according to the initial classification result.
[0136] In some implementations, the anomaly identification module 202, in the process of determining the first anomaly information corresponding to the first road surface image according to the initial classification result, performs:
[0137] Determine a preset type, and screen the initial classification result according to the preset type to obtain a target classification result;
[0138] Clustering the location information corresponding to the road edge image according to the target classification result to obtain an initial clustering result;
[0139] Combining each cluster in the initial clustering result according to the edge image to obtain a corresponding target image;
[0140] Anomalies are identified on the target image using an anomaly classification model to obtain the first anomaly information corresponding to the first road surface image.
[0141] In some implementations, the anomaly identification module 202, during the process of extracting key frames from the first road surface video to obtain corresponding target frames, performs:
[0142] Performing video decomposition on the first road surface video to obtain corresponding video frame images;
[0143] Calculating the pixel distance between any two sub-images in the video frame image to obtain corresponding image similarity;
[0144] Performing image clustering on the video frame images according to the image similarity to obtain image clustering results corresponding to the video frame images;
[0145] Performing color information calculation on each image in each clustering result in the image clustering result to obtain first image information and performing information amount calculation on each image in each clustering result in the image clustering result to obtain second image information;
[0146] fusing the first image information and the second image information to determine target image information corresponding to each image in each clustering result in the image clustering result;
[0147] Obtaining average image information corresponding to each clustering result in the image clustering results according to the target image information;
[0148] Obtaining a key image corresponding to each clustering result in the image clustering results according to the target image information and the average image information, and obtaining the target frame corresponding to the first road surface video according to the key image;
[0149] The key image is obtained according to the following formula:
[0150]
[0151] ;
[0152] ;
[0153] ;
[0154] ;
[0155] ;
[0156] Among them, K represents The number of frames corresponding to the key image corresponding to the minimum; represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, represents the i-th first image information, represents the i-th second image information, represents the average image information corresponding to each clustering result in the image clustering results, M represents the number of rows corresponding to each image in each clustering result in the image clustering results, and N represents the number of columns corresponding to each image in each clustering result in the image clustering results. represents the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column, represents the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result, Indicates that the pixel value in each image in each clustering result of the image clustering result is ; D represents the number of images corresponding to each clustering result in the image clustering result.
[0157] In some implementations, the anomaly recognition module 202 performs, during the process of performing fixed target recognition on the target frame to obtain the second anomaly information corresponding to the first road surface video:
[0158] Performing image difference calculation on any two target frames to obtain a target difference result;
[0159] Determine the stationary target information corresponding to the target frame according to the target difference result;
[0160] Performing road recognition on the target frame to obtain a target road area corresponding to the target frame;
[0161] The target area information corresponding to the stationary target information in the target frame is obtained, and the second abnormality information corresponding to the first road surface video is obtained by performing abnormality identification based on the target road area and the target area information.
[0162] In some implementations, the anomaly identification module 202 performs, during the process of performing target segmentation on the first road surface 3D laser data to obtain a corresponding target segmentation result, and determining the third anomaly information corresponding to the first road surface 3D laser data according to the target segmentation result:
[0163] Using the target recognition model to perform object recognition on the first road surface three-dimensional laser data to obtain a corresponding target recognition result;
[0164] Performing data segmentation on the first road surface three-dimensional laser data according to the target recognition result to obtain the corresponding target segmentation result;
[0165] Determine, according to the first road surface three-dimensional laser data, the association relationship between any two targets in the target segmentation result;
[0166] The third abnormal information corresponding to the first road surface three-dimensional laser data is determined according to the association relationship.
[0167] In some implementations, the road analysis module 204 performs, during the process of analyzing the road defects and potential road hazards of the target road according to the second road surface image, the second road surface video, and the second road surface three-dimensional laser data, and obtaining the target inspection report corresponding to the target road:
[0168] performing abnormal edge recognition on the second road surface image to obtain fourth abnormal information corresponding to the second road surface image;
[0169] performing fixed target recognition on the second road surface video to obtain fifth abnormal information corresponding to the second road surface video;
[0170] Performing moving target recognition on the second road surface three-dimensional laser data to obtain sixth abnormal information corresponding to the second road surface three-dimensional laser data;
[0171] The road defects and potential road hazards of the target road are analyzed according to the fourth abnormal information, the fifth abnormal information and the sixth abnormal information, and the target inspection report corresponding to the target road is obtained.
[0172] In some implementations, after obtaining the target inspection report corresponding to the target road, the road analysis module 204 further performs:
[0173] Determining a target defect and a target hidden danger corresponding to the target road according to the target inspection report, and obtaining a first area corresponding to the target defect and a second area corresponding to the target hidden danger;
[0174] Determine a first strategy corresponding to the target defect and determine a second strategy corresponding to the target hidden danger;
[0175] Performing abnormal processing on the target defect according to the first strategy and the first area to obtain a first processing result;
[0176] Performing exception processing on the target hidden danger according to the second strategy and the second area to obtain a second processing result;
[0177] A target processing result corresponding to the target road is determined according to the first processing result and the second processing result.
[0178] In some implementations, the automated road inspection system 200 may be applied to a terminal device.
[0179] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the road automated inspection system 200 described above can refer to the corresponding process in the aforementioned road automated inspection method embodiment, and will not be repeated here.
[0180] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of the road automated inspection methods provided in the description of the embodiment of the present invention.
[0181] The storage medium may be an internal storage unit of the terminal device described in the foregoing embodiment, such as a hard disk or memory of the terminal device. The storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc., equipped on the terminal device.
[0182] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0183] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0184] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for automated road inspection, characterized in that: The method comprises: Obtaining a first road surface image, a first road surface video, and first road surface three-dimensional laser data corresponding to the target road at a first moment collected by the target sensor; Performing data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road; Obtaining a target area corresponding to the initial anomaly from the target road, and collecting a second road surface image, a second road surface video, and second road surface three-dimensional laser data corresponding to the target area at a second moment according to the target sensor; The target road is analyzed for road defects and potential road hazards based on the second road surface image, the second road surface video, and the second road surface three-dimensional laser data to obtain a target inspection report corresponding to the target road.
2. The method according to claim 1, characterized in that The performing data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain the initial anomaly corresponding to the target road includes: Performing edge detection on the first road surface image to obtain a corresponding road edge image, and performing abnormal edge recognition on the road edge image to obtain first abnormal information corresponding to the first road surface image; Performing key frame extraction on the first road surface video to obtain a corresponding target frame, and performing fixed target recognition on the target frame to obtain second abnormal information corresponding to the first road surface video; Performing target segmentation on the first road surface three-dimensional laser data to obtain a corresponding target segmentation result, and determining third abnormal information corresponding to the first road surface three-dimensional laser data according to the target segmentation result; The first abnormality information, the second abnormality information, and the third abnormality information are integrated to obtain the initial abnormality corresponding to the target road.
3. The method according to claim 2, characterized in that The performing edge detection on the first road surface image to obtain a corresponding road edge image, and performing abnormal edge recognition on the road edge image to obtain first abnormal information corresponding to the first road surface image, includes: Determine a horizontal gradient template and a vertical gradient template, perform horizontal gradient calculation based on the horizontal gradient template and the first road surface image to obtain a first gradient image, and perform vertical gradient calculation based on the vertical gradient template and the first road surface image to obtain a second gradient image; fusing the first gradient image and the second gradient image to determine a third gradient image corresponding to the first road surface image; Performing gradient clustering on the third gradient image to obtain a target clustering result, and determining a gradient segmentation threshold according to the target clustering result; Performing edge processing on the third gradient image according to the gradient segmentation threshold to obtain the road edge image; Performing edge segmentation according to the pixel connection relationship in the road edge image to obtain a plurality of edge images; Fitting the plurality of edge images respectively to obtain a plurality of fitting results, and classifying the fitting results to obtain initial classification results corresponding to the edge images; The first abnormal information corresponding to the first road surface image is determined according to the initial classification result.
4. The method according to claim 3, characterized in that The determining, according to the initial classification result, the first abnormal information corresponding to the first road surface image includes: Determine a preset type, and screen the initial classification result according to the preset type to obtain a target classification result; Clustering the location information corresponding to the road edge image according to the target classification result to obtain an initial clustering result; Combining each cluster in the initial clustering result according to the edge image to obtain a corresponding target image; Anomalies are identified on the target image using an anomaly classification model to obtain the first anomaly information corresponding to the first road surface image.
5. The method according to claim 2, characterized in that: The step of extracting key frames from the first road surface video to obtain corresponding target frames includes: Performing video decomposition on the first road surface video to obtain corresponding video frame images; Calculating the pixel distance between any two sub-images in the video frame image to obtain corresponding image similarity; Performing image clustering on the video frame images according to the image similarity to obtain image clustering results corresponding to the video frame images; Performing color information calculation on each image in each clustering result in the image clustering result to obtain first image information and performing information amount calculation on each image in each clustering result in the image clustering result to obtain second image information; fusing the first image information and the second image information to determine target image information corresponding to each image in each clustering result in the image clustering result; Obtaining average image information corresponding to each clustering result in the image clustering results according to the target image information; Obtaining a key image corresponding to each clustering result in the image clustering results according to the target image information and the average image information, and obtaining the target frame corresponding to the first road surface video according to the key image; The key image is obtained according to the following formula: ; ; ; ; ; ; Among them, K represents The number of frames corresponding to the key image corresponding to the minimum; represents the first weight corresponding to the i-th first image information, represents the second weight corresponding to the i-th second image information, represents the average image information corresponding to each clustering result in the image clustering results, M represents the number of rows corresponding to each image in each clustering result in the image clustering results, and N represents the number of columns corresponding to each image in each clustering result in the image clustering results. represents the pixel value corresponding to the i-th image in each clustering result in the image clustering result at the t-th row and h-th column, represents the maximum pixel value corresponding to the i-th image in each clustering result in the image clustering result, Indicates that the pixel value in each image in each clustering result of the image clustering result is The frequency information corresponding to the image clustering result is shown in FIG. 1 ; D represents the number of images corresponding to each clustering result in the image clustering result. represents the i-th first image information, represents the i-th second image information.
6. The method according to claim 2, characterized in that Performing fixed target recognition on the target frame to obtain second abnormal information corresponding to the first road surface video includes: Performing image difference calculation on any two target frames to obtain a target difference result; Determine the stationary target information corresponding to the target frame according to the target difference result; Performing road recognition on the target frame to obtain a target road area corresponding to the target frame; The target area information corresponding to the stationary target information in the target frame is obtained, and the second abnormality information corresponding to the first road surface video is obtained by performing abnormality identification based on the target road area and the target area information.
7. The method according to claim 2, characterized in that The performing target segmentation on the first road surface three-dimensional laser data to obtain a corresponding target segmentation result, and determining third abnormal information corresponding to the first road surface three-dimensional laser data according to the target segmentation result, includes: Using the target recognition model to perform object recognition on the first road surface three-dimensional laser data to obtain a corresponding target recognition result; Performing data segmentation on the first road surface three-dimensional laser data according to the target recognition result to obtain the corresponding target segmentation result; Determine, according to the first road surface three-dimensional laser data, the association relationship between any two targets in the target segmentation result; The third abnormal information corresponding to the first road surface three-dimensional laser data is determined according to the association relationship.
8. The method according to claim 1, characterized in that The performing of road defect and road potential hazard analysis on the target road according to the second road surface image, the second road surface video and the second road surface three-dimensional laser data to obtain a target inspection report corresponding to the target road includes: performing abnormal edge recognition on the second road surface image to obtain fourth abnormal information corresponding to the second road surface image; performing fixed target recognition on the second road surface video to obtain fifth abnormal information corresponding to the second road surface video; Performing moving target recognition on the second road surface three-dimensional laser data to obtain sixth abnormal information corresponding to the second road surface three-dimensional laser data; The road defects and potential road hazards of the target road are analyzed according to the fourth abnormal information, the fifth abnormal information and the sixth abnormal information, and the target inspection report corresponding to the target road is obtained.
9. The method according to any one of claims 1 to 8, characterized in that After obtaining the target inspection report corresponding to the target road, the method further includes: Determining a target defect and a target hidden danger corresponding to the target road according to the target inspection report, and obtaining a first area corresponding to the target defect and a second area corresponding to the target hidden danger; Determine a first strategy corresponding to the target defect and determine a second strategy corresponding to the target hidden danger; Performing abnormal processing on the target defect according to the first strategy and the first area to obtain a first processing result; Performing exception processing on the target hidden danger according to the second strategy and the second area to obtain a second processing result; A target processing result corresponding to the target road is determined according to the first processing result and the second processing result.
10. An automated road inspection system, characterized in that: include: A data acquisition module, used to obtain a first road surface image, a first road surface video and first road surface three-dimensional laser data corresponding to the target road at a first moment acquired by the target sensor; an anomaly recognition module, configured to perform data analysis on the first road surface image, the first road surface video, and the first road surface three-dimensional laser data to obtain an initial anomaly corresponding to the target road; An area acquisition module, used for obtaining a target area corresponding to the initial anomaly from the target road, and acquiring a second road surface image, a second road surface video and a second road surface three-dimensional laser data corresponding to the target area at a second moment according to the target sensor; A road analysis module is used to analyze the road defects and potential road hazards of the target road based on the second road surface image, the second road surface video and the second road surface three-dimensional laser data, and obtain a target inspection report corresponding to the target road.
Citation Information
Patent Citations
Road disease recognition and positioning method and device, electronic equipment and storage medium
CN116012764A
Pavement defect detection method and device based on multi-source sensor fusion and computer equipment
CN117420143A
Road and lane detection system for intelligent transportation system and method therefor
KR1020110131678A
Automated road damage detection
US20220044034A1
Humanoid inspection operation method and system for semantic intelligent substation robot
WO2022021739A1
Cited By
Unmanned aerial vehicle intelligent inspection system based on AI vision and detection switch cabinet
CN120953839A
