Highway guardrail detection method and system based on image analysis

Through image analysis technology, the shape, texture and structure description vectors of highway guardrails are extracted, and multiple branches are combined for detection, which solves the time-consuming, labor-intensive and error-prone problems of traditional manual detection, and achieves efficient, accurate and automated highway guardrail detection.

CN117934382BActive Publication Date: 2024-09-20BEIJING JIAOKE HIGHWAY SURVEYING DESIGN & RES INST
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311821287.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-09-20
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

Traditional manual detection of abnormal defects in highway guardrails is time-consuming, labor-intensive and error-prone, and lacks efficient automated detection methods.

Method used

Using a detection method based on image analysis, by obtaining the shape, texture and structure description vectors of the images taken by the highway guardrail, combined with the description vector integration branch, image element knowledge mining branch and abnormal defect detection and analysis branch, abnormal defect detection analysis is performed, using correlation Feature information of image patches reduces errors and enables more accurate detection.

Benefits of technology

It improves the efficiency and accuracy of highway guardrail detection, reduces the error rate of manual detection, enables real-time detection on large-scale images, and provides more targeted detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117934382B
    Figure CN117934382B
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of image processing technology, and relates to a highway guardrail detection method and system based on image analysis, by obtaining the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block in the captured image of the highway guardrail, the representation vector of each captured image block at different description levels is obtained, and the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block are aggregated to obtain the first captured image block integrated description vector of each captured image block, and the captured image blocks can be effectively recorded at different description levels through the first captured image block integrated description vector. In this way, abnormal defect detection and analysis are performed on each captured image block, and the error of abnormal defect detection and analysis is reduced to obtain more accurate abnormal defect detection and analysis results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method and system for detecting a highway guardrail based on image analysis. Background Art

[0002] Highway guardrails are important facilities to ensure vehicle safety, and regular abnormal defect detection is essential. However, traditional manual detection methods are time-consuming, labor-intensive, and prone to errors. Therefore, it is particularly important to develop a highway guardrail detection method based on image analysis. Summary of the invention

[0003] In order to at least overcome the above-mentioned deficiencies in the prior art, one of the objectives of the present invention is to provide a highway guardrail detection method and system based on image analysis.

[0004] The embodiment of the present invention provides a highway guardrail detection method based on image analysis, which is applied to an image analysis detection system. The method includes:

[0005] Acquire a photographic image of a highway guardrail to be inspected for abnormal defects;

[0006] Obtaining a guardrail shape image description vector, a guardrail texture image description vector, and a guardrail structure image description vector for each captured image block in the highway guardrail captured image;

[0007] Combining the guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each of the captured image blocks, to obtain a first captured image block integrated description vector of each of the captured image blocks;

[0008] Based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, abnormal defect detection analysis is performed on each captured image block to obtain an abnormal defect detection analysis result.

[0009] Furthermore, the guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each captured image block are combined to obtain a first captured image block integrated description vector of each captured image block, including:

[0010] Acquire a previously debugged abnormal defect detection network, wherein the abnormal defect detection network includes a description vector integration branch, an image element knowledge mining branch, and an abnormal defect detection analysis branch;

[0011] The guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each captured image block are passed into the description vector integration branch for description vector integration to obtain the first captured image block integrated description vector of each captured image block;

[0012] The method of performing abnormal defect detection analysis on each of the captured image blocks based on the first captured image block integrated description vector of each of the captured image blocks and the second captured image block integrated description vector of the associated captured image block to obtain abnormal defect detection analysis results includes:

[0013] The first captured image block integrated description vector of each captured image block is passed into the image element knowledge mining branch to perform an image element knowledge mining operation, so as to obtain an image element knowledge vector of each captured image block;

[0014] The image element knowledge vector of each captured image block and the second captured image block integrated description vector of its associated captured image block are transmitted to the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result.

[0015] Furthermore, the step of transferring the first captured image block integrated description vector of each captured image block to the image element knowledge mining branch for performing an image element knowledge mining operation to obtain an image element knowledge vector of each captured image block includes:

[0016] The first captured image block integrated description vector of each captured image block is passed to the image element knowledge mining branch to perform an image element knowledge mining operation, so as to obtain an initial image element knowledge vector of each captured image block;

[0017] The first captured image block integrated description vector and the initial image element knowledge vector of each captured image block are aggregated to obtain the image element knowledge vector of each captured image block.

[0018] Furthermore, the image element knowledge vector of each captured image block and the second captured image block integrated description vector of the associated captured image block are transmitted to the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result, including:

[0019] Aggregating the image element knowledge vector of each of the captured image blocks and the second captured image block integrated description vector of the captured image block associated therewith to obtain a third captured image block integrated description vector of each of the captured image blocks;

[0020] The third captured image block integrated description vector of each captured image block is transmitted to the abnormal defect detection and analysis branch to perform abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result.

[0021] Further, the abnormal defect detection and analysis branch includes an image feature mapping node and an abnormal defect discrimination node;

[0022] The step of transferring the third captured image block integrated description vector of each captured image block to the abnormal defect detection and analysis branch for performing abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result comprises:

[0023] The third captured image block integrated description vector of each captured image block is passed into the image feature mapping node for image feature mapping processing to obtain an image feature mapping vector;

[0024] The image feature mapping vector is transmitted to the abnormal defect discrimination node to perform an abnormal defect discrimination operation to obtain the abnormal defect detection analysis result, which is used to characterize the quantitative possibility of the existence of abnormal defects in each of the captured image blocks.

[0025] Furthermore, the image element knowledge mining branch includes at least one of a residual block-based pre- and post-sequence feature mining module, a feedforward module, and a deep decision tree module that have been debugged in advance.

[0026] Furthermore, the obtaining of the guardrail texture image description vector of each captured image block in the highway guardrail captured image includes:

[0027] Acquire an image block unit sequence of each captured image block in the captured image of the highway guardrail;

[0028] The image block unit sequence of each captured image block is transmitted to the first reversible feedforward module for description vector mining to obtain the guardrail texture image description vector of each captured image block.

[0029] Furthermore, the step of obtaining the guardrail structure image description vector of each captured image block in the captured image of the highway guardrail includes:

[0030] Acquire an image point cloud sequence of each of the captured image blocks in the captured image of the highway guardrail;

[0031] The image point cloud sequence of each captured image block is transmitted to the second reversible feedforward module for description vector mining to obtain the guardrail structure image description vector of each captured image block.

[0032] Furthermore, the highway guardrail photographed images include photographed images to be reported for abnormal defect reporting;

[0033] After performing abnormal defect detection analysis on each of the captured image blocks based on the first captured image block integrated description vector of each of the captured image blocks and the second captured image block integrated description vector of the associated captured image block to obtain the abnormal defect detection analysis result, the method further includes:

[0034] Based on the abnormal defect detection and analysis results of each of the captured image blocks, a visual abnormality annotated image of the captured image to be reported is determined, and the visual abnormality annotated image is uploaded.

[0035] An embodiment of the present invention also provides an image analysis and detection system, comprising a processor and a memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the above-mentioned highway guardrail detection method based on image analysis.

[0036] An embodiment of the present invention further provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned highway guardrail detection method based on image analysis is implemented.

[0037] The embodiment of the present invention provides a highway guardrail detection method and system based on image analysis. By obtaining the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block in the captured image of the highway guardrail, the representation vector of each captured image block at different description levels is obtained. Based on this, the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block are aggregated to obtain the first captured image block integrated description vector of each captured image block, wherein the first captured image block integrated description vector can effectively record the captured image block at different description levels. In addition, the involvement between the associated captured image blocks is also utilized. Based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, each captured image block is subjected to abnormal defect detection analysis, thereby reducing the error of abnormal defect detection analysis to obtain a more accurate abnormal defect detection analysis result. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 A flowchart of a highway guardrail detection method based on image analysis provided by an embodiment of the present invention.

[0040] Figure 2 A block diagram of an image analysis and detection system provided by an embodiment of the present invention.

[0041] icon:

[0042] 100- Image analysis detection system;

[0043] 101 - processor; 102 - memory; 103 - bus. DETAILED DESCRIPTION

[0044] The exemplary embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0045] In order to better understand the above technical scheme, the technical scheme of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0046] Figure 1 This is a flow chart of a highway guardrail detection method based on image analysis according to an embodiment of the present invention, which is applied to an image analysis detection system and includes S110-S140.

[0047] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the highway guardrail detection method based on image analysis is implemented.

[0048] S110, obtaining a photographed image of a highway guardrail to be inspected for abnormal defects.

[0049] S120, obtaining a guardrail shape image description vector, a guardrail texture image description vector, and a guardrail structure image description vector of each captured image block in the highway guardrail captured image.

[0050] S130. Combining the guardrail shape image description vector, the guardrail texture image description vector, and the guardrail structure image description vector of each captured image block, obtain a first captured image block integrated description vector of each captured image block.

[0051] S140. Based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, perform abnormal defect detection analysis on each captured image block to obtain an abnormal defect detection analysis result.

[0052] In the above technical scheme, the highway guardrail image to be detected for abnormal defects is the original image to be detected, which is usually obtained by monitoring equipment and includes the guardrail part on the highway. Shot image block: In order to better process and analyze, the original image will be cut into small blocks, each of which contains part of the guardrail information. The guardrail shape image description vector, guardrail texture image description vector, and guardrail structure image description vector are features extracted from each image block by computer vision technology, representing the shape, texture and structure information of the guardrail respectively. The first shot image block integrated description vector is a comprehensive feature obtained by merging the above shape, texture and structure description vectors. Associated shot image block: other image blocks that are associated with the current image block in some sense, such as image blocks that are adjacent in position or continuous in time. The second shot image block integrated description vector: the description vector obtained by performing the same feature extraction and merging operation on the associated image block. Abnormal defect detection analysis results: by comparing and analyzing the description vector of the original image block and the description vector of the associated image block, it is determined whether there is an abnormality or defect, and a specific result is given.

[0053] For example, a surveillance image of a highway guardrail is cut into 100 small blocks, and then the shape, texture and structure features of each small block are extracted and merged into a description vector. Then, the adjacent small blocks of each small block are found and their description vectors are extracted. Finally, by comparing the description vectors of each small block with its adjacent small blocks, it can be determined where there may be abnormalities or defects in the guardrail.

[0054] In computer vision, an image description vector is a way to convert the characteristics of an image (such as shape, texture, and structure) into a numerical representation. These characteristics can be used by machine learning or deep learning models to recognize or classify the image content.

[0055] The guardrail shape image description vector mainly describes the external shape features of the object in the image. For example, edge detection and other techniques may be used to determine the outline of the guardrail, and then a series of values ​​(such as [0, 1, 0, 1, 1...]) is used to represent this outline. In more complex scenes, algorithms such as Hu Moments or FourierDescriptors may be used to describe the shape.

[0056] The guardrail texture image description vector describes the microstructure and roughness of the surface of the object in the image. For example, the texture features of the guardrail may be extracted using methods such as gray level co-occurrence matrix (GLCM) or local binary pattern (LBP), and these features may be converted into a set of values ​​(such as [0.5, 0.2, 0.3, ...]).

[0057] The guardrail structure image description vector describes the spatial layout and relationship of objects in the image. For example, these features may be obtained by calculating the edge, corner and other information of the object and converting them into a set of values ​​(such as [2, 3, 1, ...]).

[0058] In some other examples, the guardrail shape image description vector, guardrail texture image description vector, and guardrail structure image description vector of an image block (called image block A) have been extracted, which may be as follows:

[0059] Shape description vector: [0.9, 0.8];

[0060] Texture description vector: [0.6, 0.7];

[0061] Structure description vector: [0.5, 0.4].

[0062] These values ​​represent some characteristic or property of shape, texture, and structure. For example, in a shape description vector, 0.9 might represent the curvature of a guardrail, 0.8 might represent the length of a guardrail, and so on.

[0063] The first captured image block integrated description vector combines these three vectors to obtain a comprehensive description vector, for example: [0.9, 0.8, 0.6, 0.7, 0.5, 0.4].

[0064] Next, find the image block associated with image block A (called image block B). Similarly, the shape, texture, and structure description vectors of image block B can also be obtained. Assume that they are:

[0065] Shape description vector: [0.85, 0.8];

[0066] Texture description vector: [0.65, 0.7];

[0067] Structural description vector: [0.55, 0.45].

[0068] Similarly, these vectors are combined to obtain the second captured image block integrated description vector, for example: [0.85, 0.8, 0.65, 0.7, 0.55, 0.45].

[0069] Finally, the two description vectors can be compared (for example, by calculating their Euclidean distance or cosine similarity, etc.) to determine whether the two image blocks have abnormalities or defects. If the difference between the two description vectors exceeds a certain threshold, it can be considered that image block A may have abnormalities or defects.

[0070] Next, the above technical solution is introduced through a complete example.

[0071] There is a surveillance image of a highway guardrail, and we hope to use this technical solution to detect abnormal defects.

[0072] First, the captured image is obtained, and the image size is 1000x1000 pixels.

[0073] Then, the image is divided into 100 10x10 pixel blocks. For each image block, the shape, texture, and structure description vectors are extracted respectively. For example, the shape description vector may be extracted using edge detection technology, the texture description vector may be extracted using gray level co-occurrence matrix (GLCM), and the structure description vector may be extracted using corner detection algorithm. Assume that the shape description vector is [0, 1, 0, 1, 1...], the texture description vector is [0.5, 0.2, 0.3,...], and the structure description vector is [2, 3, 1,...].

[0074] Next, the shape, texture and structure description vectors of each image block are combined to obtain the first captured image block integrated description vector. Assume that the first captured image block integrated description vector is [0, 1, 0, 1, 1..., 0.5, 0.2, 0.3,..., 2, 3, 1,...].

[0075] Then, find the associated image blocks of each image block (for example, image blocks adjacent in position), and perform the same feature extraction and merging operations on these associated image blocks to obtain the second captured image block integrated description vector. Assume that the obtained second captured image block integrated description vector is [0, 0, 1, 1, 0..., 0.6, 0.2, 0.2,..., 3, 2, 1,...]. Then, compare the first captured image block integrated description vector with the second captured image block integrated description vector, and use a certain algorithm (such as support vector machine, neural network, etc.) to determine whether there is an abnormality or defect. If so, mark the image block as abnormal.

[0076] Ultimately, an abnormal defect detection analysis result can be obtained, telling which image blocks may have guardrail anomalies or defects, thereby helping to determine the guardrail areas that need to be repaired or replaced.

[0077] In other complete examples, a drone or a camera mounted on a vehicle can be used to shoot highway guardrails to obtain images to be tested. The captured image is divided into multiple image blocks, and then a pre-trained model is used to extract the description vectors of the shape, texture, and structure of each image block. These description vectors can contain information such as size, height, damage and deformation. The description vectors of shape, texture, and structure are concatenated or other types of aggregation operations are performed to obtain a more comprehensive and richer integrated description vector. The integrated description vector and the description vectors of its associated image blocks are input into a pre-trained abnormal defect detection network to obtain the possibility of abnormal defects in each image block. This result can be used to evaluate the overall status of the guardrail and to discover and report problematic areas.

[0078] In summary, by obtaining the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block in the highway guardrail captured image, the representation vector of each captured image block at different description levels is obtained. Based on this, the guardrail shape image description vector, guardrail texture image description vector and guardrail structure image description vector of each captured image block are aggregated to obtain the first captured image block integrated description vector of each captured image block, wherein the first captured image block integrated description vector can effectively record the captured image block at different description levels. In addition, the involvement between the associated captured image blocks is also utilized, based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, abnormal defect detection analysis is performed on each captured image block, thereby reducing the error of abnormal defect detection analysis to obtain more accurate abnormal defect detection analysis results.

[0079] In some possible embodiments, S130 combines the guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each of the captured image blocks to obtain a first captured image block integrated description vector of each of the captured image blocks, including S131-S132.

[0080] S131, obtaining an abnormal defect detection network that has been debugged in advance, wherein the abnormal defect detection network includes a description vector integration branch, an image element knowledge mining branch, and an abnormal defect detection analysis branch.

[0081] S132. The guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each captured image block are passed into the description vector integration branch for description vector integration to obtain the first captured image block integrated description vector of each captured image block.

[0082] On the basis of S131-S132, S140 describes an abnormal defect detection analysis based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, to obtain an abnormal defect detection analysis result, including S141-S142.

[0083] S141. The first captured image block integrated description vector of each captured image block is passed to the image element knowledge mining branch to perform an image element knowledge mining operation to obtain an image element knowledge vector of each captured image block.

[0084] S142. The image element knowledge vector of each captured image block and the second captured image block integrated description vector of its associated captured image block are passed into the abnormal defect detection and analysis branch to perform abnormal defect detection and analysis, and obtain the abnormal defect detection and analysis result.

[0085] The above embodiment further describes in detail how to use the pre-debugged abnormal defect detection network to process the shape, texture and structure description vectors of image blocks and perform abnormal defect detection.

[0086] Based on the previous example, there is already a first captured image block integrated description vector [0.9, 0.8, 0.6, 0.7, 0.5, 0.4] of image block A and a second captured image block integrated description vector [0.85, 0.8, 0.65, 0.7, 0.55, 0.45] associated with image block B.

[0087] In S131-S132, a previously debugged abnormal defect detection network is obtained. This network includes three branches: a description vector integration branch, an image element knowledge mining branch, and an abnormal defect detection analysis branch. The function of the description vector integration branch is to integrate the shape, texture, and structure description vectors to obtain the first captured image block integrated description vector of each captured image block. This process has been demonstrated in the previous example.

[0088] Then, in S141, the first captured image block integrated description vector of image block A is passed to the image element knowledge mining branch for further processing to obtain the image element knowledge vector of each captured image block. This process may involve deeper feature extraction and representation learning. Finally, in S142, the image element knowledge vector of image block A and the second captured image block integrated description vector of the associated image block B are passed to the abnormal defect detection analysis branch for abnormal defect detection analysis to obtain the abnormal defect detection analysis result.

[0089] In this way, the use of pre-trained abnormal defect detection network can more accurately detect the abnormalities and defects of the guardrail, improving the accuracy and efficiency of detection. By dividing the image blocks and generating description vectors, the computational complexity can be greatly reduced, so that this method can be used for real-time detection on large-scale highway guardrail images. Combining the image element knowledge mining branch and the abnormal defect detection analysis branch, the image content can be deeply understood, thereby providing more targeted detection results.

[0090] In some possible embodiments, the first captured image block integrated description vector of each of the captured image blocks is passed into the image element knowledge mining branch for image element knowledge mining operations to obtain the image element knowledge vector of each of the captured image blocks, including: passing the first captured image block integrated description vector of each of the captured image blocks into the image element knowledge mining branch for image element knowledge mining operations to obtain the initial image element knowledge vector of each of the captured image blocks; aggregating the first captured image block integrated description vector of each of the captured image blocks and the initial image element knowledge vector to obtain the image element knowledge vector of each of the captured image blocks.

[0091] The above embodiment is to further analyze and mine the description vector of the image block to obtain the image element knowledge vector. The following is a specific example: Assume that the first integrated description vector of a captured image block has been obtained, for example: [0, 1, 0, 1, 1..., 0.5, 0.2, 0.3,..., 2, 3, 1,...].

[0092] Next, this vector is passed to the image element knowledge mining branch (which may be a pre-trained machine learning model, such as a neural network) for further image element knowledge mining operations. In this process, the model will perform in-depth analysis on the input description vector and extract higher-level, abstract feature information. Assume that the initial image element knowledge vector is: [0.6, 0.8, 0.7, ...].

[0093] Then, the first captured image is divided into blocks and the description vector is aggregated with the initial image element knowledge vector to obtain the final image element knowledge vector. This process can be a simple vector concatenation or a complex mathematical operation such as weighted average. Assume that the image element knowledge vector obtained by vector concatenation is: [0, 1, 0, 1, 1..., 0.5, 0.2, 0.3,..., 2, 3, 1,..., 0.6, 0.8, 0.7,...].

[0094] In this way, through the image element knowledge mining branch, higher-level, abstract feature information can be extracted from the original description vector, so that the model can capture more complex image characteristics that are not easily perceived by the human eye, thereby improving the accuracy of abnormal defect detection. By aggregating the first captured image block integration description vector and image element knowledge vector, a more comprehensive feature expression is obtained. This not only includes the original shape, texture and structure information, but also includes high-level features extracted by the deep learning model. This allows the model to understand and analyze the image content from multiple angles and multiple levels, thereby improving the robustness and reliability of abnormal defect detection. This technical solution allows flexible design and optimization of the image element knowledge mining branch. For example, different machine learning models can be selected, or the parameters and structure of the model can be adjusted to adapt to different task requirements and scene conditions, so as to achieve the best detection effect.

[0095] In some possible embodiments, the image element knowledge vector of each of the captured image blocks, and the second captured image block integrated description vector of its associated captured image block, are passed into the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result, including: aggregating the image element knowledge vector of each of the captured image blocks, and the second captured image block integrated description vector of its associated captured image block to obtain the third captured image block integrated description vector of each of the captured image blocks; passing the third captured image block integrated description vector of each of the captured image blocks into the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result.

[0096] The above embodiment further describes in detail how to use the pre-debugged abnormal defect detection network to perform abnormal defect detection on each captured image block.

[0097] Still based on the previous example, the image element knowledge vector of image block A and the second captured image block integrated description vector of associated image block B are already available.

[0098] First, the image element knowledge vector of the image block A and the second captured image block integrated description vector of the associated image block B are aggregated to obtain the third captured image block integrated description vector of each captured image block. This aggregation operation can be a simple vector concatenation or a more complex operation, such as weighted average or convolution. Assume that the obtained third captured image block integrated description vector is [0.8, 0.9, 0.7, 0.6, 0.5, 0.4, 0.85, 0.8, 0.65, 0.7, 0.55, 0.45].

[0099] Then, the block-integrated description vector of the third captured image is transmitted to the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain abnormal defect detection and analysis results. This process may involve some machine learning or deep learning algorithms, such as support vector machines, neural networks, etc.

[0100] In this way, by aggregating the image element knowledge vector and the second captured image block integrated description vector, the characteristics of a single image block and the characteristics of the image blocks associated with it can be considered at the same time, so as to perform more comprehensive abnormal defect detection. The third captured image block integrated description vector contains richer information, which can improve the accuracy of abnormal defect detection. The use of a pre-trained abnormal defect detection network can further improve the accuracy and efficiency of detection, so that this method can be used for real-time detection on large-scale highway guardrail images.

[0101] In some possible embodiments, the abnormal defect detection and analysis branch includes an image feature mapping node and an abnormal defect discrimination node; the passing of the third captured image block integrated description vector of each captured image block into the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result includes: passing the third captured image block integrated description vector of each captured image block into the image feature mapping node for image feature mapping processing to obtain an image feature mapping vector; passing the image feature mapping vector into the abnormal defect discrimination node for abnormal defect discrimination operation to obtain the abnormal defect detection and analysis result, and the abnormal defect detection and analysis result is used to characterize the quantitative possibility of the existence of abnormal defects in each captured image block.

[0102] This technical solution further describes in detail how to use the image feature mapping node and the abnormal defect discrimination node to perform abnormal defect detection. The following is a specific example:

[0103] Assume that a third integrated description vector of a captured image block has been obtained, for example: [0, 1, 0, 1, 1..., 0.5, 0.2, 0.3, ..., 2, 3, 1, ..., 0.6, 0.8, 0.7, ...]. This vector is obtained by aggregating the shape, texture, structure description vectors and the image element knowledge vector in the previous step.

[0104] Next, this vector is passed to the image feature map node for processing. This node may be a pre-trained deep learning model, such as a convolutional neural network (CNN), which performs a nonlinear transformation on the input vector and maps it to a new feature space. Assume that the resulting image feature map vector is: [0.4, 0.9, 0.7, ..., 0.2, 0.8, 0.5, ...].

[0105] Then, the image feature map vector is passed to the abnormal defect discrimination node for processing. This node may be a pre-trained classifier, such as a support vector machine (SVM), which will classify the input vector to determine whether it is abnormal or defective. Assume that the abnormal defect detection analysis result is 0.8, which represents the quantitative possibility of abnormal defects in the captured image block.

[0106] With this design, the original description vector can be converted into a new feature space through the image feature mapping node, which may reveal the complex relationship between the original features, thereby improving the accuracy of abnormal defect detection. Through the abnormal defect discrimination node, the image feature mapping vector can be classified to obtain a quantitative result with a clear physical meaning, that is, the possibility of the existence of abnormal defects. In this way, not only can the status of each image block be intuitively evaluated, but also the threshold can be set as needed, and automatic alarm or other subsequent processing can be performed. This technical solution allows flexible design and optimization of image feature mapping nodes and abnormal defect discrimination nodes. For example, different deep learning models can be selected, or the parameters and structure of the model can be adjusted to adapt to different task requirements and scene conditions, so as to achieve the best detection effect.

[0107] In some possible embodiments, the image element knowledge mining branch includes at least one of a residual block-based pre- and post-sequence feature mining module, a feedforward module, and a deep decision tree module that have been debugged in advance. The acquisition of the guardrail texture image description vector of each captured image block in the captured image of the highway guardrail includes: acquiring an image block unit sequence of each captured image block in the captured image of the highway guardrail; passing the image block unit sequence of each captured image block into a first reversible feedforward module for description vector mining to obtain the guardrail texture image description vector of each captured image block. The acquisition of the guardrail structure image description vector of each captured image block in the captured image of the highway guardrail includes: acquiring an image point cloud sequence of each captured image block in the captured image of the highway guardrail; passing the image point cloud sequence of each captured image block into a second reversible feedforward module for description vector mining to obtain the guardrail structure image description vector of each captured image block.

[0108] The above embodiment further details how to use a specific module to extract and mine the texture and structure description vectors of image blocks. A specific example is used below to illustrate.

[0109] In the image element knowledge mining branch, at least one module such as a residual block-based pre- and post-sequence feature mining module, a feedforward module, a deep decision tree module, etc. can be used. These modules are pre-debugged and can be used for deep feature mining.

[0110] To obtain the guardrail texture image description vector of each captured image block, first obtain the image block unit sequence of each captured image block in the highway guardrail captured image. For example, each 10x10 pixel image block may be divided into 100 1x1 pixel image block units and formed into a sequence in a certain order (such as from left to right, from top to bottom).

[0111] Then, the image block unit sequence is passed to the first reversible feedforward module for description vector mining. This module may be a convolutional neural network or other types of machine learning models, which can extract representative texture features from the image block unit sequence and obtain the guardrail texture image description vector of each captured image block.

[0112] To obtain the image description vector of the guardrail structure of each captured image block, first obtain the image point cloud sequence of each captured image block in the highway guardrail captured image. This may involve some computer vision technologies, such as stereo vision or laser radar scanning, to generate 3D point cloud data.

[0113] Then, the image point cloud sequence is passed to the second reversible feedforward module for description vector mining. This module may be a 3D convolutional neural network or other types of machine learning models, which can extract representative structural features from the image point cloud sequence and obtain the guardrail structure image description vector for each captured image block.

[0114] In this way, the use of pre-trained modules can more accurately extract and mine the texture and structural features of image blocks, improving the quality of feature representation and the accuracy of abnormal defect detection. By processing the image block unit sequence and the image point cloud sequence, the content of the image can be understood more deeply and more feature information that is not easily perceived by the human eye can be extracted. Using a reversible feedforward module for description vector mining can reduce the computational complexity and increase the processing speed, so that this method can be used for real-time detection on large-scale highway guardrail images.

[0115] In some possible embodiments, the highway guardrail captured images include captured images to be reported for abnormal defects; the first captured image block integrated description vector based on each of the captured image blocks, and the second captured image block integrated description vector of its associated captured image block, perform abnormal defect detection analysis on each of the captured image blocks, and after obtaining the abnormal defect detection analysis results, further include: based on the abnormal defect detection analysis results of each of the captured image blocks, determine a visual abnormal annotated image of the captured image to be reported, and upload the visual abnormal annotated image.

[0116] The above embodiment adds a visual anomaly annotation step, which helps users to understand and evaluate the detection results more intuitively. The following is a specific example: In the previous step, the abnormal defect detection analysis results of each captured image block have been obtained, for example: [0.1, 0.8, 0.3, ..., 0.6]. This vector represents the quantitative possibility of the existence of abnormal defects in each image block.

[0117] Next, these results need to be applied to the captured images to be reported. First, the captured images to be reported are annotated based on the location information of each image block and the abnormal defect detection analysis results. For example, different colored boxes can be used to mark the image blocks with abnormal defects, and the depth of the color can correspond to the severity of the abnormal defect.

[0118] Finally, upload this visual anomaly annotated image to the server or save it to the local file system for subsequent analysis and processing.

[0119] In this way, by providing visual anomaly annotated images, users can more intuitively understand and evaluate the detection results, which helps improve the user experience. Visual anomaly annotated images can be directly used for subsequent analysis and processing, such as detailed fault diagnosis and maintenance plan formulation. This technical solution expands the functionality of the system, enabling it to not only detect abnormal defects, but also anomaly annotation and reporting.

[0120] An embodiment of the present invention provides a processor, which is used to run a program, wherein the highway guardrail detection method based on image analysis is executed when the program is running.

[0121] In the embodiment of the present invention, Figure 2 As shown, the image analysis detection system 100 includes at least one processor 101, and at least one memory 102 and a bus 103 connected to the processor 101; wherein the processor 101 and the memory 102 communicate with each other via the bus 103; the processor 101 is used to call the program instructions in the memory 102 to execute the above-mentioned highway guardrail detection method based on image analysis.

[0122] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, image analysis detection systems, and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0123] In a typical configuration, the image analysis detection system includes one or more processors (CPU), memory and bus. The image analysis detection system may also include input / output interface, network interface and the like.

[0124] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0125] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage computer readable storage media or any other non-transmission media that can be used to store information that can be accessed by the image analysis detection system. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0126] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or computer-readable storage medium that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, commodity or computer-readable storage medium. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the presence of other identical elements in the process, method, commodity or computer-readable storage medium that includes the elements.

[0127] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0128] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A highway guardrail detection method based on image analysis, characterized in that: Applied to an image analysis detection system, the method comprises: Acquire a photographic image of a highway guardrail to be inspected for abnormal defects; Obtaining a guardrail shape image description vector, a guardrail texture image description vector, and a guardrail structure image description vector for each captured image block in the highway guardrail captured image; Combining the guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each of the captured image blocks, to obtain a first captured image block integrated description vector of each of the captured image blocks; Based on the first captured image block integrated description vector of each captured image block and the second captured image block integrated description vector of its associated captured image block, performing abnormal defect detection analysis on each captured image block to obtain an abnormal defect detection analysis result; The highway guardrail detection method based on image analysis is characterized in that the guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each captured image block are combined to obtain a first captured image block integrated description vector of each captured image block, including: Acquire a previously debugged abnormal defect detection network, wherein the abnormal defect detection network includes a description vector integration branch, an image element knowledge mining branch, and an abnormal defect detection analysis branch; The guardrail shape image description vector, the guardrail texture image description vector and the guardrail structure image description vector of each captured image block are passed into the description vector integration branch for description vector integration to obtain the first captured image block integrated description vector of each captured image block; The method of performing abnormal defect detection analysis on each of the captured image blocks based on the first captured image block integrated description vector of each of the captured image blocks and the second captured image block integrated description vector of the associated captured image block to obtain abnormal defect detection analysis results includes: The first captured image block integrated description vector of each captured image block is passed into the image element knowledge mining branch to perform an image element knowledge mining operation, so as to obtain an image element knowledge vector of each captured image block; The image element knowledge vector of each of the captured image blocks and the second captured image block integrated description vector of the associated captured image block are input into the abnormal defect detection and analysis branch to perform abnormal defect detection and analysis, thereby obtaining the abnormal defect detection and analysis result; The highway guardrail detection method based on image analysis is characterized in that the first captured image block integrated description vector of each captured image block is passed to the image element knowledge mining branch for image element knowledge mining operation to obtain the image element knowledge vector of each captured image block, including: The first captured image block integrated description vector of each captured image block is passed to the image element knowledge mining branch to perform an image element knowledge mining operation, so as to obtain an initial image element knowledge vector of each captured image block; Aggregating the first captured image block integrated description vector and the initial image element knowledge vector of each captured image block to obtain the image element knowledge vector of each captured image block; The highway guardrail detection method based on image analysis is characterized in that the image element knowledge vector of each captured image block and the second captured image block integrated description vector of the associated captured image block are transmitted to the abnormal defect detection analysis branch for abnormal defect detection analysis to obtain the abnormal defect detection analysis result, including: Aggregating the image element knowledge vector of each of the captured image blocks and the second captured image block integrated description vector of the captured image block associated therewith to obtain a third captured image block integrated description vector of each of the captured image blocks; The third captured image block integrated description vector of each captured image block is transmitted to the abnormal defect detection and analysis branch to perform abnormal defect detection and analysis, so as to obtain the abnormal defect detection and analysis result; Among them, the abnormal defect detection and analysis branch includes an image feature mapping node and an abnormal defect discrimination node; the third captured image block integrated description vector of each captured image block is passed into the abnormal defect detection and analysis branch for abnormal defect detection and analysis to obtain the abnormal defect detection and analysis result, including: passing the third captured image block integrated description vector of each captured image block into the image feature mapping node for image feature mapping processing to obtain an image feature mapping vector; passing the image feature mapping vector into the abnormal defect discrimination node for abnormal defect discrimination operation to obtain the abnormal defect detection and analysis result, and the abnormal defect detection and analysis result is used to characterize the quantitative possibility of the existence of abnormal defects in each captured image block.

2. The highway guardrail detection method based on image analysis as claimed in claim 1, characterized in that: The image element knowledge mining branch includes at least one of a pre-debugged residual block-based pre- and post-sequence feature mining module, a feedforward module, and a deep decision tree module.

3. The highway guardrail detection method based on image analysis as claimed in claim 1, characterized in that: The step of obtaining a guardrail texture image description vector of each captured image block in the captured image of the highway guardrail comprises: Acquire an image block unit sequence of each captured image block in the captured image of the highway guardrail; The image block unit sequence of each captured image block is transmitted to the first reversible feedforward module for description vector mining to obtain the guardrail texture image description vector of each captured image block.

4. The highway guardrail detection method based on image analysis as claimed in claim 1, characterized in that: The step of obtaining a guardrail structure image description vector of each captured image block in the captured image of the highway guardrail comprises: Acquire an image point cloud sequence of each of the captured image blocks in the captured image of the highway guardrail; The image point cloud sequence of each captured image block is transmitted to the second reversible feedforward module for description vector mining to obtain the guardrail structure image description vector of each captured image block.

5. The highway guardrail detection method based on image analysis as claimed in claim 1, characterized in that: The highway guardrail photographed images include photographed images to be reported for abnormal defect reporting; After performing abnormal defect detection analysis on each of the captured image blocks based on the first captured image block integrated description vector of each of the captured image blocks and the second captured image block integrated description vector of the associated captured image block to obtain the abnormal defect detection analysis result, the method further includes: Based on the abnormal defect detection and analysis results of each of the captured image blocks, a visual abnormality annotated image of the captured image to be reported is determined, and the visual abnormality annotated image is uploaded.

6. An image analysis detection system, characterized in that: It comprises a processor and a memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the highway guardrail detection method based on image analysis as described in any one of claims 1-5.

7. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the method for detecting highway guardrails based on image analysis as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and system for automatic generation of bridge detection report

    CN111127465A

  • Training method of object defect detection model and object defect detection method and device

    CN112348787A

  • Aircraft structural part defect nondestructive testing method based on machine vision

    CN115096893A

  • Guardrail and detection method thereof

    CN117090133A

  • Road element detection method and device, computer equipment and storage medium

    CN117292348A