Road detection method and device, storage medium and electronic device

Detecting the health status of road facilities through a multi-scale scene feature description model solves the problem that traditional methods cannot detect automatically in real time and improves the maintenance efficiency of road infrastructure.

CN114332816BActive Publication Date: 2024-09-24ZHEJIANG HUARUIJIE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111629635.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-09-24
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

Traditional methods cannot automatically detect, identify and locate the health status of road scene-related facilities in real time, resulting in low efficiency in road infrastructure maintenance.

Method used

A multi-scale scene feature description model is used to detect and determine the current status of indicating devices, marking lines and sunken areas on the road by acquiring road scene pictures and generating multi-scale convolution feature maps.

Benefits of technology

It realizes real-time automatic detection and identification of the health status of road facilities, reduces investment in regular manual inspections and maintenance, and improves the efficiency of road infrastructure maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114332816B
    Figure CN114332816B
Patent Text Reader

Abstract

The present invention discloses a road detection method and device, a storage medium and an electronic device, wherein the method comprises: obtaining a scene picture corresponding to a road scene area, and inputting the scene picture into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale comprises: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale; detecting the scene picture according to the convolution feature map of the first scale to obtain a first marker corresponding to a road in the road scene area, detecting the scene picture according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detecting the scene picture according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; and determining the current states of the first marker, the second marker and the third marker.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a road detection method and device, a storage medium and an electronic device. Background Art

[0002] With the rapid development of artificial intelligence technology, the application of vision systems in road traffic and intelligent vehicle-mounted equipment is becoming more and more abundant. In existing road transport vehicles, the installation rate of vision systems is increasing year by year and the intelligent functions are becoming more and more abundant. In the intelligent driving system, the on-board vision system can be used to identify road scene signs, markings and traffic lights, and inform the driver of potential driving risks through the interactive system, which can effectively improve driving safety.

[0003] Among the existing detection technologies, the patent "A Road Sign Detection Method, System, Device and Medium 202010818710.0" builds a semantic segmentation network and uses the semantic segmentation network to detect road signs on the input image, obtains a grayscale image containing different categories of road signs, and identifies different categories of road signs based on the grayscale image. However, the main disadvantage of this method is that this method realizes the detection and type judgment of road signs through scene semantic analysis, cannot output the wear status of the corresponding signs, and its application scope is limited to road signs.

[0004] The patent "Traffic Sign Detection Method, Device, Computer Equipment and Storage Medium 202110036977.9" is based on the similarity analysis of the current traffic sign target and the historical target matching, which improves the accuracy and efficiency of traffic sign detection, and the road image to be detected with the target detection state change of the target traffic sign can be used to update the map. However, the main disadvantage of this method is that it needs to rely on historical information for traffic sign image feature matching.

[0005] The patent "A Road Health Monitoring Method and System 201810580520.2" is based on the parameters of the degree of wear of vehicle tires on the monitored roads, generating a road condition maintenance data model, thereby realizing the monitoring of road conditions and maintenance prompts, reducing traffic congestion caused by large-scale road repairs, and also extending the service life of the road. However, the main disadvantage of this method is that it can only analyze the wear of roads of specific materials, and cannot identify the wear of road signs and the status of other road facilities (signs, traffic lights), and the application scenarios are extremely limited.

[0006] Regarding related technologies, traditional methods cannot automatically detect, identify, and locate the health status of road scene-related facilities in real time, resulting in low efficiency in road infrastructure maintenance. No effective solution has yet been proposed.

[0007] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention

[0008] Embodiments of the present invention provide a road detection method and device, a storage medium and an electronic device to at least solve the problem that traditional methods cannot automatically detect, identify and locate the health status of road scene-related facilities in real time, resulting in low road infrastructure maintenance efficiency.

[0009] According to one aspect of an embodiment of the present invention, a road detection method is provided, comprising: obtaining a scene image corresponding to a road scene area, and inputting the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale; detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to a road in the road scene area, detecting the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detecting the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road; and determining the current states of the first marker, the second marker and the third marker.

[0010] According to another aspect of an embodiment of the present invention, a road detection device is also provided, including: an acquisition module, used to acquire a scene image corresponding to a road scene area, and input the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale; a detection module, used to detect the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detect the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detect the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road; a determination module, used to determine the current states of the first marker, the second marker and the third marker.

[0011] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned road detection method when running.

[0012] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the road detection method through the computer program.

[0013] Through the present invention, a scene image corresponding to a road scene area is obtained, and the scene image is input into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, and then the first marker, the second marker and the third marker corresponding to the road in the road scene area are determined through the multi-scale convolution feature map, and the current status of the first marker, the second marker and the third marker are determined. The above technical solution solves the problem that traditional methods cannot automatically detect, identify and locate the health status of road scene-related facilities in real time, resulting in low road infrastructure maintenance efficiency. The above technical solution is then adopted to reduce the investment in regular manual inspections and maintenance while improving the road infrastructure maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0015] Figure 1 is a hardware structure block diagram of a computer terminal of a road detection method according to an embodiment of the present invention;

[0016] Figure 2 is a flowchart of a road detection method according to an embodiment of the present invention (I);

[0017] Figure 3 is a schematic diagram of a system according to an embodiment of the present invention;

[0018] Figure 4 is a flow chart of a road detection method according to an embodiment of the present invention (II);

[0019] Figure 5 is a schematic diagram of a neural network topology according to an embodiment of the present invention;

[0020] Figure 6 is a schematic diagram of an electronic signage state recognition algorithm according to an embodiment of the present invention;

[0021] Figure 7 4 is a structural block diagram of a road detection device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal of a road detection method according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 104 for storing data. In an exemplary embodiment, the computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.

[0025] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the road detection method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0026] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0027] In order to solve the above problem, a road detection method is provided in this embodiment. Figure 2 Flowchart (I) of a road detection method according to an embodiment of the present invention, the process comprises the following steps:

[0028] Step S202, obtaining a scene image corresponding to the road scene area, and inputting the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale;

[0029] In an exemplary embodiment, taking the resolution of the scene image as a standard, assuming that the resolution of the scene image is the target resolution, the first scale is 1 / 4 of the target resolution, the second scale is 1 / 8 of the target resolution, and the third scale is 1 / 16 of the target resolution.

[0030] In an exemplary embodiment, neural network operations such as convolution, pooling, activation, upsampling, and channel cascading can be used to perform multi-scale scene feature description on the pre-processed three-channel image (the above-mentioned scene image) input to generate a multi-scale (the default is 3 scales: 1 / 4, 1 / 8, and 1 / 16) convolution feature map for subsequent road facility and sign detection tasks.

[0031] Step S204, detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detecting the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detecting the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicator device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road;

[0032] In an exemplary embodiment, the indicating device includes, but is not limited to: an electronic signal light, a traffic sign, and the target object is a manhole cover.

[0033] Step S206, determining the current status of the first marker, the second marker and the third marker.

[0034] Through the above steps, the scene image corresponding to the road scene area is obtained, and the scene image is input into the multi-scale scene feature description model to obtain a multi-scale convolution feature map, and then the first marker, the second marker and the third marker corresponding to the road in the road scene area are determined through the multi-scale convolution feature map, and the current status of the first marker, the second marker and the third marker are determined. The above technical solution solves the problem that the traditional method cannot automatically detect, identify and locate the health status of road scene-related facilities in real time, resulting in low road infrastructure maintenance efficiency. The above technical solution is then adopted to reduce the investment in regular manual inspections and maintenance while improving the road infrastructure maintenance efficiency.

[0035] In an exemplary embodiment, the scene image is detected according to the convolutional feature map of the first scale to obtain the first marker corresponding to the road in the road scene area, which can be achieved in the following way: determine the convolutional feature map of the indicating device, and downsample the convolutional feature map of the indicating device to obtain the convolutional feature map of the indicating device at a third scale; perform feature cascading on the convolutional feature map of the scaled first feature map and the convolutional feature map of the indicating device at the third scale to obtain the first feature map; detect the scene area through the first feature map to obtain the indicating device corresponding to the road in the road scene area.

[0036] In this embodiment, the indicating device includes but is not limited to traffic lights and signboards. Specifically, this embodiment is based on a 1 / 4 shallow shared convolution feature description input, a cascaded fine-grained traffic light / signboard convolution feature description, and a 1 / 16 scale feature map to detect traffic lights and signboards according to the prior traffic signal sign size and ratio. The network output is filtered through confidence thresholds, non-maximum suppression and other post-processing operations, and then the traffic light and sign categories (0-background, 1-traffic light, 2-signboard) and the position in the image coordinate system are output. It should be noted that the loss function of the training process adopts a classification loss function based on cross entropy and a regression loss function based on SmoothL1.

[0037] In an exemplary embodiment, the scene image is detected according to the convolutional feature map of the first scale to obtain the first marker corresponding to the road in the road scene area, which can be achieved in the following way: determine the convolutional feature map of the target object, and downsample the convolutional feature map of the target object to obtain the convolutional feature map of the target object at a third scale; perform feature cascading on the convolutional feature map of the first scale and the convolutional feature map of the target object at the third scale to obtain a second feature map; detect the scene area through the second feature map to obtain the target object corresponding to the road in the road scene area.

[0038] In this embodiment, the target object includes but is not limited to the manhole cover. Specifically, this embodiment can be based on the 1 / 4 scale shared shallow convolution feature description input, cascade fine-grained manhole cover feature description in the 1 / 16 scale feature map according to the manhole cover scale within 30 meters of the preset scene to detect the road manhole cover, output the manhole cover confidence and position in the image coordinate system, and output the road manhole cover position after post-processing such as maximum suppression and confidence filtering. The loss function adopts the classification loss function based on cross entropy and the regression loss function based on SmoothL1.

[0039] In an exemplary embodiment, the scene image is detected according to the convolutional feature map of the second scale and the convolutional feature map of the third scale to obtain the second marker corresponding to the road. This can be achieved in the following way: convolution the convolutional feature map of the third scale, and down-sample the convolved feature map to obtain a third feature map; feature cascade the feature map of the second scale and the third feature map to obtain a fourth feature map; and the fourth feature map is processed by a feature decoder to detect the scene image and obtain the second marker corresponding to the road.

[0040] Specifically, this embodiment is based on cascaded multi-scale convolution feature description, and uses a feature decoder (convolution and upsampling unit) to perform pixel-level road marking line segmentation at a 1 / 8 feature scale by upsampling the feature channel, and outputs a road marking line MASK (0-background, 1-lane line, 2-road arrow, 3-zebra crossing, 4-road crack, 5-other markings). The training process uses manually annotated pixel-level supervision labels and adopts a batch gradient descent solution to optimize the pixel-level cross entropy loss function.

[0041] In an exemplary embodiment, the scene image is detected according to the convolution feature map of the third scale to obtain the third marker corresponding to the road, which can be achieved in the following way: scene optical flow image features are determined based on temporally adjacent image data; the convolution feature map of the third scale is cascaded with the scene optical flow image features, and the cascaded feature map is convolved to obtain a fifth feature map; the scene image is detected by the fifth feature map to obtain the third marker corresponding to the road.

[0042] Specifically, this embodiment generates a scene optical flow channel based on temporally adjacent image data, cascades the scene optical flow and multi-scale feature channel data, and after convolution reconstruction description, performs road pothole detection in a 1 / 16 scale mixed feature map according to a preset anchor frame scale, and outputs the road pothole position after network post-processing. The loss function of the training process adopts a classification loss function based on cross entropy and a regression loss function based on SmoothL1.

[0043] In an exemplary embodiment, determining the current state of the first identifier can be achieved in the following manner: performing feature pooling processing on the feature map of the traffic light to obtain a feature description map of the traffic light; cascading the feature description map of the traffic light with the fine-grained feature description map of the traffic light, and inputting the cascaded feature description map into a long short-term memory network model to determine the current state of the traffic light, wherein the current state includes at least one of the following: normal state, abnormal state, and unenabled state; the indicating device includes the traffic light.

[0044] Specifically, the detection results of electronic traffic lights and signs can be used to pool the features of the target area of ​​interest, align the features of 10 consecutive frames in time series and cascade them, and after fine-grained feature description, they are sent to the LSTM unit for time series segment status classification, and the working status of the electronic traffic lights and signs can be output (0-normal, 1-abnormal, 2-not enabled).

[0045] In an exemplary embodiment, determining the current state of the first identifier can be achieved in the following manner: performing feature pooling processing on the feature map of the sign to obtain a feature description map of the sign; cascading the feature description map of the sign with the fine-grained feature description map of the sign, and inputting the cascaded feature description map into a target classifier to determine the type and working state of the sign, wherein the type includes: predefined type, non-predefined type; the working state includes at least one of the following: normal state, abnormal state; the indicating device includes the sign, and the target classifier includes: a sign type classifier, a state recognition classifier.

[0046] Specifically, in this embodiment, for non-electronic signs, feature pooling of targets of interest is performed based on the traffic sign detection results, and for the shallow image feature map after pooling, the fine-grained sign convolution feature description is cascaded and sent to the sign type and status recognition classifier in parallel to output the traffic sign type (0-other, 1-60 predefined sign categories) and working status (0-normal, 1-affects recognition).

[0047] In an exemplary embodiment, determining the current state of the first marker can be achieved in the following manner: performing region of interest feature pooling on the feature map of the target object to obtain a feature description map of the target object; cascading the feature description map of the target object with the fine-grained feature description map of the target object, and inputting the cascaded feature description map into a state recognition classifier to determine the current state of the first marker, wherein the current state includes at least one of the following: normal state, protruding state, and uncovered state.

[0048] Specifically, in this embodiment, based on the road manhole cover detection results, the region of interest is pooled in the shallow shared feature map, and then the fine-grained manhole cover convolutional feature description and the state recognition classifier are cascaded to output the state of each road manhole cover (0-normal, 1-protruding, 2-uncovered).

[0049] In an exemplary embodiment, determining the current state of the second marker can be achieved in the following manner: clustering the second markers of the same category, and performing region of interest feature pooling on the feature maps of the clustered second markers to obtain a feature description map of the second marker; cascading the feature description map with the fine-grained feature description map of the second marker, and inputting the cascaded feature description map into a state recognition classifier to determine the current state of the second marker, wherein the current state includes at least one of the following: normal state, light wear, and heavy wear.

[0050] Specifically, in this embodiment, based on the road marking segmentation results, the Euclidean distance of the image coordinate system is used to cluster and post-process the road markings of the same type, and the clustered road marking line instances are pooled into regions of interest in the shared feature map. Then, the fine-grained road marking convolutional feature description and state recognition classifier are cascaded to output the state of each road marking line (0-normal, 1-mild wear, 2-severe wear, 3-other).

[0051] Obviously, the above-described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. In order to better understand the above-mentioned road detection method, the above-mentioned process is described below in conjunction with the embodiments, but it is not intended to limit the technical solution of the embodiments of the present invention, specifically:

[0052] In an optional embodiment, a road facility and sign status inspection system based on vehicle-mounted intelligent visual perception is proposed. Figure 3 is a schematic diagram of a system according to an embodiment of the present invention. Figure 3As shown in the figure, the on-board intelligent visual sensor detects and identifies the health status of road facilities in real time, reports to the corresponding platform in combination with GPS positioning information, and the platform queries the corresponding equipment number based on the corresponding map information and records related events. The on-board visual intelligent terminal mainly includes: visual encoding and decoding module, intelligent analysis module (composed of neural network acceleration unit and general processor), combined navigation module, communication module, storage module and power module; the platform mainly includes: road facility database, intelligent retrieval module (processing unit), communication module, storage module and power module.

[0053] Figure 4 It is a flowchart (II) of the road detection method according to an embodiment of the present invention, which specifically includes: online visual system calibration; vehicle-mounted image acquisition; after acquisition, the image is synchronized with the GPS signal coarse positioning signal and sent to the intelligent analysis module; after the image area of ​​interest is detected by road facilities and the health status of road facilities is classified, a single frame of road facility structured data output is formed; the corresponding output is filtered by the timing signal and uploaded to the platform through the communication module according to the predefined protocol; the platform receives and parses the corresponding protocol, retrieves the corresponding road identification ID according to the GPS location and the road facility structured data category, and stores it in the storage device after associating the event. Specifically:

[0054] Step 1: Online calibration of the visual system: The visual system is installed horizontally outward at a fixed height in the center of the vehicle's windshield. As an option, online calibration can improve the accuracy of event positioning, but it does not affect the realization of system functions. Based on the road marking line detection model described in step 3, the system pitch angle is calibrated using the prior parallel geometric relationship of the straight road lane line data; based on the IMU integrated vehicle driving trajectory, the system yaw angle is calibrated using the heading angle of the lane line of the straight trajectory.

[0055] Step 2: On-board image acquisition and preprocessing: Image acquisition mainly includes resolution and acquisition frequency settings, which are achieved by modifying the factory configuration parameters of the camera sensor. Image preprocessing mainly includes adaptive adjustment of exposure parameters, gain parameters, and white balance parameters, image 3D noise reduction, and digital wide dynamic parameter adjustment, which can be achieved by adjusting the algorithm parameters of the camera's fixed ISP module. After preprocessing, the image is cropped, scaled, and normalized, and then sent to the subsequent cascade neural network analysis module.

[0056] Step 3: Road facilities and signs inspection: Figure 5 is a schematic diagram of a neural network topology according to an embodiment of the present invention, such as Figure 5 As shown, based on the shared convolution image features, using Figure 5The multi-task neural network architecture shown in the figure detects interesting facilities and signs in road scenes: the image input is described by shared multi-scale convolution features, and based on this shared convolution feature, road marking lines and cracks are segmented, traffic lights and signs, road manhole covers and potholes are detected at specific feature scales. After offline supervised training of model parameters, they are deployed on the corresponding embedding platform after compression operations such as quantization and sparsification. Specifically:

[0057] (1) Shared convolutional feature description: The preprocessed three-channel image input is subjected to multi-scale scene feature description using neural network operations such as convolution, pooling, activation, upsampling, and channel cascading to generate a multi-scale (the default is 3 scales: 1 / 4, 1 / 8, and 1 / 16) convolutional feature map for subsequent road facility and sign detection tasks.

[0058] (2) Pavement marking lines and crack segmentation: Figure 5 As shown in the road marking line segmentation branch, based on the cascaded multi-scale convolution feature description, the feature decoder (convolution and upsampling unit) is used to perform pixel-level road marking line segmentation at a 1 / 8 feature scale through up and down sampling of feature channels, and the road marking line MASK (0-background, 1-lane line, 2-road arrow, 3-zebra crossing, 4-road crack, 5-other markings) is output. The training process uses the manually annotated pixel-level supervision labels and adopts the batch gradient descent solution method to optimize the pixel-level cross entropy loss function.

[0059] (3) Traffic light and sign detection: Figure 5 As shown in the signal light and sign detection branch, based on the 1 / 4 shallow shared convolution feature description input, the cascaded fine-grained signal light / sign convolution feature description, and the prior traffic signal sign size and ratio, the traffic light and sign detection is performed in the 1 / 16 scale feature map. After the network output is filtered by confidence threshold and non-maximum suppression and other post-processing operations, the traffic light and sign category (0-background, 1-sign, 2-sign) and the position in the image coordinate system are output. The loss function of the training process adopts the classification loss function based on cross entropy and the regression loss function based on SmoothL1.

[0060] (4) Road manhole cover inspection: Figure 5 As shown in the road manhole cover detection branch, based on the 1 / 4 scale shared shallow convolution feature description input, the cascaded fine-grained manhole cover feature description is used to detect the road manhole cover in the 1 / 16 scale feature map according to the manhole cover scale within 30 meters of the preset scene, and the manhole cover confidence and position in the image coordinate system are output. After post-processing such as maximum suppression and confidence filtering, the road manhole cover position is output. The training parameter adjustment and loss function design are the same as above (3).

[0061] (5) Road pothole detection: Generate scene optical flow channels based on temporally adjacent image data, cascade scene optical flow and multi-scale feature channel data, and perform road pothole detection in a 1 / 16 scale mixed feature map according to the preset anchor frame scale after convolution reconstruction description. Output the road pothole location after network post-processing. The training parameter adjustment and loss function design are the same as above (3).

[0062] Step 4: Road facility and sign status analysis: Based on the three road facility and sign detection results, reuse the convolutional feature descriptions of various road facilities and signs, cascade various road facility status analysis classifiers, and output the road facility usage status.

[0063] 1) Pavement marking line status classification: Based on the pavement marking segmentation results in step 3 (2), the same type of pavement markings are clustered and processed using the Euclidean distance in the image coordinate system. The clustered pavement marking line instances are pooled in the shared feature map described in step 3 (1) to form the region of interest. Then, the fine-grained pavement marking line convolutional feature description and state recognition classifier are cascaded to output the state of each pavement marking line (0-normal, 1-mildly worn, 2-severely worn, 3-other).

[0064] 2) Sign status classification: For non-electronic signs, the target features of interest are pooled based on the traffic sign detection results in step 3 (3). For the shallow image feature map after pooling, the fine-grained sign convolutional feature description is cascaded and sent to the sign type and status recognition classifier in parallel to output the traffic sign type (0-other, 1-60 predefined sign categories) and working status (0-normal, 1-affects recognition).

[0065] 3) Road manhole cover status classification: Similar to 2), based on the road manhole cover detection results in step 3 (4), the region of interest is pooled in the shallow shared feature map described in step 3 (1), and then the fine-grained manhole cover convolutional feature description and status recognition classifier are cascaded to output the status of each road manhole cover (0-normal, 1-protruding, 2-uncovered).

[0066] 4) Classification of electronic signal lights and electronic signboard status: Figure 6 is a schematic diagram of an electronic signage state recognition algorithm according to an embodiment of the present invention. Figure 6 As shown, based on the electronic traffic light and sign detection results in step three (3), feature pooling of the target area of ​​interest is performed, and the features of 10 consecutive frames of time series are aligned and cascaded. After fine-grained feature description, they are sent to the LSTM unit for time series segment state classification, and the working status of the electronic traffic light and sign is output (0-normal, 1-abnormal, 2-not enabled).

[0067] Step 5: Time series structured data analysis: Construct scene structured data based on the intelligent visual analysis results in steps 3 and 4, mainly including road facility ID, type, subtype, working status and life cycle.

[0068] (1) Road facility ID: The road facility ID is updated according to the first-in-first-out strategy. The latest road facilities are recorded in the memory with a fixed length, and the number range is 1-200.

[0069] (2) Road facility type: Based on the three detection results, update the corresponding ID target facility type: 1-pavement marking line, 2-pavement crack, 3-pavement pothole, 4-pavement manhole cover, 5-traffic sign, 6-electronic signal light.

[0070] (3) Road facility subtype: Based on the detection results in step 3, update the corresponding ID target facility subtype: road markings (lane lines / road arrows / zebra crossings / other markings), road cracks / road potholes / road manhole covers (n / a), traffic signs (speed limit / prohibition signs), electronic signal lights (traffic lights / electronic speed limits). Define the subtype temporal confidence according to the corresponding type life cycle count percentage.

[0071] (4) Working status of road facilities: Based on the identification results in step 4, update the working status of the corresponding ID target facilities: road marking lines (0-normal, 1-slightly worn, 2-severely worn, 3-other), signboards (0-normal, 1-affecting identification), road manhole covers (0-normal, 1-protruding, 2-uncovered), electronic signal lights and signs (0-normal, 1-abnormal, 2-not enabled). Define the working status timing confidence according to the corresponding status life cycle count percentage.

[0072] (5) Road facility life cycle: The image coordinate system overlap calculation of the time series detection results is used to match the same type of time series detection targets. According to the preset overlap threshold, it is determined whether the target is an existing target and its life cycle status is updated.

[0073] Step 6: Event post-processing: Based on the analysis results of the time-series structured data in step 5, for a certain target ID, if its life cycle is greater than the preset threshold T, and the timing confidence of the abnormal working state is greater than the preset threshold S, the corresponding life cycle segment data in the video cache data is obtained and encoded in H264 or 265 format. At the same time, the current position of the vehicle is read from the integrated navigation system and combined with the structured data in step 5 and uploaded to the cloud / server platform through the communication module according to the predefined protocol.

[0074] Step 7: Platform event processing: mainly includes event parsing, storage and retrieval.

[0075] (1) Event parsing: Parsing the corresponding event data based on the predefined transmission protocol in step 6;

[0076] (2) Event storage: Store parsed events as video and non-video structured data on the platform device.

[0077] (3) Event retrieval: Based on the cloud-based road facility database, abnormal work events are retrieved based on dimensions such as location, road facility type, and abnormal work status type.

[0078] It should be noted that this application is based on the first-stage coarse-grained road facility and sign detection and the second-stage fine-grained road facility and sign classification and working status identification, sharing neural network computing resources to achieve comprehensive analysis of multi-task road scene facilities and signs; and comprehensive use of image texture information and temporal motion information can improve the accuracy and robustness of detection of road defects such as potholes and electronic sign faults; in addition, the system is based on RGB on-board visual camera input and limited embedded edge computing power, and has a wide range of application scenarios, and can be applied to various types of operations and patrol vehicles.

[0079] In addition, the above technical scheme of the embodiment of the present invention has the following advantages: (1) Based on shared shallow image features, through the first-stage coarse-grained road facility and sign detection and the second-stage fine-grained road facility and sign classification and working status recognition, multi-task road scene facility and sign joint analysis is realized; (2) Based on the cascade of image texture and motion optical flow information channel input, road potholes are identified by using the road pothole texture and motion edge saliency characteristics; (3) Based on the single-frame electronic sign feature description, the time series segment information is integrated, and the long short-term memory time series network is used to identify the working status, which effectively improves the detection of electronic sign flashing faults; (4) The road maintenance events reported are jointly screened through the time series structured data life cycle and fault confidence; (5) The working status and maintenance plan of road facilities are updated in combination with the cloud database.

[0080] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.

[0081] In this embodiment, a road detection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0082] Figure 7 is a structural block diagram of a road detection device according to an embodiment of the present invention, the device comprising:

[0083] The acquisition module 72 is used to acquire a scene image corresponding to the road scene area, and input the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale;

[0084] The detection module 74 is used to detect the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detect the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detect the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicator device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road;

[0085] The determination module 76 is used to determine the current status of the first identifier, the second identifier and the third identifier.

[0086] Through the above-mentioned device, a scene image corresponding to the road scene area is obtained, and the scene image is input into the multi-scale scene feature description model to obtain a multi-scale convolution feature map, and then the first marker, the second marker and the third marker corresponding to the road in the road scene area are determined through the multi-scale convolution feature map, and the current status of the first marker, the second marker and the third marker are determined. The above-mentioned technical solution solves the problem that the traditional method cannot automatically detect, identify and locate the health status of road scene-related facilities in real time, resulting in low road infrastructure maintenance efficiency. The above-mentioned technical solution is then adopted to reduce the investment in regular manual inspections and maintenance while improving the road infrastructure maintenance efficiency.

[0087] In an exemplary embodiment, the detection module 74 is also used to determine the convolution feature map of the indicating device, and downsample the convolution feature map of the indicating device to obtain the convolution feature map of the indicating device at a third scale; perform feature cascading on the convolution feature map of the first scale and the convolution feature map of the indicating device at the third scale to obtain a first feature map; and detect the scene area through the first feature map to obtain the indicating device corresponding to the road in the road scene area.

[0088] In an exemplary embodiment, the detection module 74 is also used to determine the convolution feature map of the target object, and downsample the convolution feature map of the target object to obtain the convolution feature map of the target object at a third scale; perform feature cascading on the convolution feature map of the first scale and the convolution feature map of the target object at the third scale to obtain a second feature map; and detect the scene area through the second feature map to obtain the target object corresponding to the road in the road scene area.

[0089] In an exemplary embodiment, the detection module 74 is also used to convolve the convolution feature map of the third scale, and downsample the convolved feature map to obtain a third feature map; perform feature cascading on the feature map of the second scale and the third feature map to obtain a fourth feature map; and process the fourth feature map through a feature decoder to detect the scene image and obtain a second marker corresponding to the road.

[0090] In an exemplary embodiment, the detection module 74 is also used to determine the scene optical flow image features based on time-series adjacent image data; cascade the convolution feature map of the third scale with the scene optical flow image features, and convolve the cascaded feature map to obtain a fifth feature map; detect the scene image through the fifth feature map to obtain a third marker corresponding to the road.

[0091] In an exemplary embodiment, the determination module 76 is also used to perform feature pooling processing on the feature map of the traffic light in the region of interest to obtain a feature description map of the traffic light; cascade the feature description map of the traffic light with the fine-grained feature description map of the traffic light, and input the cascaded feature description map into the long short-term memory network model to determine the current state of the traffic light, wherein the current state includes at least one of the following: normal state, abnormal state, and unenabled state; the indicating device includes the traffic light.

[0092] In an exemplary embodiment, the determination module 76 is also used to perform feature pooling processing on the feature map of the signboard to obtain a feature description map of the signboard; cascade the feature description map of the signboard with the fine-grained feature description map of the signboard, and input the cascaded feature description map into the target classifier to determine the type and working status of the signboard, wherein the type includes: predefined type, non-predefined type; the working status includes at least one of the following: normal state, abnormal state; the indicating device includes the signboard, and the target classifier includes: a signboard type classifier, a state recognition classifier.

[0093] In an exemplary embodiment, the determination module 76 is also used to perform region of interest feature pooling on the feature map of the target object to obtain a feature description map of the target object; cascade the feature description map of the target object with the fine-grained feature description map of the target object, and input the cascaded feature description map into a state recognition classifier to determine the current state of the first identifier, wherein the current state includes at least one of the following: normal state, protruding state, uncovered state.

[0094] In an exemplary embodiment, the determination module 76 is also used to cluster the second identifiers of the same category, and perform feature pooling of the region of interest on the feature maps of the clustered second identifiers to obtain a feature description map of the second identifier; cascade the feature description map with the fine-grained feature description map of the second identifier, and input the cascaded feature description map into a state recognition classifier to determine the current state of the second identifier, wherein the current state includes at least one of the following: normal state, light wear, and heavy wear.

[0095] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0096] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0097] S1, obtaining a scene image corresponding to a road scene area, and inputting the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale, and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale;

[0098] S2, detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detecting the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detecting the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road;

[0099] S3, determining the current status of the first marker, the second marker and the third marker.

[0100] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0101] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0102] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0103] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0104] S1, obtaining a scene image corresponding to a road scene area, and inputting the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale, and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale;

[0105] S2, detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detecting the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detecting the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road;

[0106] S3, determining the current status of the first marker, the second marker and the third marker.

[0107] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0108] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0109] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0110] 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 principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A road detection method, characterized in that: include: Obtain a scene image corresponding to the road scene area, and input the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale, and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale; The scene image is detected according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, the scene image is detected according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and the scene image is detected according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road; Determining current states of the first identifier, the second identifier, and the third identifier; The step of detecting the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road includes: Convolving the convolution feature map of the third scale, and downsampling the convolved feature map to obtain a third feature map; Performing feature concatenation on the feature map of the second scale and the third feature map to obtain a fourth feature map; The fourth feature map is processed by a feature decoder to detect the scene image and obtain a second marker corresponding to the road.

2. The method according to claim 1, characterized in that Detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area includes: Determine a convolution feature map of the indicating device, and downsample the convolution feature map of the indicating device to obtain a convolution feature map of the indicating device at a third scale; Performing feature cascading on the convolution feature map at the first scale and the convolution feature map at the third scale of the indicating device to obtain a first feature map; The scene area is detected by using the first feature map to obtain an indication device corresponding to the road in the road scene area.

3. The method according to claim 1, characterized in that Detecting the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area includes: Determine a convolution feature map of the target object, and downsample the convolution feature map of the target object to obtain a convolution feature map of the target object at a third scale; Performing feature concatenation on the convolutional feature map of the first scale and the convolutional feature map of the target object at a third scale to obtain a second feature map; The scene area is detected through the second feature map to obtain a target object corresponding to the road in the road scene area.

4. The method according to claim 1, characterized in that: Detecting the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road includes: Determine scene optical flow image features based on temporally adjacent image data; Cascading the convolution feature map of the third scale with the scene optical flow image feature, and convolving the cascaded feature map to obtain a fifth feature map; The scene image is detected through the fifth feature map to obtain a third marker corresponding to the road.

5. The method according to claim 1, characterized in that Determining a current state of the first identifier includes: Performing feature pooling processing on the feature map of the traffic light in the region of interest to obtain a feature description map of the traffic light; The feature description graph of the traffic light is cascaded with the fine-grained feature description graph of the traffic light, and the cascaded feature description graph is input into a long short-term memory network model to determine a current state of the traffic light, wherein the current state includes at least one of the following: a normal state, an abnormal state, and an unenabled state; and the indicating device includes the traffic light.

6. The method according to claim 1, characterized in that Determining a current state of the first identifier includes: Performing feature pooling processing on the feature map of the signboard to obtain a feature description map of the signboard; The feature description map of the sign is cascaded with the fine-grained feature description map of the sign, and the cascaded feature description map is input into a target classifier to determine the type and working status of the sign, wherein the type includes: a predefined type and a non-predefined type; the working status includes at least one of the following: a normal status and an abnormal status; the indicating device includes the sign, and the target classifier includes: a sign type classifier and a status recognition classifier.

7. The method according to claim 1, characterized in that Determining a current state of the first identifier includes: Performing feature pooling of a region of interest on the feature map of the target object to obtain a feature description map of the target object; The feature description map of the target object is cascaded with the fine-grained feature description map of the target object, and the cascaded feature description map is input into a state recognition classifier to determine the current state of the first identifier, wherein the current state includes at least one of the following: normal state, protruding state, uncovered state.

8. The method according to claim 1, characterized in that Determining a current state of the second identifier includes: Clustering the second markers of the same category, and performing region of interest feature pooling on the feature maps of the clustered second markers to obtain a feature description map of the second markers; The feature description map is cascaded with the fine-grained feature description map of the second identifier, and the cascaded feature description map is input into a state recognition classifier to determine the current state of the second identifier, wherein the current state includes at least one of the following: normal state, light wear, and heavy wear.

9. A road detection device, characterized in that: include: An acquisition module is used to acquire a scene image corresponding to a road scene area, and input the scene image into a multi-scale scene feature description model to obtain a multi-scale convolution feature map, wherein the multi-scale includes: a first scale, a second scale and a third scale; the first scale is larger than the second scale, and the second scale is larger than the third scale; A detection module, configured to detect the scene image according to the convolution feature map of the first scale to obtain a first marker corresponding to the road in the road scene area, detect the scene image according to the convolution feature map of the second scale and the convolution feature map of the third scale to obtain a second marker corresponding to the road, and detect the scene image according to the convolution feature map of the third scale to obtain a third marker corresponding to the road; wherein the first marker includes: an indicating device, a target object on the road, the second marker includes: a marking line on the road, and the third marker includes: a sunken area on the road; A determination module, configured to determine current states of the first identifier, the second identifier, and the third identifier; Among them, the detection module is also used to convolve the convolution feature map of the third scale, and downsample the convolved feature map to obtain a third feature map; perform feature cascading on the feature map of the second scale and the third feature map to obtain a fourth feature map; and process the fourth feature map through a feature decoder to detect the scene image and obtain a second marker corresponding to the road.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 8 when executed.

11. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program.

Citation Information

Patent Citations

  • Road health degree monitoring method and system

    CN108777067A

  • Road sign detection method, system and device and medium

    CN111950469A

  • Traffic sign detection method and device, computer equipment and storage medium

    CN112699834A

  • A method for detecting stereoscopic object of monocular vehicle vision system

    CN109241856A

  • Municipal engineering road warning device

    CN212656151U