Traffic dynamic shielding tracking method and system based on multi-modal fusion knowledge graph

The traffic dynamic occlusion tracking method through multi-modal fusion knowledge graph, combined with feature extraction and fusion of two-dimensional and three-dimensional data, solves the existing technology problems of low anti-interference ability of target detection in complex environments and inaccurate tracking of occluded areas. , achieving high-precision trajectory tracking and improving traffic safety.

CN118537835AActive Publication Date: 2024-08-23GUANGDONG UNIV OF TECH

Patent Information

Application Number
CN202410461022.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-08-23
Estimated Expiration
2044-04-17

AI Technical Summary

Technical Problem

Existing target detection methods have low anti-interference capabilities in complex environments, cannot effectively adapt to changes in shadows, weather, and lighting, and are difficult to determine the target tracking position in occluded areas, resulting in inaccurate trajectory tracking.

Method used

A traffic dynamic occlusion tracking method using multi-modal fusion knowledge graph is used to perform feature extraction and target tracking on two-dimensional images and three-dimensional point cloud data, and is combined with an adaptive weight algorithm to fuse trajectory information and build an urban road traffic scene ontology model. Semantic description and inference engine for occluded object tracking.

Benefits of technology

Achieve high-precision trajectory tracking under complex conditions, improve the accuracy and robust performance of target tracking, and enhance traffic safety in urban road environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537835A
    Figure CN118537835A
Patent Text Reader

Abstract

The invention discloses a traffic dynamic shielding tracking method and system based on a multi-modal fusion knowledge graph, and the method comprises the steps: carrying out the feature extraction and target tracking of a two-dimensional image and three-dimensional point cloud data of a driving vehicle, and obtaining a two-dimensional track and a three-dimensional track; fusing the two-dimensional track and the three-dimensional track based on a target tracking algorithm of adaptive weight; constructing an ontology model based on the urban road traffic scene; mapping the vehicle track into the ontology model through semantic description to obtain a city scene knowledge graph; and performing semantic conversion on the urban scene knowledge graph, and establishing a rule through an inference engine to perform shielding target tracking so as to obtain a target tracking result. The system comprises a first trajectory extraction module, a second trajectory extraction module, a trajectory fusion module, a model construction module, a map generation module and a tracking reasoning module. According to the invention, high-precision trajectory tracking is realized under complex conditions. The method can be widely applied to the technical field of target detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of target detection technology, and in particular to a traffic dynamic occlusion tracking method and system based on a multimodal fusion knowledge graph. Background Art

[0002] In recent years, the number of cars has increased significantly with the continuous acceleration of my country's modernization process, which has led to increasingly prominent traffic safety hazards and frequent traffic accidents. In order to protect the safety of life and property, self-driving cars based on artificial intelligence will be a product that subverts the traditional automobile market and has far-reaching significance. In the autonomous driving system, the environmental perception module is the most important component, and target detection is its most basic function. Therefore, how to effectively detect it has always been a hot and difficult issue in the field of unmanned driving.

[0003] At present, most target detection methods are based on image processing algorithms such as yolov5. However, the image-based target detection method uses a single sensor to sample and process the real world. This will inevitably lead to an unavoidable problem. The camera is not able to adapt to changes in shadows, weather, lighting, etc., which makes the system less able to resist interference in various environments. In addition, it is difficult to adapt to various complex real-world situations using a single sensor. In addition to the above-mentioned problems of a single sensor, there will be some occluded areas during target monitoring. The existence of these areas will make it difficult to determine the target tracking position. Existing target monitoring methods cannot provide more accurate and sufficient information under complex conditions, and cannot provide the best choice for traffic safety. Summary of the invention

[0004] In order to solve the above technical problems, the purpose of the present invention is to provide a traffic dynamic occlusion tracking method and system based on a multimodal fusion knowledge graph, which can achieve high-precision trajectory tracking under complex conditions.

[0005] The first technical solution adopted by the present invention is: a traffic dynamic occlusion tracking method based on a multimodal fusion knowledge graph, comprising the following steps:

[0006] Perform feature extraction and target tracking on the two-dimensional image of the moving vehicle to obtain a two-dimensional trajectory;

[0007] Perform feature extraction and target tracking on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory;

[0008] The target tracking algorithm based on adaptive weights fuses the two-dimensional trajectory and the three-dimensional trajectory to obtain the vehicle trajectory;

[0009] Construct an ontology model based on urban road traffic scenarios;

[0010] The vehicle trajectory is mapped to the ontology model through semantic description to obtain the urban scene knowledge graph;

[0011] The urban scene knowledge graph is semantically transformed, and rules are established through the inference engine to track occluded targets and obtain target tracking results.

[0012] Furthermore, the step of extracting features and tracking targets on the two-dimensional image of the moving vehicle to obtain a two-dimensional trajectory specifically includes:

[0013] Based on Yolov5s and attention mechanism, feature extraction is performed on the two-dimensional image of the moving vehicle to obtain the target two-dimensional features;

[0014] Target tracking is performed based on the DeepSORT algorithm and the target's two-dimensional features to obtain a two-dimensional trajectory.

[0015] Through this optimization step, the connection between global information and local information can be further obtained, which helps the network to better understand the input features.

[0016] Furthermore, the step of extracting features and tracking targets on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory specifically includes:

[0017] Based on PointRCNN and attention modules, feature extraction is performed on the 3D point cloud data of the moving vehicle to obtain the target 3D features;

[0018] Target tracking is performed based on the AB3DMOT algorithm and the target's three-dimensional features to obtain a three-dimensional trajectory.

[0019] Through this preferred step, an attention module is added to the RoI head to improve the performance of PointRCNN. The attention module can enhance the ability to capture high-dimensional global features after point cloud region pooling.

[0020] Furthermore, the step of fusing the two-dimensional trajectory and the three-dimensional trajectory to obtain the vehicle trajectory by the target tracking algorithm based on adaptive weights specifically includes:

[0021] Determine a fusion weight value of the two-dimensional trajectory based on the two-dimensional trajectory information;

[0022] The number of three-dimensional point clouds is calculated based on the horizontal and vertical angles of the laser radar, and the relationship between the number of point clouds and distance in the horizontal and vertical directions is obtained;

[0023] The relationship between the number of point clouds and the distance in the horizontal and vertical directions is normalized and averaged to obtain the relationship between the number of point clouds and the distance;

[0024] Determine the fusion weight value of the three-dimensional trajectory based on the relationship between the number of point clouds and the distance;

[0025] The two-dimensional trajectory and the three-dimensional trajectory are weightedly fused based on the fusion weight value of the two-dimensional trajectory and the fusion weight value of the three-dimensional trajectory to obtain the vehicle trajectory.

[0026] Through this preferred step, the fusion weight value of the two-dimensional trajectory and the three-dimensional trajectory is set based on the relationship between the trajectory information and the distance, and the credibility of the fused trajectory is greatly improved.

[0027] Furthermore, the vehicle trajectory is expressed as follows:

[0028]

[0029]

[0030] Among them, track final Represents the vehicle track, track 2D Represents a two-dimensional trajectory, track 3D represents the 3D trajectory, β represents the fusion weight value of the 3D trajectory, d represents the distance between the traffic participant and the lidar, D Lidar represents the range of the laser radar, f sidefinal (d) shows the relationship between the number of point clouds and distance on the side after normalization, f rearfinal (d) shows the relationship between the number of point clouds and distance on the back after normalization.

[0031] Furthermore, the ontology model includes traffic participants, environmental information, behavior information and road information, wherein:

[0032] The traffic participants include all vehicle information in a certain driving scenario;

[0033] The behavior information includes driving behaviors of different vehicles in the driving scene;

[0034] The road information includes a basic road network and a physical structure in a driving scene, and the physical structure includes basic traffic facilities.

[0035] Furthermore, the urban scene knowledge graph is logically divided into a model layer and a data layer, where:

[0036] The mode layer stores task information defined by the ontology model;

[0037] The data layer stores data information in specific scenarios.

[0038] Furthermore, the step of performing semantic conversion on the urban scene knowledge graph and establishing rules for tracking occluded targets through an inference engine to obtain target tracking results specifically includes:

[0039] Perform semantic transformation on the urban scene knowledge graph to obtain a semantic description with reasoning and computing utility;

[0040] Based on empirical knowledge and semantic descriptions with reasoning and computational utility, rules are written for traffic scenarios with potential occlusion targets to obtain target occlusion evaluation rules.

[0041] Based on the inference engine and target occlusion evaluation rules, reverse reasoning is performed on the occluded target to obtain the target tracking result.

[0042] The second technical solution adopted by the present invention is: a traffic dynamic occlusion tracking system based on a multimodal fusion knowledge graph, comprising:

[0043] A first trajectory extraction module is used to perform feature extraction and target tracking on a two-dimensional image of a moving vehicle to obtain a two-dimensional trajectory;

[0044] The second trajectory extraction module is used to perform feature extraction and target tracking on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory;

[0045] Trajectory fusion module, which fuses the two-dimensional trajectory and the three-dimensional trajectory based on the target tracking algorithm with adaptive weights to obtain the vehicle trajectory;

[0046] Model building module, building ontology model based on urban road traffic scenarios;

[0047] The graph generation module maps the vehicle trajectory to the ontology model through semantic description to obtain the urban scene knowledge graph;

[0048] The tracking reasoning module is used to perform semantic transformation on the urban scene knowledge graph and establish rules through the inference engine to track occluded targets and obtain target tracking results.

[0049] The beneficial effects of the method and system of the present invention are as follows: the present invention integrates Yolov5s with an attention mechanism to improve the feature extraction performance of two-dimensional targets, adds an attention mechanism module to PointRCNN, and enhances the global feature extraction performance of point cloud; adopts an adaptive weight-based target tracking algorithm to better associate the trajectory features detected by the radar with the target trajectory features corresponding to its image, which can effectively improve the target trajectory tracking accuracy and robustness performance; constructs an urban scene knowledge graph to describe the interaction between entities in the scene, performs semantic conversion on the scene description information, establishes rules through an inference engine to track occluded targets, and improves the target tracking confidence; finally, high-precision trajectory tracking is achieved under complex conditions, and the safety of vehicles traveling on urban roads is further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1It is a flow chart of the steps of a traffic dynamic occlusion tracking method of a multimodal fusion knowledge graph of the present invention;

[0051] Figure 2 It is a structural block diagram of a traffic dynamic occlusion tracking system of a multi-modal fusion knowledge graph of the present invention;

[0052] Figure 3 It is an overall framework diagram of a traffic dynamic occlusion tracking method of a multimodal fusion knowledge graph of the present invention;

[0053] Figure 4 (a) is a Yolov5s structure diagram of a traffic dynamic occlusion tracking method based on a multimodal fusion knowledge graph of the present invention;

[0054] Figure 4 (b) is the original Yolov5s structure diagram;

[0055] Figure 5 (a) is a PointRCNN structure diagram of a traffic dynamic occlusion tracking method based on a multimodal fusion knowledge graph of the present invention;

[0056] Figure 5 (b) is the original PointRCNN structure diagram;

[0057] Figure 6 It is a schematic diagram of the effective detection area of ​​the laser radar and camera of a traffic dynamic occlusion tracking method of the present invention based on a multi-modal fusion knowledge graph;

[0058] Figure 7 It is a schematic diagram of a transverse cross-section calculation point cloud of a traffic dynamic occlusion tracking method of a multi-modal fusion knowledge graph of the present invention;

[0059] Figure 8 It is a schematic diagram of a longitudinal cross-section calculation point cloud of a traffic dynamic occlusion tracking method of a multi-modal fusion knowledge graph of the present invention;

[0060] Fig. 9 It is a schematic diagram of an ontology model based on a traffic scenario of a traffic dynamic occlusion tracking method of a multimodal fusion knowledge graph of the present invention. DETAILED DESCRIPTION

[0061] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0062] Reference Figure 1 and Figure 3The present invention provides a traffic dynamic occlusion tracking method based on a multi-modal fusion knowledge graph, the method comprising the following steps:

[0063] S1, extracting features and tracking targets from a two-dimensional image of a moving vehicle to obtain a two-dimensional trajectory;

[0064] Specifically, in order to accurately and continuously extract the trajectories of traffic participants, it is crucial to obtain high-quality target detection results. The attention mechanism can effectively process data from different dimensions and make the most of data with limited resources. Generally speaking, various attention mechanisms strengthen significant features and suppress insignificant features. Therefore, referring to Figure 4 (a) and Figure 4 (b) The present invention uses Yolov5s as the baseline. In order to improve the performance of the network in extracting object features, an attention mechanism is added to the model. The attention module is added to four positions of the YoloV5s trunk, and the number of layers of the attention module should be the same as the number of layers of the upper module. After adding the attention mechanism, the connection between global information and local information will be further obtained, which will help the network to better understand the input features. This has a better two-dimensional image feature extraction effect than the original Yolov5s. After feature extraction using the Yolov5s model with the added attention mechanism, the target two-dimensional features are obtained; then the target is tracked according to the DeepSORT algorithm and the target two-dimensional features to obtain a two-dimensional trajectory.

[0065] S2, extracting features and tracking targets from the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory;

[0066] Specifically, because a single sensor is not enough to provide more accurate and sufficient information under complex conditions, the present invention adds a lidar sensor to realize the detection of three-dimensional features. The present invention adopts PointRCNN as the baseline. Openpcdet is used to obtain the detection results of the point cloud. The structure of PointRCNN in Openpcdet is divided into four parts: Backbone 3-D, Backbone 2D, Dense Head and RoI Head. Local and global features are key factors for target detection using point cloud data. However, the characteristics of point clouds can easily change with distance, shape of objects, etc., and the local features of point clouds are difficult to capture. Global features have greater stability than local features. Therefore, the object detection performance can be enhanced by improving the ability to extract global features of point cloud data. Reference Figure 5 (a) and Figure 5(b) Add the attention module to the RoI head to improve the performance of PointRCNN. The attention module can enhance the ability to capture high-dimensional global features after point cloud region pooling. After feature extraction using PointRCNN with the attention module added, the target 3D features are obtained; then the target is tracked based on the AB3DMOT algorithm and the target 3D features to obtain the 3D trajectory.

[0067] S3, a target tracking algorithm based on adaptive weights fuses the two-dimensional trajectory and the three-dimensional trajectory to obtain the vehicle trajectory;

[0068] Specifically, the trajectory extracted by the present invention includes a two-dimensional trajectory and a three-dimensional trajectory, and the fusion of the two-dimensional trajectory and the three-dimensional trajectory can be expressed as the following expression:

[0069] track final =f(track 2D ,track 3D ,α,β) (1)

[0070] Among them, track final Represents the vehicle track, track 2D Represents two-dimensional trajectory information, track 3D represents the three-dimensional trajectory information, α and β represent the weight factors of the two-dimensional trajectory and the three-dimensional trajectory respectively, which are used to indicate the proportion of the two-dimensional and three-dimensional trajectory information in the final trajectory.

[0071] As the distance between the object and the LiDAR changes, the number of point clouds will also change. When the object is far away from the LiDAR, the quality of the point cloud will be significantly reduced. As for the detection and tracking methods related to 2D images, they are less sensitive to distance; even if the object is far away from the camera, which means that the object can only be identified in a few pixels in the image, the object can still be detected and tracked. Therefore, compared with 2D image detection methods, the performance of 3D point cloud detection is easily affected by the distance between the object and the data collection device.

[0072] Reference Figure 6 Taking a T-junction as an example, the difference between the effective target detection and tracking range of a lidar and a camera is as follows: Figure 8 As shown in Figure 1, there are three cases depending on the distance between the object and the data collection device. The first case is similar to car A, which is not in the detection area of ​​the lidar but in the detection area of ​​the camera. In this case, only two-dimensional track information can be obtained. Therefore, the track information of car A can be expressed as track final =track 2D The second case is similar to car B. The object is in the blind spot of the camera and can only be detected by the lidar. In this case, the track information of car B can be obtained by trackfinal =track 3D If the object is car C, then the laser radar and the camera of car C can detect it at the same time, and its trajectory can be represented by the weighted average of the two-dimensional and three-dimensional trajectory information, and its expression is as follows:

[0073] track final =(α*track 2D +β*track 3D ) / (α+β) (2).

[0074] S3.1, determining a fusion weight value of the two-dimensional trajectory based on the two-dimensional trajectory information;

[0075] Specifically, the two-dimensional trajectory information is not sensitive to distance, and the object can be accurately detected and tracked regardless of whether it is far away or near. Therefore, the specific embodiment of the present invention determines the fusion weight value α of the two-dimensional trajectory to be a fixed number 1; the result of the three-dimensional trajectory information is sensitive to distance, and the quality of the point cloud decreases significantly with the increase of distance. Therefore, the fusion weight value of the three-dimensional trajectory is determined by the relationship between the number of point clouds and the distance. Therefore, Formula 2 can be converted into the following form:

[0076]

[0077] Among them, track final Represents the vehicle track, track 2D Represents a two-dimensional trajectory, track 3D represents the 3D trajectory, β represents the weight factor of the 3D trajectory, d represents the distance between the traffic participant and the lidar, D Lidar Indicates the effective range of the laser radar.

[0078] S3.2, calculate the number of three-dimensional point clouds based on the horizontal and vertical angles of the laser radar, and obtain the relationship between the number of point clouds and the distance in the horizontal and vertical directions;

[0079] Specifically, since the quality of 3D detection and tracking results is strongly related to distance, and distance has a significant impact on the number of point clouds, the relationship between the weight coefficient of 3D trajectory information, distance and the number of point clouds is expressed as follows:

[0080] β=f(d),N points =f(d) (4)

[0081] Where d is the distance between the traffic participant and the lidar, N points Indicates the number of point clouds.

[0082] The connection between β and d can be made through N pointsThe relationship between and d is established, and the detected object can be considered as a rectangle, and its length, width and height are determined as l, w, h. The installation height of the lidar is h0. Because the angular resolution of the lidar in the horizontal direction and the vertical direction is different, the number of point clouds should be considered separately from these two directions.

[0083] The geometric relationship between the LiDAR and traffic participants in the vertical direction is as follows: Figure 7 As shown, the horizontal angle can be calculated by the following expression.

[0084]

[0085]

[0086] Wherein, h represents the height of the traffic participant, h0 represents the installation height of the lidar, λ represents the angle of the first laser beam, and θ represents the angle of the second laser beam.

[0087] Therefore, the angle between the first laser beam and the second laser beam is calculated by the following expression:

[0088]

[0089] Among them, β v Represents the included angle between the first laser beam and the second laser beam in the vertical direction.

[0090] Finally, the number of point clouds in the cross section of the traffic participant is calculated using the following expression:

[0091]

[0092] Among them, N v represents the number of point clouds in the cross section of the traffic participant, μ v Indicates the angular resolution in the vertical direction.

[0093] The geometric relationship between the LiDAR and traffic participants in the horizontal direction is as follows: Figure 8 As shown, the vertical angle can be calculated by the following expression:

[0094]

[0095] Among them, β h represents the angle between the first laser beam and the second laser beam in the horizontal direction, and l represents the length of the traffic participant.

[0096] According to the angles calculated in the above two directions, the total number of point clouds of traffic participants can be calculated by the following expression:

[0097]

[0098] Among them, N v represents the number of point clouds in the cross section of the traffic participant, N h represents the number of point clouds in the longitudinal section of the traffic participant, μ h Indicates the angular resolution in the horizontal direction.

[0099] According to formula (10), the number of point clouds of an object is only determined by the installation height of the laser radar, the distance between the laser radar and the object, and the angular resolution of the laser radar:

[0100] N points =f(w,l,h,d,h0,μ h ,μ v ) (11)

[0101] Then through the experimental method, we get N points The relationship between the horizontal direction and the vertical direction N can be calculated according to the difference between the horizontal direction and the vertical direction N. points The function of d is expressed as follows:

[0102]

[0103]

[0104] Among them, f sidefinal (d) shows the relationship between the number of normalized side point clouds and distance, f rearfinal (d) shows the relationship between the number of normalized back point clouds and distance, f side (d) represents the relationship between the number of side point clouds and distance without normalization, f rear (d) shows the relationship between the number of back point clouds and distance without normalization.

[0105] S3.3. The relationship between the number of point clouds and the distance in the horizontal and vertical directions is normalized and averaged to obtain the relationship between the number of point clouds and the distance.

[0106] Specifically, formulas 12 and 13 are normalized to obtain a function with a range of [0, 1], and finally, according to the horizontal and vertical functional relationship, the average processing is performed to obtain the final relationship between the point cloud data and the distance.

[0107] S3.4, determining the fusion weight value of the three-dimensional trajectory based on the relationship between the number of point clouds and the distance;

[0108] Specifically, the fusion weight value of the three-dimensional trajectory is expressed as follows:

[0109]

[0110] S3.5. Perform weighted fusion of the two-dimensional trajectory and the three-dimensional trajectory based on the fusion weight value of the two-dimensional trajectory and the fusion weight value of the three-dimensional trajectory to obtain a vehicle trajectory.

[0111] Specifically, the fusion weight value of the three-dimensional trajectory obtained in step S3.4 is substituted into Formula 3 to obtain the functional relationship of the fusion of the two-dimensional trajectory and the three-dimensional trajectory. Through this relationship, the vehicle trajectory is finally calculated.

[0112] S4, constructing ontology model based on urban road traffic scenarios;

[0113] Specifically, refer to Fig. 9 The specific embodiment of the present invention is based on OWL language, uses Stanford University open source software Protege as a tool, and constructs the ontology model of the present invention based on the logical scenarios in the three-layer abstract classification of scenarios proposed by the German Pegasus project. The model mainly includes traffic participants, environmental information, behavior information and road information, among which:

[0114] The traffic participants include all vehicle information in a certain driving scenario.

[0115] The environmental information includes macro-environmental information of the driving scene, such as time information, light intensity, weather conditions, etc.

[0116] The behavior information includes driving behaviors of different vehicles in a driving scene, including longitudinal behaviors and lateral behaviors.

[0117] The road information includes the basic road network and physical structure in the driving scene. The basic road network is mainly composed of T-junctions and crossroads, and the physical structure is composed of some basic traffic facilities existing on the road, such as traffic lights, warning signs, etc.

[0118] S5. Map the vehicle trajectory into the ontology model through semantic description to obtain the urban scene knowledge graph.

[0119] Specifically, the specific embodiment of the present invention integrates the vehicle information and vehicle trajectory information obtained from the road test sensors through semantic description, maps them into the ontology model constructed above, forms a knowledge graph for each specific scene, and stores the above-established knowledge graph in the graph database Neo4j. In the constructed knowledge graph, it can be logically divided into two layers: the model layer and the data layer. The model layer is mainly used to complete the task information defined by the ontology model, while the data layer stores the data information in the specific scene. After completing the semantic description of the vehicle information and vehicle trajectory information obtained from the road test sensor, the input data is converted into triples, and the output data is stored in the knowledge graph, which is organized and aggregated in a more intuitive way.

[0120] S6. Perform semantic transformation on the urban scene knowledge graph, and establish rules through the inference engine to track occluded targets to obtain target tracking results.

[0121] S6.1. Perform semantic transformation on the urban scene knowledge graph to obtain a semantic description with reasoning and computing utility;

[0122] Specifically, since the knowledge graph constructed in step S5 is based on the OWL ontology language to model the traffic scene, when it is necessary to make inferences and judgments about the position of the occluded target in the scene, judgment rules are also required; however, because the OWL language is only a descriptive language and cannot do any reasoning and calculation, it is necessary to perform a semantic conversion on the OWL language. This step mainly converts the semantic description based on the OWL language into a semantic description based on the Prolog language, and then realizes the real-time target tracking effect through the inference engine.

[0123] S6.2. Rules are written for traffic scenes with potential occlusion targets based on empirical knowledge and semantic descriptions with reasoning and computational utility to obtain target occlusion evaluation rules;

[0124] Specifically, before reasoning about the position of an occluded target in a traffic scene, it is necessary to first determine whether there is an occluded object in the scene. This requires combining expert experience and knowledge. For common traffic scenes with potential occluded targets, the above-mentioned Prolog language is used to write potential target occlusion judgment rules. The words in the rule statements need to use the vocabulary in the previously constructed ontology model.

[0125] S6.3. Based on the inference engine and target occlusion evaluation rules, reverse reasoning is performed on the occluded target to obtain the target tracking result.

[0126] Specifically, after the target occlusion evaluation rule is written, the system can perform online reasoning and judgment on the potential occluded targets in the traffic scene according to the target occlusion evaluation rule. The specific embodiment of the present invention selects SWI-Prolog as the reasoning engine for target occlusion tracking. The reasoning process of SWI-Prolog is to judge whether there is an occluded target through reverse reasoning such as pattern matching and backtracking, and to judge the possible position of the target, so as to achieve target tracking. The reasoning steps are as follows: first, the risk (Ego, X) rule will be searched in the risk library. The rule describes the risk relationship between the main vehicle and other elements in the scene. The elements here include dynamic elements such as other traffic participants, vehicles and pedestrians, etc., and also static elements such as traffic lights, temporary obstacles, etc. After the risk (Ego, X) rule is found, the corresponding rule matching will be performed. This step mainly determines whether there is a call to another rule in the matched scene. When there is a call, it will continue to find the corresponding rule. When a rule does not have a call, the next rule clause will be executed. When a rule clause does not match, it will return to the risl(Ego,X) rule to search. When the rule clause is successfully matched, the inference engine will determine whether the clause is the last clause. When the rule clause is not the last rule clause, it will continue to match the next rule clause and continue to match the clause. Until the rule clause is the last rule clause, after that, the clause must be backtracked. When there is a backtracking point, it is necessary to return to the backtracking point clause to perform the previous matching steps. Finally, when the last rule clause is executed and there is no backtracking point, the final matching result will be output.

[0127] Reference Figure 2 , a traffic dynamic occlusion tracking system based on multimodal fusion knowledge graph, including:

[0128] A first trajectory extraction module is used to perform feature extraction and target tracking on a two-dimensional image of a moving vehicle to obtain a two-dimensional trajectory;

[0129] The second trajectory extraction module is used to perform feature extraction and target tracking on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory;

[0130] Trajectory fusion module, which fuses the two-dimensional trajectory and the three-dimensional trajectory based on the target tracking algorithm with adaptive weights to obtain the vehicle trajectory;

[0131] Model building module, building ontology model based on urban road traffic scenarios;

[0132] The graph generation module maps the vehicle trajectory to the ontology model through semantic description to obtain the urban scene knowledge graph;

[0133] The tracking reasoning module is used to perform semantic transformation on the urban scene knowledge graph and establish rules through the inference engine to track occluded targets and obtain target tracking results.

[0134] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0135] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A traffic dynamic occlusion tracking method based on multimodal fusion knowledge graph, characterized in that: The following steps are involved: Perform feature extraction and target tracking on the two-dimensional image of the moving vehicle to obtain a two-dimensional trajectory; Perform feature extraction and target tracking on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory; The target tracking algorithm based on adaptive weights fuses the two-dimensional trajectory and the three-dimensional trajectory to obtain the vehicle trajectory; Construct an ontology model based on urban road traffic scenarios; The vehicle trajectory is mapped to the ontology model through semantic description to obtain the urban scene knowledge graph; The urban scene knowledge graph is semantically transformed, and rules are established through the inference engine to track occluded targets and obtain target tracking results.

2. According to the multimodal fusion knowledge graph traffic dynamic occlusion tracking method of claim 1, it is characterized in that: The step of extracting features and tracking targets from the two-dimensional image of the moving vehicle to obtain a two-dimensional trajectory specifically includes: Based on Yolov5s and attention mechanism, feature extraction is performed on the two-dimensional image of the moving vehicle to obtain the target two-dimensional features; Target tracking is performed based on the DeepSORT algorithm and the target's two-dimensional features to obtain a two-dimensional trajectory.

3. According to the method of multimodal fusion knowledge graph traffic dynamic occlusion tracking in claim 1, it is characterized in that: The step of extracting features and tracking targets on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory specifically includes: Based on PointRCNN and attention modules, feature extraction is performed on the 3D point cloud data of the moving vehicle to obtain the target 3D features; Target tracking is performed based on the AB3DMOT algorithm and the target's three-dimensional features to obtain a three-dimensional trajectory.

4. According to the method of claim 1, the method is characterized by: The step of fusing the two-dimensional trajectory and the three-dimensional trajectory by the target tracking algorithm based on adaptive weights to obtain the vehicle trajectory specifically includes: Determine a fusion weight value of the two-dimensional trajectory based on the two-dimensional trajectory information; The number of three-dimensional point clouds is calculated based on the horizontal and vertical angles of the laser radar, and the relationship between the number of point clouds and distance in the horizontal and vertical directions is obtained; The relationship between the number of point clouds and the distance in the horizontal and vertical directions is normalized and averaged to obtain the relationship between the number of point clouds and the distance; Determine the fusion weight value of the three-dimensional trajectory based on the relationship between the number of point clouds and the distance; The two-dimensional trajectory and the three-dimensional trajectory are weightedly fused based on the fusion weight value of the two-dimensional trajectory and the fusion weight value of the three-dimensional trajectory to obtain the vehicle trajectory.

5. According to the method of multimodal fusion knowledge graph traffic dynamic occlusion tracking of claim 1, it is characterized in that: The vehicle trajectory is expressed as follows: Among them, track final Represents the vehicle track, track 2D Represents a two-dimensional trajectory, track 3D represents the 3D trajectory, β represents the weight factor of the 3D trajectory, d represents the distance between the traffic participant and the lidar, D Lidar represents the range of the laser radar, f sidefinai (d) shows the relationship between the number of point clouds and distance on the side after normalization, f rearfinal (d) shows the relationship between the number of point clouds and distance on the back after normalization.

6. According to the method of claim 1, the method is characterized by: The ontology model includes traffic participants, environmental information, behavior information and road information, wherein: The traffic participants include all vehicle information in a certain driving scenario; The behavior information includes driving behaviors of different vehicles in the driving scene; The road information includes a basic road network and a physical structure in a driving scene, and the physical structure includes basic traffic facilities.

7. According to the method of claim 1, the method is characterized by: The urban scene knowledge graph is logically divided into a model layer and a data layer, where: The mode layer stores task information defined by the ontology model; The data layer stores data information in specific scenarios.

8. According to the method of claim 1, the method is characterized by: The step of performing semantic conversion on the urban scene knowledge graph and establishing rules for tracking occluded targets through an inference engine to obtain target tracking results specifically includes: Perform semantic transformation on the urban scene knowledge graph to obtain a semantic description with reasoning and computing utility; Based on empirical knowledge and semantic descriptions with reasoning and computational utility, rules are written for traffic scenarios with potential occlusion targets to obtain target occlusion evaluation rules. Based on the inference engine and target occlusion evaluation rules, reverse reasoning is performed on the occluded target to obtain the target tracking result.

9. A traffic dynamic occlusion tracking system based on multimodal fusion knowledge graph, characterized in that: include: A first trajectory extraction module is used to perform feature extraction and target tracking on a two-dimensional image of a moving vehicle to obtain a two-dimensional trajectory; The second trajectory extraction module is used to perform feature extraction and target tracking on the three-dimensional point cloud data of the moving vehicle to obtain a three-dimensional trajectory; Trajectory fusion module, which fuses the two-dimensional trajectory and the three-dimensional trajectory based on the target tracking algorithm with adaptive weights to obtain the vehicle trajectory; Model building module, building ontology model based on urban road traffic scenarios; The graph generation module maps the vehicle trajectory to the ontology model through semantic description to obtain the urban scene knowledge graph; The tracking reasoning module is used to perform semantic transformation on the urban scene knowledge graph and establish rules through the inference engine to track occluded targets and obtain target tracking results.

Citation Information

Patent Citations

  • Three-dimensional multi-target tracking method fusing images and laser point clouds

    CN110675431A

  • Target identification method, device and system based on knowledge graph, and storage medium

    CN111159249A

  • Target tracking anti-occlusion method and device

    CN111199554A

  • Multi-target tracking method in unmanned driving scene based on deep learning

    CN113468950A

  • Scene flow digital twinning method and system based on dynamic trajectory flow

    CN114970321A

Cited By

  • Multilevel semantic interactive cross-modal tracking method based on unreal engine

    CN119941790A

  • An Unreal Engine-based multi-level semantic interactive cross-modal tracking method

    CN119941790B

  • Self-adaptive context sensing vehicle target tracking identification system

    CN120472404A

  • Adaptive context-aware vehicle target tracking and recognition system

    CN120472404B