A collision warning method and system based on visual road environment diagram
Through the visual road environment graphic method, combined with semantic segmentation and deep learning technology, considering the driver's visual characteristics and calculating visual TTC, the problem of untimely early warning in the existing technology is solved, and the safety performance and recognition capabilities of the collision warning system are improved. .
Patent Information
- Application Number
- CN202310358320.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-04-06
AI Technical Summary
The existing collision warning system fails to effectively consider the impact of driver visual characteristics on the perception of road environment elements, resulting in the problem of untimely early warning in complex traffic environments.
Using a method based on visual road environment schema, visual TTC is calculated for collision warning through semantic segmentation, instance segmentation, scene depth layer, sensitive layer and dynamic field of view model, combined with Bayesian framework and fully convolutional neural network.
By integrating the driver's visual characteristics, the safety performance of the collision warning system is improved, the ability to identify complex traffic environments is enhanced, and the accuracy and timeliness of early warning are improved.
Smart Images

Figure CN116311252B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle warning, and in particular to a collision warning method and system based on a visual road environment diagram. Background Art
[0002] The collision warning system continuously perceives road environment elements, identifies potential dangers in the road environment, and issues warnings to drivers to avoid possible traffic accidents and reduce personal and property losses caused by accidents.
[0003] The function of the collision warning system depends on the accurate identification and reasonable analysis of road environment elements. The traditional road environment element recognition algorithm extraction requires manual feature extraction, which is inefficient. Especially in complex traffic environments, the recognition results are easily affected by factors such as lighting, weather, and environment, and the recognition results are not ideal. The road environment element recognition algorithm based on deep learning has made great progress in recognition accuracy and efficiency. For example, the Springrobot algorithm realizes the detection of lane boundaries of different road types by introducing adaptive random Hough transform. Fast-RCNN greatly speeds up the recognition of road information by improving the convolutional neural network (CNN) and using the region proposal network (RPN) to generate detection area recommendations.
[0004] However, traditional collision warning systems treat different road environment elements and different visual fields equally, without considering the impact of the driver's visual characteristics on the perception of road environment elements, which greatly limits the safety performance of existing collision warning systems.
[0005] In fact, drivers pay different attention to different road environment elements, and the attention paid to road environment elements will change with the dynamic changes of the road environment. For example, due to the high uncertainty of vehicle movement, drivers need to pay attention to the surrounding vehicles at all times, and traffic lights determine traffic organization and constrain driving behavior. Therefore, traffic lights will attract a lot of attention from drivers when approaching intersections. The type of traffic signs will also affect the driver's attention. For example, cantilever traffic signs can bring greater visual impact to drivers than single-support traffic signs. Generally speaking, roadside buildings do not attract a lot of attention from drivers, but when supermarkets and schools appear, drivers will immediately pay attention to them. This is because such roadside buildings are potentially reminding drivers that there are complex traffic conditions ahead. In addition, complex road conditions such as changes in road width and sharp bends can also attract more attention from drivers.
[0006] Drivers also attach different levels of importance to different visual fields, which greatly affects their behavior. Drivers are most sensitive to road environment elements within the 50m area of their visual field, and their attention to road environment elements within the range of 50m to 100m decreases slightly. When the distance between the road environment elements and the driver reaches 100m, the driver's sensitivity to road environment elements begins to decrease significantly. In addition, the central visual field and the peripheral visual field reflect the different levels of importance that drivers attach to different visual fields. The central visual field and the peripheral visual field can be divided by the location, frequency and duration of the driver's gaze point. The central visual field is the key visual field area that the driver pays attention to, and the road environment elements in the central visual field are the main part of the information input during driving. Only when the size, color and motion state of the road environment elements in the peripheral visual field exceed the threshold will they attract the driver's attention. Summary of the invention
[0007] In view of the problem that a large amount of work in the prior art focuses on road environment perception and ignores the impact of the driver's visual characteristics on the collision warning system, the present invention provides a collision warning method and system based on a visual road environment diagram to solve the problem that the prior art lacks additional attention to easily overlooked road environment elements and visual field areas, which may lead to untimely warnings.
[0008] A collision warning method based on a visual road environment diagram comprises the following steps:
[0009] Identify road environment elements based on semantic segmentation and instance segmentation technology, and build a semantic model in the visual road environment diagram;
[0010] The scene depth layer model in the visual road environment diagram is constructed based on the depth information between the road environment elements and the driver's observation point;
[0011] According to the driver's sensitivity to different road environment elements, a sensitivity layer model in the visual road environment diagram is established;
[0012] A Bayesian framework and a fully convolutional neural network are used to build a driver's dynamic field of view layer model that changes with speed;
[0013] According to the semantic layer, scene depth layer, sensitivity layer and driver's dynamic vision layer model in the visual road environment schema, the actual motion state of the vehicle is converted into the visual motion state, so as to calculate the visual TTC;
[0014] Collision warning is performed based on the calculation results of TTC.
[0015] Furthermore, the identifying of the area class information and the instance class information in the driving environment by using the semantic model comprises the following steps:
[0016] Feature extraction, using a residual neural network structure to obtain the features of road environment elements in the input image;
[0017] Feature fusion, using feature pyramid network structure to fuse the acquired features through feature pyramid;
[0018] Semantic segmentation, using an encoder-decoder structure to identify regional category information in the road environment based on the fused feature branches;
[0019] Instance segmentation, including region proposal network, region of interest alignment, region-based CNN and Mask; identify instance category information in the road environment based on the fused feature branch.
[0020] Furthermore, the road environment elements include area category information and instance category information, wherein the area category information includes roads and sky, and the instance category information includes each vehicle and each pedestrian on the road.
[0021] Furthermore, the establishment process of the sensitive layer model is as follows:
[0022]
[0023] Among them, k represents the modified convolutional feature map of the kth layer output in CNN, and b 1 and b 2 represents the length and width of the modified convolution characteristic map, c represents the cth road environment element, is the weight of the road environment element c in the modified k-th convolutional feature map, y c is the score computed from the input image, is the value of pixel (i, j) in the modified convolutional feature map, is the Grad-CAM of the road environment factor c, ReLU is the rectified linear unit, A k It is the modified k-th convolutional feature map.
[0024] Furthermore, the sensitivity layer model records the driver's sensitivity to road environment factors through a sensitivity matrix and a heat map.
[0025] Furthermore, the construction of the driver's dynamic vision layer model includes the following steps:
[0026] By combining the depth information of the scene depth layer, the Bayesian framework and fully convolutional neural network are used to automatically detect the driver's field of view under dynamic changes in driving speed;
[0027] Combined with the Bayesian framework for simulating the driver's dynamic vision, the vision layer model and vision matrix are obtained.
[0028] Furthermore, it also includes: recording the three states of appearance, pending and disappearance of road environment elements through Kalman filtering, and using the prediction box to predict the position of the detection box in the next image.
[0029] Furthermore, the Hungarian algorithm is used to perform hierarchical matching and IOU matching between the detection box and the prediction box.
[0030] Furthermore, the calculation formula of the TTC is:
[0031]
[0032] Among them, d v is the visual distance of the road environment element; i is the number of horizontal pixels occupied by the road environment element; j is the number of vertical pixels occupied by the road environment element; T is the total number of pixels occupied by the road environment element; m and n are the horizontal and vertical coordinates of each pixel; d mn is the real depth information of the pixel; s mn is the value of the mth row and nth column in the sensitivity matrix; v mn is the sensitivity value of the mth row and nth column in the field of view matrix; TTC v TTC considering the driver's visual characteristics; p is the real relative speed between the road environment elements and the vehicle; TTC v_min It is the smallest visual TTC among all road environment elements; TTC u It is the warning threshold given in ISO17387.
[0033] Furthermore, a collision warning system based on a visual road environment diagram comprises:
[0034] The road environment information recognition module is used to construct a semantic model in the visual road environment diagram based on semantic segmentation and instance segmentation technology, and recognize the driving road environment elements through the semantic model;
[0035] The depth information extraction module is used to construct a scene depth layer model in the visual road environment diagram based on feature extraction and feature fusion algorithms, and extract the distance between the road environment elements and the driver's observation point through the scene depth layer model;
[0036] A sensitive information processing module is used to establish a sensitive layer model in the visual road environment diagram through a gradient weighted class activation mapping algorithm, and obtain the driver's sensitivity to different road environment elements through the sensitive layer model;
[0037] The visual field information processing module is used to construct a dynamic visual field layer model of the driver that changes with speed using a Bayesian framework and a fully convolutional neural network to obtain the degree of importance the driver places on different visual fields;
[0038] Multi-target matching and tracking module, used to track and match multiple targets of road environment elements through Kalman filtering and Hungarian algorithm;
[0039] The motion state conversion module is used to convert the actual motion state of the vehicle into the visual motion state according to the obtained road environment elements, the distance between the road environment elements and the driver's observation point, the sensitivity, and the driver's attention to different visual ranges, so as to calculate the visual TTC;
[0040] The collision warning module is used to provide collision warning based on the calculation results of TTC.
[0041] The present invention provides a collision warning method and system based on visual road environment diagram, which has the following beneficial effects:
[0042] The present invention identifies regional class information and instance class information in the driving environment through a semantic model, extracts the distance between the road environment elements and the driver's observation point through a scene depth layer model, obtains the driver's sensitivity to different road environment elements through a sensitivity layer model, obtains the driver's attention to different visual fields through a driver's dynamic visual field layer model, and converts the vehicle's actual motion state into a visual motion state according to the obtained regional class information and instance class information, the distance between the road environment elements and the driver's observation point, the sensitivity, and the driver's attention to different visual fields, so as to achieve the purpose of collision warning; the collision warning system of the present invention based on the visual road environment diagram incorporates the driver's visual characteristics, which will greatly promote the mutual understanding between autonomous driving vehicles and human drivers, help optimize traditional collision warning systems, and improve the safety effect of warning systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flow chart of a novel collision warning system based on a visual road environment diagram of the present invention;
[0044] Figure 2 A schematic diagram of establishing a semantic layer and a depth of field layer model in a visual road environment diagram in an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of establishing a sensitive layer model in a visual road environment diagram in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of establishing a visual field layer model in a visual road environment diagram in an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of realizing collision warning by using Kalman filtering and Hungarian algorithm in an embodiment of the present invention;
[0048] Figure 6A schematic diagram of an experimental scene arrangement in an embodiment of the present invention;
[0049] Figure 7 It is a schematic diagram of vehicle characteristic indicators and driver characteristic indicators recorded in the verification experiment in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be described clearly and completely 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, rather than all the embodiments.
[0051] The present invention provides a collision warning method based on a visual road environment diagram, the steps are as follows:
[0052] Step 1: Based on semantic segmentation and instance segmentation technology, a semantic layer model in the visual road environment schema is constructed to identify regional information such as the sky and road and instance information such as vehicles and pedestrians in the driving environment.
[0053] The semantic layer realizes the recognition of regional category information (such as road, sky, etc.) and instance category information (such as each car, each pedestrian, etc.) in the road environment. Figure 2 As shown in Figure 1, the method used in this layer includes four parts, including feature extraction, feature fusion, semantic segmentation, and instance segmentation. The input image obtains the features of the road environment elements in the image through the feature extraction module. Then, the obtained features are fused through the feature pyramid as the basic input for semantic segmentation and instance segmentation. The semantic segmentation branch is responsible for identifying the regional category information in the road environment, while the instance segmentation branch identifies the instance category information in the road environment.
[0054] In the feature extraction module, in order to prevent network degradation and reduce training errors, the residual neural network (ResNet) structure is adopted.
[0055] Feature Pyramid Network (FPN) is built in the feature fusion module. Combined with the 4-layer output of ResNet, the feature pyramid constructs a network structure from shallow to deep. It can integrate shallow detail features and deep semantic features, complete feature fusion, enrich semantic information, and improve model accuracy.
[0056] Semantic segmentation uses an encoder-decoder structure. The encoder uses the ReisNet-FPN structure to provide the required detailed features and semantic information. The decoder consists of multiple 3×3 pixel convolution kernels and 2x upsampling.
[0057] The instance segmentation network mainly consists of RPN (Region Proposal Network), Region of Interest Alignment (RoIAlign), Region-based CNN (R-CNN) and Mask. RPN is responsible for generating candidate frames and providing RoIAlign for downstream tasks. RoIAlign makes the features corresponding to the region of interest (RoI) consistent in size. The box branch predicts the category of each RoI and the correction coefficient of the box relative to the actual box. The mask branch estimates the specific shape of the object in the box.
[0058] Step 2: Based on feature extraction and feature fusion algorithms, a scene depth layer model is established to construct the visual road environment diagram and extract the distance between the road environment elements and the observation point.
[0059] The scene depth layer describes the depth information between the road environment elements and the observation point (i.e., the driver's eyes). Since the scene depth layer is similar to the semantic layer and is a pixel-by-pixel dense prediction task, it also uses feature extraction and feature fusion algorithms as input. Convolutional layers and upsampling are applied to estimate the depth information. Figure 2 As shown in Figure 1, the depth information of each pixel is represented by color. As the color changes, the depth from the pixel to the observation point gradually increases.
[0060] Step 3: The sensitivity layer model in the visual road environment schema is established through the gradient weighted class activation mapping algorithm (Grad-CAM), and the sensitivity matrix and heat map are used to record the driver's sensitivity to different road environment elements. The sensitivity layer describes the driver's sensitivity to different road environment elements.
[0061] The present invention uses the Gradient Weighted Class Activation Mapping (Grad-CAM) algorithm to establish a sensitivity layer. It records the driver's sensitivity S to road environment factors in the form of a sensitivity matrix and a heat map. Figure 3 As shown, the Grad-CAM algorithm uses the gradient information of the CNN convolution layer. After obtaining the modified convolution feature map, the present invention uses the global average pooling (GAP) method to assign corresponding weights to each neuron. The sensitivity matrix S contains the average value of the weights in the feature map, which ranges from 0.7 to 1.0 in the present invention. All features and their corresponding weights are calculated by the rectified linear unit (ReLU), and the visually sensitive area is visualized in the form of a heat map. The calculation method is shown in formulas (1) and (2):
[0062]
[0063] Where k represents the modified convolutional feature map of the kth layer output in CNN; b 1 and b 2 represents the length and width of the modified convolution characteristic map; c represents the cth road environment element; is the weight of the road environment element c in the modified kth convolutional feature map; Z = b 1 ×b 2 , represents the size of the image.
[0064] y c is the score computed from the input image; is the value of pixel (i, j) in the modified convolutional feature map; is the Grad-CAM of the road environment factor c; ReLU is the rectified linear unit; A k is the modified k-th convolutional feature map. The heat map and sensitivity matrix S use color and element s respectively. ij To represent the driver's sensitivity to different road environment elements. As the color changes, the driver's sensitivity to road environment information gradually increases. Similarly, in the sensitivity matrix, s ij The larger the value of is, the more sensitive the driver is to road environment information.
[0065] Step 4: Use the Bayesian framework and fully convolutional neural network to build a driver's dynamic field of view layer model that changes with speed, and use the field of view matrix to record the driver's attention to different fields of view.
[0066] As the vehicle speed increases, the driver's visual focus falls on a farther road area, and the road environment near the front of the vehicle will be more difficult to detect. In order to describe the driver's dynamic visual characteristics and attention to different visual fields, the present invention proposes a visual field layer.
[0067] As far as we know, when the driver's speed is 40km / h, the visual focus distance is 180m and the field of view angle is 100°; when the speed increases to 100km / h, the visual focus increases to 564m away, but the field of view angle decreases to 40°. This means that as the speed increases, the driver's field of view narrows and includes farther areas. Combined with the depth information of the scene depth layer, the Bayesian framework and the fully convolutional neural network (fullyCNN) are used to automatically detect the driver's field of view under dynamic changes in driving speed. Figure 4 As shown in Figure 1, the full CNN calculates the weight of each pixel through the convolution layer, the pooling layer, and the deconvolution layer (Tawari and Kang, 2017). Combined with the Bayesian framework that simulates the driver's dynamic vision, the vision layer model and the vision matrix are obtained.
[0068] In the visual field layer, the darker area represents the driver's central visual field, while the brighter area is the edge visual field. The elements of the two types of visual fields in the visual matrix are equal to the average weight of all pixels of the CNN in the corresponding visual field, ranging from 0.8 to 1.0, v ijIt represents the value of the element in the field of view matrix, which represents the driver's attention to each field of view. The larger the value of the element, the more attention the driver pays to this field of view.
[0069] Step 5: The three states of appearance, pending, and disappearance of road environment elements are recorded through Kalman filtering to achieve continuous tracking of road environment elements contained in different input images in the collision warning system.
[0070] Step 6: Through the hierarchical matching and IOU matching in the Hungarian algorithm, the best matching of road environment elements in different images is achieved.
[0071] Step 7: Introduce driver characteristics into the traditional warning system, and convert the actual motion state of the vehicle into a visual motion state through the visual road environment diagram. Calculate the visual TTC (collision time) by the following formula to quantify the driver's attention to different road environment elements and visual range. Perform collision warning based on the visual TTC.
[0072]
[0073] TTC v_min = min TTC v (5)
[0074]
[0075] Among them, d v is the visual distance of the road environment element; i is the number of horizontal pixels occupied by the road environment element; j is the number of vertical pixels occupied by the road environment element; T is the total number of pixels occupied by the road environment element; m and n are the horizontal and vertical coordinates of each pixel; d mn is the real depth information of the pixel; s mn is the value of the mth row and nth column in the sensitivity matrix; v mn is the sensitivity value of the mth row and nth column in the field of view matrix; TTC v TTC considering the driver's visual characteristics; p is the real relative speed between the road environment elements and the vehicle; TTC v_min It is the smallest visual TTC among all road environment elements; TTC u It is the warning threshold given in ISO17387.
[0076] The new collision warning system based on visual road environment model includes two parts: multi-target tracking and collision warning. Multi-target tracking realizes the function of tracking and matching road environment elements between consecutive frame images. Collision warning is based on the minimum visual TTC (TTC v_min ) is determined by the conversion of the real motion state of road environment elements into the visual motion state.
[0077] like Figure 5 As shown in the figure, the Kalman filter and Hungarian algorithm are used for multi-target tracking between consecutive frame images. The road environment elements extracted from the input image are stored in the detection box and input into the Kalman filter. The Kalman filter uses the tracker to record the appearance, disappearance and pending state of the detection box to achieve the tracking of road environment elements between different images. At the same time, the Kalman filter uses the prediction box to predict the position of the detection box in the next image. The Hungarian algorithm performs hierarchical matching and IOU matching between the detection box and the prediction box to achieve the best matching of road environment elements in different images. Hierarchical matching refers to matching according to the state of the tracker, which solves the trouble caused by occlusion. IOU is the ratio of the prediction box to the detection box. By selecting the maximum value of IOU, the prediction box can match the most reliable road environment elements. After tracking and matching, the position, distance and other indicators representing the real motion state of the road environment elements can be obtained.
[0078] The new collision warning system is based on the minimum visual TTC (TTC) between the host vehicle and the surrounding road environment elements. v_min ) gives a collision warning. If the minimum visual TTC is less than the warning threshold (TTC) defined in ISO standard 17387 (ISO, 2008), u ), the new collision warning system will issue a warning, visual TTC (TTC v ) measures the risk of a possible collision by taking into account the driver's visual characteristics (i.e., the driver's different attention to different road environment elements and fields of view) and the TTC, based on the sight distance (d v ). The sight distance between the main vehicle and the road environment element is the average sight distance between the main vehicle and each pixel of the road environment element, which is adjusted through the sensitivity matrix and the vision matrix to ultimately achieve collision warning.
[0079] like Figure 6 As shown in the figure, two groups of control experiments were carried out with the experimental vehicle at speeds of 50km / h and 80km / h respectively in the traditional collision warning system and the new collision warning system based on the visual road environment diagram to verify the effectiveness of the collision warning system based on the visual road environment diagram.
[0080] like Figure 7 As shown in the figure, the effectiveness of the new collision warning system based on the visual road environment diagram is verified by recording vehicle characteristic indicators such as warning distance, lateral acceleration, minimum collision time, and driver characteristic indicators such as reaction time and heart rate in the experiment through Airsim and smart bracelet. The results are as follows:
[0081]
[0082]
[0083] Among them, IMP represents the improvement of the new collision warning system compared with the traditional warning system, IMP = |new-traditional| / traditional.
[0084] A collision warning system based on a visual road environment diagram, comprising:
[0085] The road environment information recognition module is used to construct a semantic model in the visual road environment diagram based on semantic segmentation and instance segmentation technology, and recognize the driving road environment elements through the semantic model;
[0086] The depth information extraction module is used to construct a scene depth layer model in the visual road environment diagram based on feature extraction and feature fusion algorithms, and extract the distance between the road environment elements and the driver's observation point through the scene depth layer model;
[0087] A sensitive information processing module is used to establish a sensitive layer model in the visual road environment diagram through a gradient weighted class activation mapping algorithm, and obtain the driver's sensitivity to different road environment elements through the sensitive layer model;
[0088] The visual field information processing module is used to construct a dynamic visual field layer model of the driver that changes with speed using a Bayesian framework and a fully convolutional neural network to obtain the degree of importance the driver places on different visual fields;
[0089] Multi-target matching and tracking module, used to track and match multiple targets of road environment elements through Kalman filtering and Hungarian algorithm;
[0090] The motion state conversion module is used to convert the actual motion state of the vehicle into the visual motion state according to the obtained road environment elements, the distance between the road environment elements and the driver's observation point, the sensitivity, and the driver's attention to different visual ranges, so as to calculate the visual TTC;
[0091] The collision warning module is used to provide collision warning based on the calculation results of TTC.
[0092] 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 collision warning method based on visual road environment diagram, It is characterized in that The following steps are involved: Based on semantic segmentation and instance segmentation technology, a semantic model in the visual road environment diagram is constructed, and the driving road environment elements are identified through the semantic model; the road environment elements include regional category information and instance category information, wherein the regional category information includes road and sky, and the instance category information includes each vehicle and each pedestrian on the road; the identification of driving road environment elements through the semantic model includes the following steps: feature extraction, using a residual neural network structure to obtain the features of the road environment elements in the input image; feature fusion, using a feature pyramid network structure, the acquired features are fused through a feature pyramid; semantic segmentation, using a codec structure, identifying the regional category information in the road environment according to the fused feature branch; instance segmentation, including a region proposal network, region of interest alignment, region-based CNN and Mask; identifying the instance category information in the road environment according to the fused feature branch; A scene depth layer model in a visual road environment diagram is constructed based on a feature extraction and feature fusion algorithm, and the distance between the road environment elements and the driver's observation point is extracted through the scene depth layer model; the scene depth layer model uses the feature extraction and feature fusion algorithm as input, and applies a convolution layer and upsampling to estimate the depth information between the road environment elements and the driver's eyes; The sensitive layer model in the visual road environment diagram is established through the gradient weighted class activation mapping algorithm, and the driver's sensitivity to different road environment elements is obtained through the sensitive layer model; the establishment process of the sensitive layer model is as follows: Among them, k represents the modified convolutional feature map of the kth layer output in CNN, and b 1 and b 2 represents the length and width of the modified convolution characteristic map, c represents the cth road environment element, is the weight of the road environment element c in the modified k-th convolutional feature map, y c is the score computed from the input image, is the value of pixel (i, j) in the modified convolutional feature map, is the Grad-CAM of the road environment factor c, ReLU is the rectified linear unit, A k is the modified k-th convolutional feature map, Z = b 1 ×b 2 ; A Bayesian framework and a fully convolutional neural network are used to construct a driver's dynamic field of view layer model that changes with speed, so as to obtain the degree of attention paid by the driver to different fields of view. The construction of the driver's dynamic field of view layer model includes the following steps: by combining the depth information of the scene depth layer, the Bayesian framework and the fully convolutional neural network are used to automatically detect the driver's field of view under dynamic changes in driving speed; the field of view layer model and the field of view matrix are obtained by combining the Bayesian framework that simulates the driver's dynamic field of view; Multi-target tracking and matching of road environment elements is performed through Kalman filtering and Hungarian algorithm; The actual motion state of the vehicle is converted into a visual motion state according to the obtained regional class information and instance class information, the distance between the road environment elements and the driver's observation point, the sensitivity, and the driver's attention to different visual ranges, so as to calculate the visual TTC; the calculation formula of the TTC is: TTC v_min =min TTC v Among them, d v is the visual distance of the road environment element; i is the number of horizontal pixels occupied by the road environment element; j is the number of vertical pixels occupied by the road environment element; T is the total number of pixels occupied by the road environment element; m and n are the horizontal and vertical coordinates of each pixel; d mn is the real depth information of the pixel; s mn is the value of the mth row and nth column in the sensitivity matrix; v mn is the sensitivity value of the mth row and nth column in the field of view matrix; TTC v TTC considering the driver's visual characteristics; p is the real relative speed between the road environment elements and the vehicle; TTC v_min It is the smallest visual TTC among all road environment elements; TTC u is the warning threshold given in ISO 17387; Collision warning is performed based on the calculation results of TTC.
2. A collision warning method based on visual road environment diagram according to claim 1, It is characterized in that The sensitivity layer model records the driver's sensitivity to road environment factors through a sensitivity matrix and a heat map.
3. The collision warning method based on visual road environment diagram according to claim 1, It is characterized in that The Kalman filter is used to record the appearance, pending, and disappearance of road environment elements, and the prediction box is used to predict the position of the detection box in the next image.
4. A collision warning method based on visual road environment diagram according to claim 3, It is characterized in that The Hungarian algorithm is used to perform hierarchical matching and IOU matching between the detection box and the prediction box.
5. A warning system based on the collision warning method based on visual road environment diagram according to claim 1, It is characterized in that include: The road environment information recognition module is used to construct a semantic model in the visual road environment diagram based on semantic segmentation and instance segmentation technology, and recognize the driving road environment elements through the semantic model; The depth information extraction module is used to construct a scene depth layer model in the visual road environment diagram based on feature extraction and feature fusion algorithms, and extract the distance between the road environment elements and the driver's observation point through the scene depth layer model; A sensitive information processing module is used to establish a sensitive layer model in the visual road environment diagram through a gradient weighted class activation mapping algorithm, and obtain the driver's sensitivity to different road environment elements through the sensitive layer model; The visual field information processing module is used to construct a dynamic visual field layer model of the driver that changes with speed using a Bayesian framework and a fully convolutional neural network to obtain the degree of importance the driver places on different visual fields; Multi-target matching and tracking module, used to track and match multiple targets of road environment elements through Kalman filtering and Hungarian algorithm; The motion state conversion module is used to convert the actual motion state of the vehicle into the visual motion state according to the obtained road environment elements, the distance between the road environment elements and the driver's observation point, the sensitivity, and the driver's attention to different visual ranges, so as to calculate the visual TTC; The collision warning module is used to provide collision warning based on the calculation results of TTC.
