A road icing obstacle warning method and system based on image recognition

Through the road icing recognition system based on ShuffleNetV2 neural network, combined with a variety of data processing technologies, the problem of low accuracy of image recognition in rain, snow and foggy weather has been solved, accurate identification and early warning of road icing have been achieved, and traffic has been improved. Safety.

CN118262246BActive Publication Date: 2024-08-30NANTONG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410667653.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-30
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

Existing image recognition technology has low accuracy in identifying road icing in rainy, snowy and foggy weather, resulting in insufficient early warning accuracy and inability to effectively improve road traffic safety.

Method used

A road icing recognition system based on ShuffleNetV2 neural network was designed. Through data preprocessing, Mish activation function replacement of ReLU activation function, ECA attention mechanism and sawtooth hole convolution, the initial ShuffleNetV2 road icing recognition neural network model was established. , combined with multi-scale fusion processing and Retinex theory, to improve recognition accuracy.

Benefits of technology

It achieves accurate identification of road ice in rainy, snowy and foggy weather, improves the timeliness and accuracy of early warning, avoids false alarms and omissions of icing in traditional methods, and can obtain road images in real time and quickly Identify and warn of icing obstacles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118262246B
    Figure CN118262246B
Patent Text Reader

Abstract

The present invention relates to the field of image recognition, and in particular to a method and system for warning road icing obstacles based on image recognition. By inputting training historical road image data into an initial ShuffleNetV2 road icing recognition neural network model for training, real-time road image data in the system is obtained, and the real-time road image data is input into a target ShuffleNetV2 road icing recognition neural network model for recognition, and the real-time state of road icing is obtained; according to the real-time state of road icing, whether the vehicle can be driven on the road is judged, and the first road warning information is generated, and the first road warning information is transmitted to the mobile terminal of the manager; the second road warning information is generated, and the second road warning information is transmitted to the road electronic screen terminal. This technical solution can accurately identify icing obstacles on the road in rainy and snowy weather, foggy weather, freezing rain and other conditions with blurred vision, avoiding the false alarms and missed alarms of icing that may occur in traditional methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image recognition, and in particular to a road icing obstacle early warning method and system based on image recognition. Background Art

[0002] With climate change and the acceleration of urbanization, road icing has become an increasingly serious traffic safety hazard. Road icing not only reduces the friction coefficient of the road surface and increases the risk of traffic accidents, but may also cause traffic congestion and delays. In recent years, with the rapid development of computer vision and image recognition technology, road icing obstacle warning methods and systems based on image recognition have gradually emerged. However, existing image recognition usually has limitations, such as limited recognition coverage, inaccurate recognition in rainy and snowy weather, and low recognition accuracy in foggy weather. Therefore, how to improve the recognition accuracy of image recognition in foggy weather and rainy and snowy weather, and improve the accuracy of road icing warning, is a technical problem that needs to be solved at this stage. Summary of the invention

[0003] The purpose of the present invention is to solve the above-mentioned problem and to design a road icing obstacle early warning method and system based on image recognition.

[0004] To achieve the above object, the technical solution of the present invention is that, further, in the above-mentioned road icing obstacle warning method based on image recognition, the road icing obstacle warning method comprises the following steps:

[0005] Acquire historical road image data in the system, perform data preprocessing on the historical road image data, and obtain training historical road image data;

[0006] A ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and a ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced with a Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model;

[0007] Inputting the training historical road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model;

[0008] Acquire real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time status of road icing;

[0009] Determining whether the vehicle can be driven on the road according to the real-time road icing status, and if it is determined that the vehicle cannot be driven, generating first road warning information, and transmitting the first road warning information to a mobile terminal of a manager;

[0010] The maximum driving speed and the shortest driving distance of the vehicle are obtained according to the real-time status of road icing, and the second road warning information is generated according to the maximum driving speed and the shortest driving distance of the vehicle, and the second road warning information is transmitted to the road electronic screen terminal.

[0011] Furthermore, in the above-mentioned road icing obstacle early warning method, the acquisition system performs data preprocessing on the historical road image data to obtain training historical road image data, including:

[0012] Acquire historical road image data in the system, wherein the historical road image data at least includes image data of road icing in rainy and snowy weather, image data of road icing in foggy weather, image data of road icing in sunny weather, and image data of road icing in freezing rainy weather;

[0013] Performing image color restoration on the historical road image data using a white balance algorithm to obtain balanced road image data;

[0014] Adjusting the global contrast of the balanced road image data by using gamma correction to obtain corrected road image data;

[0015] Based on the Retinex theory, the corrected road image data is divided into a reflection component and an illumination component, and the corrected road image data is processed in an HSV color space to obtain component road image data;

[0016] enhancing the illumination component of the component road image data by using a brightness enhancement method to obtain enhanced road image data;

[0017] The enhanced road image data is processed by multi-scale fusion to obtain training historical road image data.

[0018] Further, in the above-mentioned road icing obstacle warning method, the ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced by the Mish activation function to obtain the initial ShuffleNetV2 road icing recognition neural network model, including:

[0019] Based on the ShuffleNetV2 neural network, a ShuffleNetV2 road icing recognition neural network model was established;

[0020] The Mish activation function is used to replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model;

[0021] Reducing the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is used;

[0022] The ECA attention mechanism is used to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model.

[0023] The receptive field of the initial ShuffleNetV2 road icing recognition neural network model is expanded based on the sawtooth hole convolution to obtain the initial ShuffleNetV2 road icing recognition neural network model.

[0024] Furthermore, in the above-mentioned road icing obstacle warning method, the training historical road image data is input into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain the target ShuffleNetV2 road icing recognition neural network model, including:

[0025] Acquire training historical road image data, and divide the training historical road image data into two left and right branch channels, with the image data of each branch channel accounting for 1 / 2;

[0026] The right branch channel in the initial ShuffleNetV2 road icing recognition neural network model is convolved three times, and the step size is set to 1;

[0027] When the convolution of the right branch channel is completed, the left and right branch channels are added together to fuse the features in the training historical road image data;

[0028] Outputting classification results based on the softmax function in the initial ShuffleNetV2 road icing recognition neural network model;

[0029] Whether the initial ShuffleNetV2 road icing recognition neural network model is accurate is determined based on the classification result. If the recognition result is accurate, the target ShuffleNetV2 road icing recognition neural network model is obtained.

[0030] Furthermore, in the above-mentioned road icing obstacle warning method, the real-time road image data in the acquisition system is input into the target ShuffleNetV2 road icing recognition neural network model for recognition to obtain the real-time road icing status, including:

[0031] Acquiring real-time road image data in the system, and performing data processing on the real-time road image data;

[0032] The data processing at least includes: image data white balance processing, image data contrast adjustment, image data enhancement processing, and image data fusion processing;

[0033] The processed real-time road image data is input into the target ShuffleNetV2 road icing recognition neural network model for recognition to obtain the real-time road icing status;

[0034] The real-time road icing status includes at least a road completely frozen state, a road partially frozen state, and a road slightly frozen state.

[0035] Furthermore, in the above-mentioned road icing obstacle warning method, judging whether the vehicle can be driven on the road according to the real-time state of the road icing, if it is judged that the vehicle cannot be driven, generating first road warning information, and transmitting the first road warning information to the mobile terminal of the manager, includes:

[0036] Determining whether the vehicle can be driven on the road according to the real-time state of road icing, and if the real-time state of road icing is that the road is completely frozen, determining that the vehicle cannot be driven;

[0037] Acquire real-time air pressure data and real-time temperature data of the road through air pressure sensors and temperature sensors;

[0038] Generate road ice melting time and road ice melting speed based on the real-time air pressure data and the real-time temperature data;

[0039] generating first road warning information according to the road ice melting time and the road ice melting speed, and transmitting the first road warning information to a mobile terminal of a manager;

[0040] The icy roads are monitored by image sensors to obtain real-time driving vehicles on the icy roads. If the real-time driving vehicles have driving difficulties, the image information of the real-time driving vehicles is transmitted to the mobile terminal of the manager.

[0041] Furthermore, in the above-mentioned road icing obstacle warning method, the maximum driving speed and the shortest driving distance of the vehicle are obtained according to the real-time state of road icing, the second road warning information is generated according to the maximum driving speed and the shortest driving distance of the vehicle, and the second road warning information is transmitted to the road electronic screen terminal, including:

[0042] Determining whether the vehicle can be driven on the road according to the real-time road icing state, and if the real-time road icing state is a partially frozen road state or a slightly frozen road state, obtaining the maximum driving speed of the vehicle and the shortest driving distance of the vehicle;

[0043] If the road is partially frozen, the maximum driving speed is 40 km / h and the shortest driving distance is 50 m.

[0044] If the road is slightly frozen, the maximum driving speed is 60 km / h and the shortest driving distance is 30 m.

[0045] A second road warning information is generated according to the maximum driving speed of the vehicle and the shortest driving distance between the vehicles, and the second road warning information is transmitted to a road electronic screen terminal.

[0046] Furthermore, in a road icing obstacle warning system based on image recognition, the road icing obstacle warning system includes the following modules:

[0047] A data acquisition module, used to acquire historical road image data in the system, perform data preprocessing on the historical road image data, and obtain training historical road image data;

[0048] A model building module, used to build a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network, and replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with a Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model;

[0049] A model training module, used for inputting the training historical road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model;

[0050] A road recognition module is used to obtain real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time status of road icing;

[0051] A first warning module, configured to determine whether a vehicle can be driven on the road according to the real-time status of the road icing, and if it is determined that the vehicle cannot be driven, generate first road warning information, and transmit the first road warning information to a mobile terminal of a manager;

[0052] The second warning module is used to obtain the maximum driving speed and the shortest driving distance of the vehicle according to the real-time status of road icing, generate second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmit the second road warning information to the road electronic screen terminal.

[0053] Furthermore, in the above-mentioned road icing obstacle warning system based on image recognition, the data acquisition module includes the following submodules:

[0054] An acquisition submodule, used to acquire historical road image data in the system, wherein the historical road image data at least includes image data of road icing in rainy and snowy weather, image data of road icing in foggy weather, image data of road icing in sunny weather, and image data of road icing in freezing rainy weather;

[0055] A balancing submodule, configured to perform image color restoration on the historical road image data using a white balance algorithm to obtain balanced road image data;

[0056] an adjustment submodule, configured to adjust the global contrast of the balanced road image data by using gamma correction to obtain corrected road image data;

[0057] A processing submodule, for dividing the corrected road image data into a reflection component and an illumination component based on Retinex theory, and processing the corrected road image data in an HSV color space to obtain component road image data;

[0058] an enhancement submodule, configured to enhance the illumination component of the component road image data by using a brightness enhancement method to obtain enhanced road image data;

[0059] The fusion submodule is used to process the enhanced road image data through multi-scale fusion to obtain training historical road image data.

[0060] Furthermore, in the above-mentioned road icing obstacle warning system based on image recognition, the data acquisition module includes the following submodules:

[0061] Establish a submodule for establishing a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network;

[0062] A replacement submodule, for replacing the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with the Mish activation function;

[0063] A reduction submodule, used to reduce the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is used;

[0064] The enhancer module is used to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model using the ECA attention mechanism,

[0065] A submodule is obtained, which is used to expand the receptive field of the initial ShuffleNetV2 road icing recognition neural network model based on sawtooth hole convolution, so as to obtain the initial ShuffleNetV2 road icing recognition neural network model.

[0066] The beneficial effect is that historical road image data in the system is acquired, data preprocessing is performed on the historical road image data to obtain training historical road image data; a ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced with the Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model; the training historical road image data is input into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model. 2. Road icing recognition neural network model; obtain real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time state of road icing; judge whether the vehicle can be driven on the road according to the real-time state of road icing, if it is judged that the vehicle cannot be driven, generate the first road warning information, and transmit the first road warning information to the mobile terminal of the manager; obtain the maximum driving speed and the shortest driving distance of the vehicle according to the real-time state of road icing, generate the second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmit the second road warning information to the road electronic screen terminal. This technical solution can obtain road images in real time, and quickly identify and warn of icing obstacles, thereby improving the timeliness and accuracy of warnings; this technical solution can accurately identify icing obstacles on roads under blurred vision conditions such as rainy and snowy weather, foggy weather and freezing rain, and avoid the possible false alarms and missed alarms of icing in traditional methods. Finally, this technical solution can also realize icy obstacle monitoring and early warning of the entire road network by combining multiple cameras and sensor data, and timely adjust the early warning information and the freezing and melting information of road icy obstacles and the road passable time, which is beneficial to traffic control. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the following detailed description of the preferred embodiment.The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the invention.

[0068] Figure 1 This is a schematic diagram of a first embodiment of a road icing obstacle warning method based on image recognition in an embodiment of the present invention;

[0069] Figure 2 Schematic diagram of a second embodiment of a road icing obstacle warning method based on image recognition in an embodiment of the present invention;

[0070] Figure 3 Schematic diagram of a third embodiment of a road icing obstacle warning method based on image recognition in an embodiment of the present invention;

[0071] Figure 4 Schematic diagram of a first embodiment of a road icing obstacle warning system based on image recognition in an embodiment of the present invention. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0073] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0074] The present invention will be described in detail below in conjunction with the accompanying drawings. Figure 1 As shown, a road icing obstacle warning method based on image recognition, the road icing obstacle warning method comprises the following steps:

[0075] Step 101, acquiring historical road image data in the system, performing data preprocessing on the historical road image data, and obtaining training historical road image data;

[0076] Specifically, in this embodiment, historical road image data is obtained in the system, and the historical road image data at least includes road icing image data in rainy and snowy weather, road icing image data in foggy weather, road icing image data in sunny days, and road icing image data in freezing rain weather; the image color of the historical road image data is restored by using a white balance algorithm to obtain balanced road image data; the global contrast of the balanced road image data is adjusted by using gamma correction to obtain corrected road image data; based on the Retinex theory, the corrected road image data is divided into a reflection component and an illumination component, and the corrected road image data is processed in the HSV color space to obtain component road image data; the illumination component of the component road image data is enhanced by using a brightness enhancement method to obtain enhanced road image data; the enhanced road image data is processed through multi-scale fusion to obtain training historical road image data.

[0077] Step 102: establishing a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network, replacing the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with the Mish activation function, and obtaining an initial ShuffleNetV2 road icing recognition neural network model;

[0078] Specifically, in this embodiment, a ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network; the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced by the Mish activation function; the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is reduced; the ECA attention mechanism is used to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model, and the receptive field of the initial ShuffleNetV2 road icing recognition neural network model is expanded based on the sawtooth hole convolution to obtain the initial ShuffleNetV2 road icing recognition neural network model.

[0079] Step 103: input the training history road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain the target ShuffleNetV2 road icing recognition neural network model;

[0080] Specifically, in this embodiment, training historical road image data is obtained and divided into two branch channels on the left and right, with the image data of each branch channel accounting for 1 / 2; the right branch channel in the initial ShuffleNetV2 road icing recognition neural network model is convolved three times, and the step size is set to 1; when the convolution of the right branch channel is completed, the left and right branch channels are added to fuse the features in the training historical road image data; the classification result is output based on the softmax function in the initial ShuffleNetV2 road icing recognition neural network model; according to the classification result, it is judged whether the recognition of the initial ShuffleNetV2 road icing recognition neural network model is accurate, and if the recognition result is accurate, the target ShuffleNetV2 road icing recognition neural network model is obtained.

[0081] Step 104, obtaining real-time road image data in the system, inputting the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtaining the real-time status of road icing;

[0082] Specifically, in this embodiment, real-time road image data in the system is acquired, and data processing is performed on the real-time road image data; the data processing at least includes: image data white balance processing, image data contrast adjustment, image data enhancement processing, and image data fusion processing; the real-time road image data after data processing is input into the target ShuffleNetV2 road icing recognition neural network model for recognition to obtain the real-time status of road icing; the real-time status of road icing at least includes a completely frozen road state, a partially frozen road state, and a slightly frozen road state.

[0083] Step 105: judging whether the vehicle can be driven on the road according to the real-time status of road icing; if it is judged that the vehicle cannot be driven, generating first road warning information, and transmitting the first road warning information to the mobile terminal of the manager;

[0084] Specifically, in this embodiment, whether a vehicle can be driven on the road is determined based on the real-time state of road icing. If the real-time state of road icing is that the road is completely frozen, it is determined that the vehicle cannot be driven; real-time air pressure data and real-time temperature data of the road are obtained through an air pressure sensor and a temperature sensor; the road ice melting time and the road ice melting speed are generated based on the real-time air pressure data and the real-time temperature data; first road warning information is generated based on the road ice melting time and the road ice melting speed, and the first road warning information is transmitted to the mobile terminal of the manager; icy roads are monitored by image sensors to obtain real-time driving vehicles on icy roads. If the real-time driving vehicle has driving difficulties, the image information of the real-time driving vehicle is transmitted to the mobile terminal of the manager.

[0085] Step 106: Obtain the maximum driving speed and the shortest driving distance of the vehicle according to the real-time status of road icing, generate second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmit the second road warning information to the road electronic screen terminal.

[0086] Specifically, in this embodiment, whether the vehicle can be driven on the road is determined according to the real-time state of road icing. If the real-time state of road icing is a partial freezing state or a slight freezing state, the maximum driving speed of the vehicle and the shortest driving distance of the vehicle are obtained; if the road is partially frozen, the maximum driving speed of the vehicle is 40KM / h, and the shortest driving distance of the vehicle is 50m; if the road is slightly frozen, the maximum driving speed of the vehicle is 60KM / h, and the shortest driving distance of the vehicle is 30m; the second road warning information is generated according to the maximum driving speed of the vehicle and the shortest driving distance of the vehicle, and the second road warning information is transmitted to the road electronic screen terminal.

[0087] Its beneficial effects are that this technical solution can obtain road images in real time, and quickly identify and warn of icy obstacles, thereby improving the timeliness and accuracy of warnings; this technical solution can accurately identify icy obstacles on roads in rainy, snowy, foggy, and freezing rain weather, which are blurred in vision, and avoids the false alarms and missed alarms of icing that may occur in traditional methods. Finally, this technical solution can also monitor and warn of icy obstacles on the entire road network by combining data from multiple cameras and sensors, and timely adjust warning information and the freezing and melting information of road icy obstacles and the road passable time, which is beneficial to traffic control.

[0088] In this embodiment, please refer to Figure 2 In a second embodiment of a road icing obstacle warning method based on image recognition in an embodiment of the present invention, by acquiring historical road image data in a system, performing data preprocessing on the historical road image data, and obtaining training historical road image data, the following steps are included:

[0089] Step 201, acquiring historical road image data in the system, the historical road image data at least including image data of road icing in rainy and snowy weather, image data of road icing in foggy weather, image data of road icing in sunny weather, and image data of road icing in freezing rainy weather;

[0090] Step 202: Use a white balance algorithm to restore the image color of the historical road image data to obtain balanced road image data;

[0091] Step 203: Use gamma correction to adjust the global contrast of the balanced road image data to obtain corrected road image data;

[0092] Step 204: Based on the Retinex theory, the corrected road image data is divided into a reflection component and an illumination component, and the corrected road image data is processed in the HSV color space to obtain component road image data;

[0093] Step 205: using a brightness enhancement method to enhance the illumination component of the component road image data to obtain enhanced road image data;

[0094] Step 206: Process the enhanced road image data through multi-scale fusion to obtain training history road image data.

[0095] In this embodiment, please refer to Figure 3 In a third embodiment of a road icing obstacle warning method based on image recognition in an embodiment of the present invention, a ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced by the Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model, including the following steps:

[0096] Step 301, establishing a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network;

[0097] Step 302: Use the Mish activation function to replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model;

[0098] Step 303, reducing the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is used;

[0099] Step 304: Use the ECA attention mechanism to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model.

[0100] Step 305: Expand the receptive field of the initial ShuffleNetV2 road icing recognition neural network model based on sawtooth dilated convolution to obtain the initial ShuffleNetV2 road icing recognition neural network model.

[0101] The above describes a road icing obstacle warning method based on image recognition provided by an embodiment of the present invention. The following describes a road icing obstacle warning system based on image recognition according to an embodiment of the present invention. Figure 4 In one embodiment of the present invention, an order generation system includes:

[0102] A data acquisition module is used to acquire historical road image data in the system, perform data preprocessing on the historical road image data, and obtain training historical road image data;

[0103] A model building module is used to build a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network, and to replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with the Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model;

[0104] A model training module is used to input the training history road image data into the initial ShuffleNetV2 road icing recognition neural network model for training, so as to obtain the target ShuffleNetV2 road icing recognition neural network model;

[0105] The road recognition module is used to obtain real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time status of road icing;

[0106] A first warning module is used to determine whether the vehicle can be driven on the road according to the real-time status of road icing. If it is determined that the vehicle cannot be driven, a first road warning message is generated and the first road warning message is transmitted to a mobile terminal of a manager;

[0107] The second warning module is used to obtain the maximum driving speed and the shortest driving distance of the vehicle according to the real-time status of road icing, generate second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmit the second road warning information to the road electronic screen terminal.

[0108] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A road icing obstacle warning method based on image recognition, characterized in that: The road icing obstacle early warning method comprises the following steps: Acquire historical road image data in the system, perform data preprocessing on the historical road image data, and obtain training historical road image data; A ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and a ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced with a Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model; Inputting the training historical road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model; Acquire real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time status of road icing; Determining whether the vehicle can be driven on the road according to the real-time road icing status, and if it is determined that the vehicle cannot be driven, generating first road warning information, and transmitting the first road warning information to a mobile terminal of a manager; The maximum driving speed and the shortest driving distance of the vehicle are obtained according to the real-time status of road icing, and the second road warning information is generated according to the maximum driving speed and the shortest driving distance of the vehicle, and the second road warning information is transmitted to the road electronic screen terminal.

2. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The acquiring system performs data preprocessing on the historical road image data to obtain training historical road image data, including: Acquire historical road image data in the system, wherein the historical road image data at least includes image data of road icing in rainy and snowy weather, image data of road icing in foggy weather, image data of road icing in sunny weather, and image data of road icing in freezing rainy weather; Performing image color restoration on the historical road image data using a white balance algorithm to obtain balanced road image data; Using gamma correction to adjust the global contrast of the balanced road image data to obtain corrected road image data; Based on the Retinex theory, the corrected road image data is divided into a reflection component and an illumination component, and the corrected road image data is processed in an HSV color space to obtain component road image data; enhancing the illumination component of the component road image data by using a brightness enhancement method to obtain enhanced road image data; The enhanced road image data is processed by multi-scale fusion to obtain training historical road image data.

3. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The ShuffleNetV2 road icing recognition neural network model is established based on the ShuffleNetV2 neural network, and the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model is replaced by the Mish activation function to obtain the initial ShuffleNetV2 road icing recognition neural network model, including: Based on the ShuffleNetV2 neural network, a ShuffleNetV2 road icing recognition neural network model was established; The Mish activation function is used to replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model; Reducing the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is used; The ECA attention mechanism is used to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model. The receptive field of the initial ShuffleNetV2 road icing recognition neural network model is expanded based on the sawtooth hole convolution to obtain the initial ShuffleNetV2 road icing recognition neural network model.

4. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The step of inputting the training historical road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model includes: Acquire training historical road image data, and divide the training historical road image data into two left and right branch channels, with the image data of each branch channel accounting for 1 / 2; The right branch channel in the initial ShuffleNetV2 road icing recognition neural network model is convolved three times, and the step size is set to 1; When the convolution of the right branch channel is completed, the left and right branch channels are added together to fuse the features in the training historical road image data; Outputting classification results based on the softmax function in the initial ShuffleNetV2 road icing recognition neural network model; Whether the initial ShuffleNetV2 road icing recognition neural network model is accurate is determined based on the classification result. If the recognition result is accurate, the target ShuffleNetV2 road icing recognition neural network model is obtained.

5. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The real-time road image data in the acquisition system is input into the target ShuffleNetV2 road icing recognition neural network model for recognition to obtain the real-time road icing status, including: Acquiring real-time road image data in the system, and performing data processing on the real-time road image data; The data processing at least includes: image data white balance processing, image data contrast adjustment, image data enhancement processing, and image data fusion processing; The processed real-time road image data is input into the target ShuffleNetV2 road icing recognition neural network model for recognition to obtain the real-time road icing status; The real-time road icing status includes at least a road completely frozen state, a road partially frozen state, and a road slightly frozen state.

6. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The method of judging whether the vehicle can be driven on the road according to the real-time state of road icing, and generating first road warning information if the vehicle is judged to be unable to be driven, and transmitting the first road warning information to the mobile terminal of the manager includes: Determining whether the vehicle can be driven on the road according to the real-time state of road icing, and if the real-time state of road icing is that the road is completely frozen, determining that the vehicle cannot be driven; Acquire real-time air pressure data and real-time temperature data of the road through air pressure sensors and temperature sensors; Generate road ice melting time and road ice melting speed based on the real-time air pressure data and the real-time temperature data; generating first road warning information according to the road ice melting time and the road ice melting speed, and transmitting the first road warning information to a mobile terminal of a manager; The icy roads are monitored by image sensors to obtain real-time driving vehicles on the icy roads. If the real-time driving vehicles have driving difficulties, the image information of the real-time driving vehicles is transmitted to the mobile terminal of the manager.

7. The method for early warning of road icing obstacles based on image recognition according to claim 1, characterized in that: The method of acquiring the maximum driving speed and the shortest driving distance of the vehicle according to the real-time state of road icing, generating second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmitting the second road warning information to the road electronic screen terminal includes: Determining whether the vehicle can be driven on the road according to the real-time road icing state, and if the real-time road icing state is a partially frozen road state or a slightly frozen road state, obtaining the maximum driving speed of the vehicle and the shortest driving distance of the vehicle; If the road is partially frozen, the maximum driving speed is 40 km / h and the shortest driving distance is 50 m. If the road is slightly frozen, the maximum driving speed is 60 km / h and the shortest driving distance is 30 m. A second road warning information is generated according to the maximum driving speed of the vehicle and the shortest driving distance between the vehicles, and the second road warning information is transmitted to a road electronic screen terminal.

8. A road icing obstacle warning system based on image recognition, characterized in that: The road icing obstacle warning system includes the following modules: A data acquisition module, used to acquire historical road image data in the system, perform data preprocessing on the historical road image data, and obtain training historical road image data; A model building module, used to build a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network, and replace the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with a Mish activation function to obtain an initial ShuffleNetV2 road icing recognition neural network model; A model training module, used for inputting the training historical road image data into the initial ShuffleNetV2 road icing recognition neural network model for training to obtain a target ShuffleNetV2 road icing recognition neural network model; A road recognition module is used to obtain real-time road image data in the system, input the real-time road image data into the target ShuffleNetV2 road icing recognition neural network model for recognition, and obtain the real-time status of road icing; A first warning module, configured to determine whether a vehicle can be driven on the road according to the real-time status of the road icing, and if it is determined that the vehicle cannot be driven, generate first road warning information, and transmit the first road warning information to a mobile terminal of a manager; The second warning module is used to obtain the maximum driving speed and the shortest driving distance of the vehicle according to the real-time status of road icing, generate second road warning information according to the maximum driving speed and the shortest driving distance of the vehicle, and transmit the second road warning information to the road electronic screen terminal.

9. The road icing obstacle warning system based on image recognition as claimed in claim 8, characterized in that: The data acquisition module includes the following submodules: An acquisition submodule, used to acquire historical road image data in the system, wherein the historical road image data at least includes image data of road icing in rainy and snowy weather, image data of road icing in foggy weather, image data of road icing in sunny weather, and image data of road icing in freezing rainy weather; A balancing submodule, configured to perform image color restoration on the historical road image data using a white balance algorithm to obtain balanced road image data; an adjustment submodule, configured to adjust the global contrast of the balanced road image data by using gamma correction to obtain corrected road image data; A processing submodule, for dividing the corrected road image data into a reflection component and an illumination component based on Retinex theory, and processing the corrected road image data in an HSV color space to obtain component road image data; an enhancement submodule, configured to enhance the illumination component of the component road image data by using a brightness enhancement method to obtain enhanced road image data; The fusion submodule is used to process the enhanced road image data through multi-scale fusion to obtain training historical road image data.

10. The road icing obstacle warning system based on image recognition as claimed in claim 8, characterized in that: The data acquisition module includes the following submodules: Establish a submodule for establishing a ShuffleNetV2 road icing recognition neural network model based on the ShuffleNetV2 neural network; A replacement submodule, for replacing the ReLU activation function in the ShuffleNetV2 road icing recognition neural network model with the Mish activation function; A reduction submodule, used to reduce the number of times the Shuffle unit in the ShuffleNetV2 road icing recognition neural network model is used; The enhancer module is used to enhance the information of different spatial positions in the recognition feature map of the initial ShuffleNetV2 road icing recognition neural network model using the ECA attention mechanism, A submodule is obtained, which is used to expand the receptive field of the initial ShuffleNetV2 road icing recognition neural network model based on sawtooth hole convolution, so as to obtain the initial ShuffleNetV2 road icing recognition neural network model.

Citation Information

Patent Citations

  • Road icing identification method fusing image and meteorological environment data

    CN114358401A

  • Road ice and snow intelligent identification and early warning method and device and electronic equipment

    CN116798007A

  • Street lamp operation state monitoring method and system

    CN117057784A