Road asset inspection method, device and equipment and readable storage medium

By performing feature extraction and feature pyramid fusion on road asset image information, the problem of large computational load of the deep learning model is solved, real-time inspection on resource-limited equipment is realized, and the universality of the road traffic asset identification algorithm is improved.

CN118691940APending Publication Date: 2024-09-24SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410762067.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing road asset inspection technology relies on deep learning models, which consumes a lot of computing resources and makes it difficult to implement real-time inspections on resource-constrained devices, limiting application scenarios.

Method used

By obtaining road image information, performing feature extraction to obtain feature vectors of different sizes, and sending them to the feature pyramid for fusion, reducing the amount of calculation and achieving a lightweight model, which is suitable for real-time inspection of resource-constrained equipment.

Benefits of technology

It effectively reduces the amount of model calculations, enables real-time inspection of road assets on resource-limited equipment, and improves the universality of the traffic asset algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691940A
    Figure CN118691940A
Patent Text Reader

Abstract

The invention relates to the technical field of road asset detection, and relates to a road asset inspection method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining image information which comprises traffic assets on a road; performing feature extraction on the image information to obtain a first feature vector, a second feature vector and a third feature vector; sending the first feature vector, the second feature vector and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector and a processed third feature vector; the traffic assets included in the image information are detected according to the processed first feature vector, the processed second feature vector and the processed third feature vector, the calculation amount of the model is effectively reduced, the method can be used on equipment with limited resources to achieve the purpose of real-time routing inspection, and the detection efficiency is improved. And the universality of the traffic asset algorithm on the road is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of road asset detection, and in particular to a road asset inspection method, device, equipment and readable storage medium. Background Art

[0002] Existing road asset inspection technologies usually rely on complex deep learning models, which consume a lot of computing resources due to their deep network structure. In addition, due to the high computing resource consumption, existing technologies are not only difficult to achieve real-time inspections on resource-constrained devices (such as mobile terminals, drones, etc.), but also have many limitations in application scenarios. Therefore, there is an urgent need for a road asset inspection method that can effectively solve the problem of application scenario limitations of existing technologies. Summary of the invention

[0003] The object of the present invention is to provide a road asset inspection method, device, equipment and readable storage medium to improve the above-mentioned problems.

[0004] In order to achieve the above objectives, the present application provides the following technical solutions:

[0005] On the one hand, an embodiment of the present application provides a road asset inspection method, the method comprising:

[0006] Acquiring image information, the image information including traffic assets on the road;

[0007] Performing feature extraction on the image information to obtain a first feature vector, a second feature vector, and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector;

[0008] Sending the first feature vector, the second feature vector, and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector, and a processed third feature vector;

[0009] Traffic assets included in the image information are detected according to the processed first feature vector, the processed second feature vector, and the processed third feature vector.

[0010] In a second aspect, an embodiment of the present application provides a road asset inspection device, the device comprising:

[0011] An acquisition module, used to acquire image information, wherein the image information includes traffic assets on the road;

[0012] A first processing module is used to extract features from the image information to obtain a first feature vector, a second feature vector and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector;

[0013] A second processing module, used for sending the first feature vector, the second feature vector and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector and a processed third feature vector;

[0014] The third processing module is used to detect the traffic assets included in the image information according to the processed first feature vector, the processed second feature vector and the processed third feature vector.

[0015] In a third aspect, an embodiment of the present application provides a road asset inspection device, the device comprising a memory and a processor. The memory is used to store a computer program; the processor is used to implement the steps of the above road asset inspection method when executing the computer program.

[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned road asset inspection method are implemented.

[0017] The beneficial effects of the present invention are:

[0018] The present invention extracts features from image information including traffic assets to obtain feature vectors of different sizes, which are then sent to a feature pyramid for fusion. The inspection of road assets is then performed based on the fused feature vectors. The deep learning model used in the prior art is lightweight, which effectively reduces the computational complexity of the model. The present invention can be used on resource-constrained devices to achieve real-time inspection, further improving the universality of road traffic asset algorithms.

[0019] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] 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.

[0021] Figure 1 It is a schematic diagram of the process flow of the road asset inspection method described in an embodiment of the present invention.

[0022] Figure 2 It is a schematic diagram of the structure of the road asset inspection device described in an embodiment of the present invention.

[0023] Figure 3 It is a schematic diagram of the structure of the road asset inspection equipment described in an embodiment of the present invention.

[0024] Labels in the figure: 901, acquisition module; 902, first processing module; 903, second processing module; 904, third processing module; 9021, first processing unit; 9022, second processing unit; 9023, third processing unit; 9024, fourth processing unit; 9031, fifth processing unit; 9032, sixth processing unit; 9033, seventh processing unit; 90331, eighth processing unit; 90332, ninth processing unit; 90333, tenth processing unit; 90334, eleventh processing unit ; 90335, the twelfth processing unit; 90336, the thirteenth processing unit; 90337, the fourteenth processing unit; 90338, the fifteenth processing unit; 903361, the pooling unit; 903362, the computing unit; 903363, the sixteenth processing unit; 903364, the seventeenth processing unit; 903365, the eighteenth processing unit; 800, road asset inspection equipment; 801, processor; 802, memory; 803, multimedia component; 804, I / O interface; 805, communication component. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0026] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0027] Embodiment 1:

[0028] This embodiment provides a road asset inspection method. It can be understood that in this embodiment, a scene can be laid out, for example: using a low-cost (less than 200 yuan) camera to conduct real-time inspection of traffic assets on the road.

[0029] See also Figure 1 , the figure shows that the method includes step S1, step S2, step S3 and step S4, which specifically include:

[0030] Step S1, obtaining image information, wherein the image information includes traffic assets on the road;

[0031] In this step, image information is collected by a device with limited computing resources, which includes but is not limited to mobile devices or embedded devices. It is understandable that traffic assets on the road include but are not limited to billboards, signs, traffic lights, variable information boards, mileage post number plates, damaged signs, missing signs, polluted signs, obstructed signs, telephone poles, manhole covers, overpasses, and sound barriers.

[0032] Step S2, extracting features from the image information to obtain a first feature vector, a second feature vector and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector;

[0033] The step S2 also includes step S21, step S22, step S23 and step S24, which specifically include:

[0034] Step S21, sending the image information to the first convolutional layer to obtain a feature image;

[0035] Step S22, performing depth separable processing on the feature image to obtain the first feature vector;

[0036] In this step, the feature image is subjected to five depth-wise separable convolution processes to obtain a first feature vector, the size of which is 80×80 and the number of channels is 256.

[0037] Step S23, performing depth-separable processing on the first feature vector to obtain the second feature vector;

[0038] In this step, four depth-wise separable convolutions are performed on the first eigenvector to obtain a second eigenvector. The size of the second eigenvector is 40×40 and the number of channels is 512.

[0039] Step S24: Perform depth-separable processing on the second feature vector and then send it to the second convolutional layer to obtain the third feature vector.

[0040] In this step, the second eigenvector is subjected to two depth-wise separable convolution processes and then sent to the second convolution layer for processing to obtain a third eigenvector. The size of the third eigenvector is 20×20 and the number of channels is 1024.

[0041] In this embodiment, the prior art extracts the features of the image by using the yolov5 network. The image features are extracted in yolov5 through ordinary convolution. The number of channels of the input feature map is the same as the number of channels of the convolution kernel. One convolution kernel generates one feature map. However, the present application uses deep separable convolution to greatly reduce the number of model parameters and computational complexity.

[0042] It should be noted that, in this embodiment, a bottleneck structure is used to perform deep separable processing on the feature vector. The construction of the bottleneck structure is a technical solution well known to those skilled in the art and will not be described in detail here.

[0043] Step S3, sending the first feature vector, the second feature vector and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector and a processed third feature vector;

[0044] In this step, the feature pyramid can fuse feature vectors of different sizes, which is conducive to extracting better features.

[0045] The step S3 also includes step S31, step S32 and step S33, which specifically include:

[0046] Step S31, upsampling the first eigenvector to obtain a fourth eigenvector;

[0047] Step S32: sending the fourth eigenvector to the third convolutional layer to obtain a fifth eigenvector;

[0048] Step S33: Send the fifth eigenvector to the first attention layer to obtain a processed first eigenvector.

[0049] The step S33 also includes step S331, step S332, step S333, step S334 and step S335, which specifically include:

[0050] Step S331, upsampling the second eigenvector to obtain a sixth eigenvector;

[0051] Step S332: Send the sixth eigenvector to the fourth convolutional layer to obtain a seventh eigenvector;

[0052] Step S333: Send the seventh eigenvector to the fully connected layer to obtain an eighth eigenvector;

[0053] Step S334: Fusing the eighth eigenvector with the fifth eigenvector to obtain a fused first eigenvector;

[0054] In this step, before the eighth eigenvector is fused with the fifth eigenvector, the eighth eigenvector needs to be upsampled, and its size needs to be adjusted to be consistent with the fifth eigenvector before the fusion is performed.

[0055] Step S335: Send the fused first feature vector to the first attention layer to obtain the processed first feature vector.

[0056] It should be noted that in the feature pyramid, the fusion principle of the processed second eigenvector and the processed third eigenvector is the same as that of the processed first eigenvector, so it will not be repeated here. In this embodiment, three features containing different information are subjected to multi-scale feature fusion, so that each feature can be fused with the other two features, thereby achieving the purpose of feature enhancement.

[0057] The step S33 also includes step S336, step S337 and step S338, which specifically include:

[0058] Step S336: Send the fifth eigenvector to the first sub-attention layer to obtain a first sub-eigenvector, where the first sub-attention layer includes a spatial attention mechanism;

[0059] The step S336 also includes step S3361, step S3362, step S3363, step S3364 and step S3365, which specifically include:

[0060] Step S3361, performing global average pooling processing on the fifth eigenvector to obtain a fifth eigenvector after pooling processing;

[0061] Step S3362: Calculate the number of channels of the fifth eigenvector after the pooling process to obtain a convolution kernel size;

[0062] Step S3363: Send the fifth eigenvector after the pooling process to the convolution layer corresponding to the convolution kernel size to obtain the weight corresponding to each channel;

[0063] Step S3364: normalize the weight corresponding to each of the channels to obtain a normalized weight;

[0064] Step S3365: multiply the normalized weight by the weight of each channel in the fifth eigenvector correspondingly to obtain the first sub-eigenvector.

[0065] In this embodiment, a 1x1 convolutional layer is used directly after the global average pooling layer, and the fully connected layer is removed. This module avoids dimensionality reduction and effectively captures cross-channel interactions, and can achieve good detection results with only a small number of parameters. It should be noted that the adaptive function in the first sub-attention layer is:

[0066]

[0067] In the above formula, K represents the coverage of local cross-channel interactions, that is, how many areas are involved in the attention prediction of a channel, and c represents the number of input convolution channels.

[0068] Step S337: Send the fifth eigenvector to a second sub-attention layer to obtain a second sub-eigenvector, where the second sub-attention layer includes a channel attention mechanism;

[0069] In this step, a 1X1 convolutional layer is used to generate attention weights, and the fifth eigenvector is multiplied element-by-element by the attention weights to obtain the second sub-eigenvector.

[0070] Step S338: merge the first feature vector and the second sub-feature vector to obtain the processed first feature vector.

[0071] In the embodiment, the channel and spatial attention mechanisms are integrated, and the spatial direction attention is introduced into the original channel direction attention ECA module, thereby improving the effect of feature enhancement.

[0072] Step S4: Detect the traffic assets included in the image information according to the processed first feature vector, the processed second feature vector, and the processed third feature vector.

[0073] In this step, the processed first feature vector is (N, 80, 80, 255), the processed second feature vector is (N, 40, 40, 255), and the processed third feature vector is (N, 20, 20, 255). The three processed feature vectors need to be further decoded to make the prediction box appear in the corresponding image position. There are 3 prior boxes for each feature point on each feature layer. The last 255 of each feature layer can be split into 3 85s, corresponding to 85 parameters of the 3 prior boxes. In this embodiment, the three processed feature vectors are preprocessed to obtain (N, 20, 20, 3, 85), (N, 40.40, 3, 85), and (N, 80, 80, 3, 85). The 85 can be split into 4+1+80. The first four parameters are used to determine the regression parameters of each feature point. After the regression parameters are adjusted, the prediction box can be obtained; the fifth parameter is used to determine whether each feature point contains an object; the last 80 parameters are used to determine the type of object contained in each feature point.

[0074] It should be noted that the specific inspection based on the preprocessed feature vector is as follows:

[0075] According to the preprocessed first eigenvector (N, 80, 80, 3, 85), the offset of the center coordinates of the target frame and the width and height information of the target frame are obtained; according to the offset of the center coordinates of the target frame, the position of the feature point is adjusted to obtain the center coordinates of the target frame; according to the width and height information of the target frame, an exponential operation is performed to obtain the actual width and height information of the target frame; according to the center coordinates of the target frame, the actual width and height information of the target frame, a prediction frame is drawn; and the prediction frame is screened by using a non-maximum suppression algorithm to obtain a detection result.

[0076] The present invention improves the YOLOV5 algorithm. On the premise that the recognition accuracy does not change much from the original algorithm, the parameter amount is reduced by 60% (now about 20.000G, originally about 51.427G) compared with the original algorithm, thereby greatly increasing the detection speed of the algorithm and greatly reducing the demand for the computing power of the mounted equipment. Therefore, the present invention can be applied to devices with limited computing resources to realize real-time inspection of road assets, thereby improving the universality of the road traffic asset recognition algorithm.

[0077] Embodiment 2:

[0078] like Figure 2 As shown, this embodiment provides a road asset inspection device, which includes an acquisition module 901, a first processing module 902, a second processing module 903 and a third processing module 904, which specifically include:

[0079] An acquisition module 901 is used to acquire image information, wherein the image information includes traffic assets on the road;

[0080] A first processing module 902 is used to extract features from the image information to obtain a first feature vector, a second feature vector and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector;

[0081] A second processing module 903 is used to send the first feature vector, the second feature vector and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector and a processed third feature vector;

[0082] The third processing module 904 is configured to detect the traffic assets included in the image information according to the processed first feature vector, the processed second feature vector, and the processed third feature vector.

[0083] In a specific implementation of the present disclosure, the first processing module 902 further includes a first processing unit 9021, a second processing unit 9022, a third processing unit 9023 and a fourth processing unit 9024, which specifically include:

[0084] A first processing unit 9021 is used to send the image information to a first convolutional layer to obtain a feature image;

[0085] A second processing unit 9022 is used to perform depth separable processing on the feature image to obtain the first feature vector;

[0086] A third processing unit 9023 is used to perform depth separability processing on the first feature vector to obtain the second feature vector;

[0087] The fourth processing unit 9024 is used to perform depth-separable processing on the second eigenvector and then send it to the second convolutional layer to obtain the third eigenvector.

[0088] In a specific implementation of the present disclosure, the second processing module 903 further includes a fifth processing unit 9031, a sixth processing unit 9032 and a seventh processing unit 9033, which specifically include:

[0089] A fifth processing unit 9031 is configured to upsample the first feature vector to obtain a fourth feature vector;

[0090] A sixth processing unit 9032 is used to send the fourth eigenvector to the third convolutional layer to obtain a fifth eigenvector;

[0091] The seventh processing unit 9033 is used to send the fifth eigenvector to the first attention layer to obtain a processed first eigenvector.

[0092] In a specific implementation of the present disclosure, the seventh processing unit 9033 further includes an eighth processing unit 90331, a ninth processing unit 90332, a tenth processing unit 90333, an eleventh processing unit 90334 and a twelfth processing unit 90335, which specifically include:

[0093] An eighth processing unit 90331 is configured to upsample the second eigenvector to obtain a sixth eigenvector;

[0094] A ninth processing unit 90332 is configured to send the sixth eigenvector to a fourth convolutional layer to obtain a seventh eigenvector;

[0095] a tenth processing unit 90333, configured to send the seventh eigenvector to a fully connected layer to obtain an eighth eigenvector;

[0096] an eleventh processing unit 90334, configured to fuse the eighth eigenvector with the fifth eigenvector to obtain a fused first eigenvector;

[0097] The twelfth processing unit 90335 is used to send the fused first feature vector to the first attention layer to obtain the processed first feature vector.

[0098] In a specific implementation of the present disclosure, the seventh processing unit 9033 further includes a thirteenth processing unit 90336, a fourteenth processing unit 90337 and a fifteenth processing unit 90338, which specifically include:

[0099] A thirteenth processing unit 90336 is used to send the fifth eigenvector to a first sub-attention layer to obtain a first sub-eigenvector, wherein the first sub-attention layer includes a spatial attention mechanism;

[0100] A fourteenth processing unit 90337 is used to send the fifth eigenvector to a second sub-attention layer to obtain a second sub-eigenvector, wherein the second sub-attention layer includes a channel attention mechanism;

[0101] The fifteenth processing unit 90338 is used to merge the first feature vector and the second sub-feature vector to obtain the processed first feature vector.

[0102] In a specific implementation of the present disclosure, the thirteenth processing unit 90336 also includes a pooling unit 903361, a calculation unit 903362, a sixteenth processing unit 903363, a seventeenth processing unit 903364 and an eighteenth processing unit 903365, which specifically include:

[0103] A pooling unit 903361 is used to perform global average pooling processing on the fifth eigenvector to obtain a fifth eigenvector after pooling processing;

[0104] A calculation unit 903362 is used to calculate according to the number of channels of the fifth eigenvector after the pooling process to obtain a convolution kernel size;

[0105] A sixteenth processing unit 903363 is used to send the fifth eigenvector after the pooling process to the convolution layer corresponding to the convolution kernel size to obtain a weight corresponding to each channel;

[0106] A seventeenth processing unit 903364 is used to normalize the weight corresponding to each of the channels to obtain a normalized weight;

[0107] The eighteenth processing unit 903365 is used to multiply the normalized weight and the weight of each channel in the fifth eigenvector correspondingly to obtain the first sub-eigenvector.

[0108] It should be noted that, regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0109] Embodiment 3:

[0110] Corresponding to the above method embodiment, a road asset inspection device is also provided in this embodiment. The road asset inspection device described below and the road asset inspection method described above can refer to each other.

[0111] Figure 3 FIG. 8 is a block diagram of a road asset inspection device 800 according to an exemplary embodiment. Figure 3 As shown, the road asset inspection device 800 may include: a processor 801 and a memory 802. The road asset inspection device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.

[0112] The processor 801 is used to control the overall operation of the road asset inspection device 800 to complete all or part of the steps in the above-mentioned road asset inspection method. The memory 802 is used to store various types of data to support the operation of the road asset inspection device 800, and these data may include, for example, instructions for any application or method operating on the road asset inspection device 800, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 802 or sent via the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the road asset inspection device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 can include: Wi-Fi module, Bluetooth module, NFC module.

[0113] In an exemplary embodiment, the road asset inspection device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned road asset inspection method.

[0114] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned road asset inspection method are implemented. For example, the computer-readable storage medium may be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions may be executed by the processor 801 of the road asset inspection device 800 to complete the above-mentioned road asset inspection method.

[0115] Embodiment 4:

[0116] Corresponding to the above method embodiment, a readable storage medium is also provided in this embodiment. The readable storage medium described below and the road asset inspection method described above can refer to each other.

[0117] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the road asset inspection method of the above method embodiment.

[0118] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.

[0119] The above description is only a preferred embodiment of the present invention and is 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 replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0120] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A road asset inspection method, characterized in that: include: Acquiring image information, the image information including traffic assets on the road; Performing feature extraction on the image information to obtain a first feature vector, a second feature vector, and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector; Sending the first feature vector, the second feature vector, and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector, and a processed third feature vector; Traffic assets included in the image information are detected according to the processed first feature vector, the processed second feature vector, and the processed third feature vector.

2. The road asset inspection method according to claim 1, characterized in that: Sending the first feature vector, the second feature vector, and the third feature vector to a feature pyramid for feature fusion includes: Upsampling the first eigenvector to obtain a fourth eigenvector; Sending the fourth eigenvector to the third convolutional layer to obtain a fifth eigenvector; The fifth eigenvector is sent to the first attention layer to obtain a processed first eigenvector.

3. The road asset inspection method according to claim 2, characterized in that: Sending the fifth eigenvector to the first attention layer to obtain a processed first eigenvector includes: Upsampling the second eigenvector to obtain a sixth eigenvector; Sending the sixth eigenvector to the fourth convolutional layer to obtain a seventh eigenvector; Sending the seventh eigenvector to a fully connected layer to obtain an eighth eigenvector; Fusing the eighth eigenvector with the fifth eigenvector to obtain a fused first eigenvector; The fused first feature vector is sent to the first attention layer to obtain the processed first feature vector.

4. The road asset inspection method according to claim 2, characterized in that: Sending the fifth eigenvector to the first attention layer to obtain a processed first eigenvector includes: Sending the fifth eigenvector to a first sub-attention layer to obtain a first sub-eigenvector, wherein the first sub-attention layer includes a spatial attention mechanism; Sending the fifth feature vector to a second sub-attention layer to obtain a second sub-feature vector, wherein the second sub-attention layer includes a channel attention mechanism; The first feature vector and the second sub-feature vector are merged to obtain the processed first feature vector.

5. A road asset inspection device, characterized in that: include: An acquisition module, used to acquire image information, wherein the image information includes traffic assets on the road; A first processing module is used to extract features from the image information to obtain a first feature vector, a second feature vector and a third feature vector, wherein the size of the first feature vector is larger than the size of the second feature vector, and the size of the second feature vector is larger than the size of the third feature vector; A second processing module, used for sending the first feature vector, the second feature vector and the third feature vector to a feature pyramid for feature fusion to obtain a processed first feature vector, a processed second feature vector and a processed third feature vector; The third processing module is used to detect the traffic assets included in the image information according to the processed first feature vector, the processed second feature vector and the processed third feature vector.

6. The road asset inspection device according to claim 5, characterized in that: The second processing module comprises: a fifth processing unit, configured to upsample the first eigenvector to obtain a fourth eigenvector; a sixth processing unit, configured to send the fourth eigenvector to a third convolutional layer to obtain a fifth eigenvector; The seventh processing unit is used to send the fifth eigenvector to the first attention layer to obtain a processed first eigenvector.

7. The road asset inspection device according to claim 6, characterized in that: The seventh processing unit comprises: an eighth processing unit, configured to upsample the second eigenvector to obtain a sixth eigenvector; a ninth processing unit, configured to send the sixth eigenvector to a fourth convolutional layer to obtain a seventh eigenvector; a tenth processing unit, configured to send the seventh eigenvector to a fully connected layer to obtain an eighth eigenvector; an eleventh processing unit, configured to fuse the eighth eigenvector with the fifth eigenvector to obtain a fused first eigenvector; A twelfth processing unit is used to send the fused first feature vector to the first attention layer to obtain the processed first feature vector.

8. The road asset inspection device according to claim 6, characterized in that: The seventh processing unit comprises: a thirteenth processing unit, configured to send the fifth eigenvector to a first sub-attention layer to obtain a first sub-eigenvector, wherein the first sub-attention layer includes a spatial attention mechanism; a fourteenth processing unit, configured to send the fifth eigenvector to a second sub-attention layer to obtain a second sub-eigenvector, wherein the second sub-attention layer includes a channel attention mechanism; The fifteenth processing unit is configured to fuse the first feature vector and the second sub-feature vector to obtain the processed first feature vector.

9. A road asset inspection device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the road asset inspection method as claimed in any one of claims 1 to 4 when executing the computer program.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the road asset inspection method according to any one of claims 1 to 4 are implemented.