A method for evaluating the accident rate of newly built roads
Feature extraction and aggregation of road image data through convolutional neural networks and multi-dimensional scaling methods, combined with historical accident data to train machine learning models, solve the problem of predicting the accident rate of newly built roads, and achieve more accurate road safety assessment and accident risk reduction. .
Patent Information
- Application Number
- CN202411034632.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing technology is difficult to accurately predict the accident rate of newly constructed roads because it lacks historical accident data and cannot fully consider the characteristics of the road itself.
Convolutional neural networks and multidimensional scaling methods are used to extract and aggregate features of road image data, generate road labels, and train machine learning models based on historical accident data to predict the frequency and level of accidents on newly built roads.
It provides a new and effective road safety assessment method that can predict accident levels during the design stage, reduce accident risks on newly built roads, and improve road safety.
Smart Images

Figure CN118570750B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of road safety, and more specifically, to a method for evaluating the accident rate of newly built roads. Background Art
[0002] The rapid development of modern cities has led to a sharp increase in the number of newly built roads. The design and planning of new roads must not only take into account the functionality and practicality of the roads, but also the safety of the roads. The accident rate is an important parameter for measuring road safety. How to accurately predict the accident rate of newly built roads is a major challenge facing urban planners.
[0003] However, existing technologies mainly predict accident rates by counting and analyzing historical accident data, but this method is not applicable to newly built roads because there is no historical accident data to refer to. Therefore, there is an urgent need for a method that can fully consider the characteristics of the road itself and accurately predict the accident rate of newly built roads. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for evaluating the accident rate of newly built roads, so as to solve the problems mentioned in the background technology.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for evaluating the accident rate of a newly built road comprises the following steps:
[0007] S1. Collect image data of various roads, segment them according to preset different range parameters, form multi-scale road images, and pre-process them to adapt to neural network input;
[0008] S2. Using a convolutional neural network model with multi-scale processing capabilities to extract features from road images of different ranges, where each scale corresponds to a different range parameter to adapt to the multi-scale characteristics of road images, and map each road image to a high-dimensional vector space, where each element in the vector represents a feature;
[0009] S3, calculating the similarity between the extracted high-dimensional feature vectors and generating a similarity matrix;
[0010] S4, using a multi-dimensional scaling method, mapping the high-dimensional feature vector to a one-dimensional continuous label space according to the similarity matrix to generate a road label;
[0011] S5. According to the road numbers, roads with high similarity are aggregated to form a road segment. For each aggregated road segment, historical accident data is collected, including the number and severity of accidents, the frequency of accidents is calculated, each accident is scored according to its severity, and then the frequency is multiplied by the score to obtain the accident level factor;
[0012] S6. training a machine learning model whose input is the road number and whose output is the predicted accident frequency, accident score and possible accident grade factor;
[0013] S7. When a new road is built, the image data of the new road is processed using a convolutional neural network and a multidimensional scaling method to obtain the label of the new road, which is then input into the machine learning model to obtain the predicted frequency of accidents, accident scores, and possible accident grade factors.
[0014] In some embodiments, in S5, the roads with high similarity are roads whose road number differences are less than a preset threshold.
[0015] In some embodiments, the preprocessing of the image data includes denoising, normalization, cropping or scaling.
[0016] In some embodiments, in step S3, the similarity between high-dimensional feature vectors is calculated using cosine similarity or Euclidean distance.
[0017] In some embodiments, in step S5, the severity of the accident is scored by manual assessment.
[0018] In some embodiments, in step S7, the method for processing the image data of the new road is consistent with the method in steps S1 and S2, and the method for obtaining the road sign is consistent with the method in S4.
[0019] The advantage of the present invention over the prior art is that the method first collects image data of various roads, inputs them into a convolutional neural network for feature extraction after preprocessing, and further generates a one-dimensional continuous label using a multidimensional scaling method. This step allows each section of road to obtain a unique label through its image features, and the distance between the labels can reflect the similarity between the roads, so that the road information can be further streamlined by aggregating roads with high similarity. For each aggregated section of road, the present invention also collects its historical accident data, calculates the frequency, severity and comprehensive accident level factor of the accident. Then, this information is used to train a machine learning model to predict the possible occurrence of accidents on newly built roads. Therefore, the present invention can provide urban planners with a new and efficient road safety assessment tool, so that when designing and building new roads, road safety factors can be more comprehensively considered to reduce the accident risk of newly built roads. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0021] The specific implementation of the present invention will be described below in conjunction with the accompanying drawings.
[0022] like Figure 1 Shown is a general schematic diagram of the method of the present invention.
[0023] In the present invention, image data of various roads are first collected. For example, it can be obtained through satellite images, drone images, or camera images carried by ground vehicles. These images can include various types of roads such as urban roads, rural roads, mountain roads, bridges, tunnels, etc. The collected images need to be preprocessed to adapt to the neural network input. The preprocessing may include steps such as adjusting the image size, converting the color mode, and normalizing the pixel values.
[0024] These images will be segmented according to the preset different range parameters to form multi-scale road images. For example, a road image can be segmented into small images of multiple scales such as 5 meters, 10 meters, and 50 meters. The purpose of this step is to take into account the multi-scale characteristics of the road, that is, images of different ranges may reflect different characteristics, and these characteristics may affect the road labeling and accident level prediction.
[0025] The convolutional neural network model with multi-scale processing capabilities is used to extract features from these small images. In the neural network model, each scale corresponds to a different range parameter. Therefore, the model can automatically extract and learn road features at different scales. For each small image, the model generates a high-dimensional feature vector, and each element in the vector represents a feature.
[0026] The similarity between the extracted high-dimensional feature vectors is calculated using a computational method to generate a similarity matrix. This similarity matrix describes the similarity relationship between road images. Then, a method called multidimensional scaling (MDS) is used to map the high-dimensional feature vectors to a one-dimensional continuous label space based on the similarity matrix to generate road labels.
[0027] For roads with high similarity, they are aggregated according to the generated road labels to form a section of road. Then, the accident data of this section of road in history is collected, including the number and severity of accidents, and the frequency of accidents is calculated. Each accident is scored according to its severity, and then the frequency is multiplied by the score to obtain a comprehensive accident level factor.
[0028] Design a machine learning model whose input is the road number and output is the predicted accident frequency, accident score and possible accident level factor. This model can be trained and tested using the previously aggregated road data to ensure its prediction effect.
[0029] Finally, if a new road is to be built, the image data of the new road can be processed using convolutional neural networks and multidimensional scaling methods to obtain the label of the new road. This label is then input into the trained machine learning model to obtain the predicted frequency of accidents, accident scores, and possible accident grade factors.
[0030] In this way, we can estimate the possible accident level of the road during the design phase of the new road, and optimize the design accordingly to reduce the probability of accidents and improve road safety.
[0031] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for evaluating the accident rate of newly built roads. It is characterized in that The steps include: S1. Collect image data of various roads, segment them according to preset different range parameters, form multi-scale road images, and pre-process them to adapt to neural network input; S2. Using a convolutional neural network model with multi-scale processing capabilities to extract features from road images of different ranges, where each scale corresponds to a different range parameter to adapt to the multi-scale characteristics of road images, and map each road image to a high-dimensional vector space, where each element in the vector represents a feature; S3, calculating the similarity between the extracted high-dimensional feature vectors and generating a similarity matrix; S4, using a multi-dimensional scaling method, mapping the high-dimensional feature vector to a one-dimensional continuous label space according to the similarity matrix to generate a road label; S5. According to the road numbers, roads with high similarity are aggregated to form a road segment. For each aggregated road segment, historical accident data is collected, including the number and severity of accidents, the frequency of accidents is calculated, each accident is scored according to its severity, and then the frequency is multiplied by the score to obtain the accident level factor; S6. training a machine learning model whose input is the road number and whose output is the predicted accident frequency, accident score and possible accident grade factor; S7. When a new road is built, the image data of the new road is processed using a convolutional neural network and a multidimensional scaling method to obtain a label of the new road, and then the label is input into a machine learning model to obtain a predicted frequency of accidents, accident scores, and possible accident level factors; wherein the method for processing the image data of the new road is consistent with the method in steps S1 and S2, and the method for obtaining the road label is consistent with the method in S4.
2. The method for evaluating the accident rate of newly built roads according to claim 1, It is characterized in that In S5, the roads with high similarity are roads whose road number differences are less than a preset threshold.
3. The method for evaluating the accident rate of newly built roads according to claim 1, It is characterized in that The preprocessing of the image data includes denoising, normalization, cropping or scaling.
4. According to the method for evaluating the accident rate of newly built roads as claimed in claim 1, It is characterized in that In step S3, the similarity between high-dimensional feature vectors is calculated using cosine similarity or Euclidean distance.
5. The method for evaluating the accident rate of newly built roads according to claim 1, It is characterized in that In step S5, the severity of the accident is scored by manual evaluation.
