A method for vehicle identification after a semi-enclosed space label is disconnected

By constructing a base map through joint calibration of cameras and radar and using Kalman filtering for prediction, the problem of tag continuation after vehicle identification is interrupted in a semi-enclosed space is solved. This achieves stable association of vehicle tags and continuity of trajectory, improving the accuracy of vehicle tracking and the reliability of the system.

CN121391933BActive Publication Date: 2026-05-15NINGBO LANGDA ENG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511928567.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-05-15
Estimated Expiration
2045-12-19

AI Technical Summary

Technical Problem

Existing vehicle tracking methods lack a tag continuation mechanism after identification breaks in semi-enclosed spaces, resulting in insufficient accuracy in vehicle-wide tracking and event correlation analysis. Furthermore, they rely excessively on visual data and fail to fully utilize spatial constraints.

Method used

By jointly calibrating cameras and radar at the entrance of a semi-enclosed space, a planar gridded base map is constructed. Kalman filtering is used to generate position predictions, and trajectory continuation is performed when the vehicle is identified again. The matching judgment is made by combining historical base map entries and environmental attributes to achieve continuous label continuation.

Benefits of technology

It effectively reduces vehicle trajectory breaks and misnumbering, improves the continuity and reliability of vehicle tracking across the entire domain, and ensures the consistency of labels and the stability of trajectories in complex traffic scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121391933B_ABST
    Figure CN121391933B_ABST
Patent Text Reader

Abstract

The application discloses a method for vehicle identification and label continuation after disconnection in a semi-closed space, comprising the following steps: jointly calibrating vehicles through a camera and a radar, and giving a target label to each vehicle entering the semi-closed space; constructing a planar gridded base map for the semi-closed space, and constructing a presence probability distribution of the target vehicle in the base map; if the detection of the target vehicle is lost, performing position prediction and correction on the target vehicle; when the target vehicle is recognized by the radar again, the current observation item is matched with the historical base map item with the highest matching degree to continue the track. The application has the beneficial effects that: by introducing a base map track memory and re-identification matching mechanism, the label information of the vehicle can be continuously continued in a multi-radar and multi-camera collaborative scene. Compared with the re-numbering problem of the traditional method after occlusion or disconnection, the application can effectively reduce the track breakage and misnumbering phenomenon, and significantly improve the continuity and reliability of the global tracking of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent traffic monitoring technology, and in particular to a method for reconnecting tags after vehicle identification is interrupted in a semi-enclosed space. Background Technology

[0002] Semi-enclosed spaces include highway service areas and open-air parking lots. Taking highway service areas as an example, as an important component of the modern highway transportation system, they play a crucial role in vehicle diversion, short-term stops, charging and replenishment, and safety management. With the increase in traffic flow and the diversification of vehicle types, the traffic conditions within service areas are becoming increasingly complex. Problems such as high vehicle density, frequent entry and exit, and irregular parking significantly increase the difficulty of the perception system and the burden of data processing.

[0003] LiDAR (Light Detection and Ranging) is widely used in 3D perception and vehicle monitoring in scenarios such as service areas due to its advantages of high precision, resistance to varying light levels, and all-weather operation. Current LiDAR applications mainly focus on two directions: one is improving the accuracy of vehicle recognition and classification, such as enhancing point cloud target detection through deep learning or identifying vehicle models based on visual features; the other is focusing on target tracking across multiple point clouds, achieving short-term continuous recognition through Kalman filtering or multi-target matching. However, these methods generally suffer from the following shortcomings:

[0004] (1) Lack of tag continuation mechanism in case of discontinuation recognition: Once a vehicle is not recognized in several frames, its tag is reset and cannot be associated with the previous vehicle information. (2) Over-reliance on visual data: Some solutions rely on multiple cameras in the field for continuous recognition and comparison, resulting in large data transmission volume and high installation and maintenance costs. (3) Failure to consider the spatial constraint characteristics of service area scenarios: The constraints of static boundaries such as lane direction, buildings and green belts on vehicle driving are not utilized. (4) Lack of long-term memory mechanism for base map information: Most algorithms are based only on short-term trajectory prediction and lack the fusion and updating of historical distribution probabilities, resulting in insufficient stability.

[0005] In summary, existing vehicle tracking methods still struggle to maintain tag continuity in semi-enclosed spaces like service areas after vehicle identification is interrupted, affecting the accuracy of vehicle-wide tracking and event correlation analysis. Summary of the Invention

[0006] One objective of this application is to provide a method for reconnecting vehicle tags after identification in a semi-enclosed space, which can solve at least one of the defects in the above-mentioned background art.

[0007] To achieve at least one of the above objectives, the technical solution adopted in this application is: a method for reconnecting a vehicle tag after identification failure in a semi-enclosed space, comprising the following steps:

[0008] S100: At the entrance of the semi-enclosed space, vehicles are jointly calibrated using cameras and radar, so that each vehicle entering the semi-enclosed space is assigned an entry label containing its complete information.

[0009] S200: Construct a planar gridded base map for a semi-enclosed space and establish environmental constraints; based on the position of the target vehicle in the base map, construct and dynamically maintain the probability distribution of the target vehicle's presence in the base map to form base map entries through radar identification results of the target vehicle;

[0010] S300: If the radar loses detection of the target vehicle during the continuous tracking phase, a position prediction of the target vehicle is generated through Kalman filtering; the position prediction is then corrected based on the vehicle's driving direction and environmental attributes and fused with historical base map entries.

[0011] S400: When the target vehicle is identified by radar again, the current observation entry is connected to the historical base map entry with the highest matching degree for trajectory continuation; if multiple historical base map entries meet the matching degree requirements, priority is determined based on historical trajectory, direction vector and base map probability distribution.

[0012] Preferably, in step S100, the camera is responsible for providing the vehicle's appearance information, including license plate number, precise vehicle model, color, and structural features; the radar is responsible for providing the vehicle's spatial location information and rough vehicle model; the target bounding boxes of the vehicle in the camera coordinate system and the radar coordinate system are unified, and the IOU value is calculated; if the calculated IOU value is greater than a set threshold, and the vehicle category meets the fuzzy matching condition, it is determined that the camera and radar recognition results correspond to the same vehicle, and an entry label containing its complete information is assigned to the vehicle.

[0013] Preferably, in step S200, the base map is divided into spatial semantic partitions according to environmental functions, and different spatial semantic partitions are assigned different probability weights β; the probability of the target vehicle occupying any grid position in the base map is calculated. Summarize the occupancy probability of all grids This yields the probability distribution of the target vehicle's presence in the base map; and the occupancy probability. The calculation formula is:

[0014] ;

[0015] ;

[0016] in, Let represent the probability of a target vehicle being identified by the a-th radar, k represent the total number of radars capable of identifying the target vehicle within the semi-enclosed space, (x0, y0) represent the coordinates of the target vehicle's center in the base map coordinate system, and (x, y) represent the center coordinates of any grid in the base map coordinate system. σ p This represents the diffusion parameter.

[0017] Preferably, in step S200, the base map retains the position, existence probability distribution, and entry label of each vehicle to form a base map entry; during the continuous tracking phase of the target vehicle in the semi-enclosed space, the updating of the base map entry includes the following process: calculating a matching score based on trajectory overlap, spacing difference, probability distribution, and appearance similarity between the target vehicle trajectory output by the radar in each frame and all base map entries; if the calculated matching score is greater than a set first matching threshold, it is determined that the target vehicle trajectory of the current frame is associated with the corresponding base map entry, and then the position of the base map entry is updated by matching the target vehicle trajectory; at the same time, the existence probability distribution in the base map entry is updated by the confidence probability of radar observation in the current frame and the predicted occupancy probability of historical frames.

[0018] Preferred, matching score S i The calculation formula is as follows:

[0019] ;

[0020] The update expression for the probability distribution of the existence of base map entries is as follows:

[0021] ;

[0022] in, This indicates the degree of overlap between the target vehicle trajectory and the base map entries from the BEV perspective. c represents the coordinates of the vehicle's center point on the target vehicle's trajectory. i σ represents the coordinates of the vehicle center point corresponding to the i-th base map entry. d P represents the normalization parameter. i The type represents the historical probability corresponding to the i-th base map entry. score and plate score These represent the vehicle model and license plate matching scores, respectively, with w1 to w5 representing the corresponding weighting coefficients. This represents the updated confidence probability of the target vehicle in the base map at time t. This represents the predicted probability of the existence of the base map entry corresponding to the currently matched target vehicle at time t in the historical frame. λ represents the confidence probability of radar observations in the current frame, and λ represents the fusion weight of historical information and new observation information.

[0023] Preferably, step S300 includes the following specific processes: if the radar loses detection of the target vehicle during the continuous tracking phase, the base map entry corresponding to the target vehicle is marked; for each target vehicle marked in the base map entry, Kalman filtering is used to perform multi-hypothesis position prediction to obtain the original prediction probability of the target vehicle at the corresponding grid position in the base map; the original prediction probability is corrected by combining the environmental constraints of the grid position where the target vehicle is located and the weight of the vehicle's motion direction to obtain the single-vehicle prediction probability; the candidate grid range of the target vehicle is obtained in the base map based on the vehicle's motion direction, and then the single-vehicle prediction probability is normalized according to the obtained grid range to obtain the single-vehicle prediction probability distribution; the obtained single-vehicle prediction probability distribution is fused with the existence probability distribution of historical base map entries and written back to the historical base map entry or the existence probability distribution of the historical base map entry is updated.

[0024] Preferably, a retention mechanism is set for the base map entries that are lost due to radar detection of target vehicles. Specifically, this includes the following: if the marked base map entry originates from a camera at the entrance location and the license plate confidence level is greater than a set confidence threshold, or the difference between the most recent recorded radar observation time and the current time does not exceed a set interval threshold, the marked base map entry is retained; when the target vehicle is determined to have left the site, or when it is manually or systematically canceled, the marked base map entry is deleted; for marked base map entries that are only briefly detected by radar but not determined by a camera at the entrance location, if the marked base map entry is not further observed or matched within a set duration, the confidence probability of the marked base map entry is exponentially decayed until it is finally deleted.

[0025] Preferably, step S400 includes the following process: when the target vehicle is identified by radar again, the matching score between the current observation entry and the historical base map entry is calculated. If the calculated matching score is greater than the set second matching threshold, the current observation entry is associated with the corresponding historical base map entry. If multiple historical base map entries meet the second matching threshold, the historical base map entry with the highest matching score is selected for association, and probability suppression operation is performed on the remaining historical base map entries. If the difference in matching scores of the historical base map entries that meet the second matching threshold is less than the set error threshold, the time difference between the most recent radar observation time of each historical base map entry and the current frame is compared, and the historical base map entry with the smallest time difference is selected for association.

[0026] Preferably, when connecting the trajectory of the current observation entry with the historical base map entry, the continuity score C of the current trajectory corresponding to the current observation entry and the historical trajectory corresponding to the historical base map entry is calculated; if the calculated continuity score C exceeds a set continuity threshold, the current trajectory and the historical trajectory are stitched together and updated in the base map; the formula for calculating the continuity score C is as follows:

[0027] ;

[0028] Where Δt, Δd, and Δθ represent the time interval, spatial interval, and difference in direction of motion between the current trajectory and the historical trajectory, respectively; , as well as These represent the attenuation coefficients for the time interval, spatial interval, and direction of motion difference between the current trajectory and historical trajectories, respectively; w t w d and w θ All of these represent weighting coefficients.

[0029] Preferably, when the target vehicle leaves the semi-enclosed space, if the target vehicle identified by the camera based on the exit position is inconsistent with the base map entry assigned by the radar, a swap verification is triggered. Specifically, the process includes the following steps: within a set short time window, other marked base map entries are searched to replace the base map entry assigned by the radar to the target vehicle, and a matching score is calculated; if there is a marked base map entry that improves the matching score, the marked base map entry is swapped with the base map entry assigned by the radar to the target vehicle, and the reason and evidence for the swap are recorded.

[0030] Compared with the prior art, the beneficial effects of this application are as follows:

[0031] (1) This application introduces a base map trajectory memory and re-identification matching mechanism, enabling the continuous continuation of vehicle tag information in multi-radar and multi-camera collaborative scenarios. Even in the event of short-term radar miss detection, occlusion, or field of view switching, the system can still maintain stable association of vehicle tags based on historical probability distribution and Kalman prediction information. Compared with the problem of re-numbering after occlusion or discontinuation of recognition in traditional methods, this application can effectively reduce trajectory breakage and misnumbering, and significantly improve the continuity and reliability of vehicle full-domain tracking.

[0032] (2) In the vehicle re-identification stage, this application comprehensively considers multiple features such as spatial overlap, vehicle category, consistency score, and license plate matching, forming a multi-factor fusion matching scoring system. At the same time, an exit interchange verification logic is introduced, which can automatically identify and correct label assignment errors when license plate mismatch or target intersection occurs. This mechanism effectively prevents problems such as multi-target mismatch and cross-pairing in complex traffic scenarios, ensuring the label consistency and trajectory stability of the system under high-density traffic conditions.

[0033] (3) The base map mechanism of this application adopts a probability retention and exponential decay strategy to maintain a certain probability of existence for temporarily missing vehicles and not immediately clear entries due to short-term detection loss. When a vehicle re-enters the visible area or is identified by the exit camera, the system can quickly match and restore tags based on the residual probability distribution and historical trajectory information. This design ensures that the system can maintain continuous perception of intermittently observed targets during long-term monitoring, providing basic support for all-time scene coverage. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of the overall working steps of this application. Detailed Implementation

[0035] The present application will now be further described in conjunction with specific embodiments. It should be noted that, in the description of this specification, the use of terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicates that the specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms should not be construed as necessarily referring to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.

[0036] In the description of this application, it should be noted that the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., which indicate the orientation and positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and should not be construed as limiting the specific protection scope of this application.

[0037] It should be noted that the terms "first," "second," etc., in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0038] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0039] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature being directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature being directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0040] The terms “comprising” and “having”, and any variations thereof, in the specification and claims of this application are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.

[0041] One preferred embodiment of this application, such as Figure 1 As shown, a method for reconnecting a vehicle tag after identification failure in a semi-enclosed space includes the following steps:

[0042] S100: At the entrance of the semi-enclosed space, vehicles are jointly calibrated using cameras and radar, so that each vehicle entering the semi-enclosed space is assigned an entry label containing its complete information.

[0043] Understandably, semi-enclosed spaces typically deploy checkpoint cameras and radar at entrances and exits, while multiple fixed LiDAR units are deployed within the semi-enclosed space for vehicle identification and tracking. The checkpoint cameras are responsible for identifying vehicle appearance information, including license plate number, precise vehicle model, color, and structural features. The radar detects the time of vehicle entry and exit from the semi-enclosed space, its spatial location, and a rough model, and performs joint calibration of the vehicle after aligning with the camera's spatial coordinate system. The radar within the semi-enclosed space performs full-area vehicle tracking, primarily for identifying the vehicle's spatial location and rough model.

[0044] S200: Construct a planar gridded base map for the semi-enclosed space and establish environmental constraints; based on the position of the target vehicle in the base map, construct and dynamically maintain the probability distribution of the target vehicle's presence in the base map through radar identification results to form base map entries.

[0045] It is understandable that the base map is based on the planar projection of the semi-enclosed space onto the ground, and the entire projection area is divided into several two-dimensional grids of a set specification. The specific size of the grid can be selected according to the actual needs of those skilled in the art, for example, the size of each grid is 1m×1m.

[0046] Once a vehicle is identified by the checkpoint camera and enters the semi-enclosed space, a set of grid probability distributions can be initialized for it on the base map. This is the probability that a vehicle may exist in each grid within a local area, and can also be called the existence probability distribution. In the grid probability distribution, the probability of the vehicle's center location is 1, and the neighboring grids are distributed based on the uncertainty of the vehicle's size and location. That is, except for the grid where the vehicle is currently located, the existence probability of the vehicle in other grids can be regarded as the probability that the vehicle may drive to that location in the future.

[0047] Based on the probability distribution of the target vehicle's presence in the base map, each grid can store several attributes to achieve base map trajectory memorization, providing an information basis for subsequent vehicle re-identification after discontinuity identification. The specific attributes stored in each grid include the probability that the current grid is occupied by a certain vehicle, vehicle information associated with that vehicle (license plate number, vehicle type, and trajectory ID, etc.), and the vehicle's historical trajectory, speed, and direction information.

[0048] S300: If the radar loses detection of the target vehicle during the continuous tracking phase, a position prediction of the target vehicle is generated through Kalman filtering; the position prediction is then corrected based on the vehicle's driving direction and environmental attributes and fused with historical base map entries.

[0049] As can be understood from the foregoing, the existence probability distribution can predict the driving status of a vehicle over a future period. Since the existence probability distribution radiates in multiple directions from the vehicle's center point, it can provide trajectory predictions for vehicles in different directions. However, a vehicle's actual driving trajectory can only be one. Therefore, based on the vehicle's historical driving data, a Kalman filter can be used to predict the target vehicle's position with relatively high accuracy. This prediction can then be corrected by combining environmental attributes and the vehicle's driving direction, making the predicted trajectory close to the actual trajectory the vehicle traveled during the radar detection and loss process. After predicting the trajectory of the target vehicle during the radar detection and loss process, this predicted trajectory can be fused with historical base map entries, allowing the target vehicle's full-domain trajectory within a semi-enclosed space to be continued.

[0050] S400: When the target vehicle is identified by radar again, the current observation entry is connected to the historical base map entry with the highest matching degree for trajectory continuation; if multiple historical base map entries meet the matching degree requirements, priority is determined based on historical trajectory, direction vector and base map probability distribution.

[0051] It is understandable that when radar loses identification of a target vehicle, meaning the radar has a blind spot in a localized area within a semi-enclosed space, then every vehicle passing through that area will be lost to recognition. If multiple vehicles are simultaneously lost and then re-identified in that area, multiple vehicles may need to have their trajectories continued. Therefore, it is necessary to match the current observation entries of different vehicles with different historical base map entries, and then associate each vehicle with the historical base map entry with the highest matching degree to achieve trajectory continuation.

[0052] However, since radar can only roughly identify the vehicle type, the target vehicle may have a high degree of matching with multiple historical map entries. Therefore, in order to reduce or avoid misjudgment, it is necessary to combine the spatiotemporal characteristics of the target vehicle to determine the priority of each historical map entry, and then connect the current observation entry with the historical map entry with the highest priority.

[0053] The technical solution of this application introduces a base map trajectory memory and re-identification matching mechanism, enabling continuous vehicle tag information in multi-radar, multi-camera collaborative scenarios. Even in cases of short-term radar misses, occlusion, or field-of-view switching, the system can still maintain stable vehicle tag association based on historical probability distribution and Kalman prediction information. Compared to traditional methods that require re-numbering after occlusion or discontinuation of identification, this application effectively reduces trajectory breaks and misnumbering, significantly improving the continuity and reliability of vehicle tracking across the entire domain.

[0054] In this embodiment, during step S100, since the camera can recognize color information, it can accurately distinguish the vehicle type and color. Therefore, the checkpoint camera is responsible for recognizing the vehicle's appearance information, including license plate number, precise vehicle type (sedan, SUV, van, truck, bus, etc.), color, and structural features. Since the radar can only provide point coordinate information, its accuracy in recognizing vehicles with similar physical structures is not high. Therefore, the checkpoint radar provides the vehicle's spatial location information and a rough vehicle type (large vehicle, small vehicle). The radar output is a target bounding box and vehicle type information based on a bird's-eye view (BEV). Based on the working methods of the camera and radar, the following will describe in detail the specific process of assigning entry tags to the target vehicle when it enters the entrance of the semi-enclosed space using the checkpoint camera and checkpoint radar.

[0055] Specifically, assigning tags to entries involves the following process:

[0056] S110: By jointly calibrating the camera and radar, the extrinsic parameter matrix between their coordinate systems is obtained. .

[0057] It is important to know that for extrinsic parameter matrices... The specific expression for obtaining the result is:

[0058] .

[0059] Where, p l and p c These represent the vehicle's three-dimensional coordinates in the radar coordinate system and the camera coordinate system, respectively.

[0060] S120: Based on the obtained extrinsic parameter matrix, the target bounding box of the vehicle in the camera coordinate system and the radar coordinate system can be unified.

[0061] It should be noted that the unification of coordinate systems can be achieved by projecting the camera coordinate system onto the radar coordinate system or by projecting the radar coordinate system onto the camera coordinate system. Considering that the camera coordinate system is a pixel coordinate system and the radar coordinate system is a local coordinate system, it is more convenient to project the pixel coordinate system onto the local coordinate system. Therefore, in this embodiment, the camera detection frame is projected onto the local coordinate system.

[0062] S130: When the target vehicle enters the entrance of the semi-enclosed space, the crossover ratio (IOU) of the target frame detected by the camera and radar at the same time is calculated in the BEV plane. If the calculated IOU value is greater than the set threshold and the vehicle category meets the fuzzy matching condition, it is determined that the camera and radar recognition results correspond to the same vehicle. Then, the complete recognition information of the vehicle is written into the database and a unique vehicle tag ID is generated, i.e., tag entry.

[0063] It's important to know that the formula for calculating the IOU value is as follows:

[0064] .

[0065] Among them, A overlap A represents the area of ​​the overlapping region between the camera detection box and the radar detection box in the BEV plane. union This represents the area of ​​the union region of the camera detection frame and the radar detection frame in the BEV plane.

[0066] It is also important to know that the specific value of the threshold used for IOU value determination can be selected according to the actual needs of those skilled in the art, for example, it can be 0.5. For fuzzy matching conditions for vehicle categories, it can be seen that the vehicle models identified by the camera and radar tend to be consistent. For example, if the radar identifies the target vehicle as a "large vehicle", while the camera identifies the target vehicle as a "hazardous goods vehicle / truck / bus", then the identification of vehicle categories by the camera and radar can be regarded as a match.

[0067] In this embodiment, during step S200, to enhance the accuracy of prediction and continuation, the base map can be spatially semantically partitioned based on environmental functions during the generation stage. The spatial semantic partitions include: drivable areas, parking areas, and non-drivable areas. Drivable areas mainly correspond to driving lanes, ring roads, etc., allowing vehicle movement; therefore, no constraints are required for drivable areas, meaning the initial value of the probability weight β for calculating the existence probability distribution in drivable areas is 1. Parking areas indicate that vehicles move slowly or remain stationary, reflecting a low probability of vehicle movement; therefore, certain environmental constraints are needed for parking areas, i.e., the probability weight β for calculating the existence probability distribution in parking areas can be set with a decay weight, meaning the probability weight β can decay over time within a given range. The specific decay range can be selected according to the actual needs of those skilled in the art, for example, a decay range of [0.3, 0.7]. Non-drivable areas mainly include buildings, green belts, etc., where vehicles are unlikely to appear; therefore, strict environmental constraints are needed for non-drivable areas, i.e., the probability weight β for calculating the existence probability distribution in non-drivable areas can be a fixed probability value of 0. This type of partitioning information is imported into the system through structured maps or on-site annotations to provide boundary constraints for subsequent Kalman prediction and probability updates.

[0068] In this embodiment, the calculation of the probability distribution of the target vehicle's existence in step S200 can be achieved by first calculating the probability of the target vehicle occupying any grid position in the base map based on the coordinates (x0, y0) of the target vehicle's center in the base map coordinate system. Then, by summing the probability of the target vehicle occupying all grids in the base map, the required probability distribution of existence can be obtained. There are various methods for calculating the probability of the target vehicle occupying grids in the base map. In this embodiment, a two-dimensional Gaussian kernel function is preferred for calculation. The specific calculation formula is as follows:

[0069] .

[0070] Among them, P occ (x, y) represents the probability that the target vehicle occupies any grid center (x, y) in the base map coordinate system; σ p Denotes the diffusion parameter, σ pThe value of σ depends on the size of the vehicle and the detection error range. When the vehicle is identified as being in a parked state, the diffusion parameter σ can be automatically adjusted based on the vehicle's stationary time. p The value of is chosen to prevent excessive drift in multi-frame prediction of the radar.

[0071] Based on the above formula for calculating the occupancy probability, when the target vehicle is driving continuously in the drivable area, its occupancy probability distribution is as follows: the occupancy probability of the central grid actually occupied by the target vehicle is 1, and the occupancy probability of the surrounding grids decreases with distance; for grids in the non-drivable area, the occupancy probability is always 0 based on the value of the probability weight β.

[0072] It is important to note that when a vehicle is driving in a semi-enclosed space, it may be detected by multiple radars. Generally, the occupancy probability is calculated using the identification result of the main radar closest to the target vehicle. However, to increase the system's robustness to partial obstruction or single radar failure, this embodiment updates the target vehicle's occupancy probability using the identification results of the remaining radars after calculating the occupancy probability based on the main radar. Let the total number of radars capable of identifying the target vehicle in the semi-enclosed space be k. Then, the occupancy probability of the target vehicle on any grid in the base map under the identification of k radars is... The calculation formula is:

[0073] .

[0074] in, Let represent the probability of a target vehicle being identified by the a-th radar, where a∈{1,2,……,k}.

[0075] In this embodiment, during step S200, the base map retains the position, existence probability distribution, and entry labels of each vehicle to form base map entries. During the continuous tracking phase of the target vehicle within a semi-enclosed space, to ensure the vehicle label information continues even with discontinuous identification, a dual verification mechanism combining the base map and radar output can be used to update the base map entries in real time, achieving continuous updating and error correction of vehicle information. The updating of base map entries includes the following process:

[0076] S210: The radar outputs the trajectory of the currently detected target vehicle in each frame, and the base map retains the base map entry information for each vehicle; in order to correlate the radar output with the base map information, the target vehicle trajectory output by the radar in each frame is matched with all base map entries based on trajectory overlap, spacing difference, probability distribution, and appearance similarity score S. i The calculation.

[0077] Specifically, the matching score S i The calculation formula is as follows:

[0078] .

[0079] in, This indicates the degree of overlap between the target vehicle trajectory and the base map entries from the BEV perspective. c represents the coordinates of the vehicle's center point on the target vehicle's trajectory. i This represents the coordinates of the vehicle's center point corresponding to the i-th base map entry. σ represents the squared Euclidean distance between the coordinates of the vehicle center point of the target vehicle trajectory and the coordinates of the vehicle center point corresponding to the i-th base map entry. d P represents the normalization parameter. i This represents the historical probability corresponding to the i-th base map entry, that is, the probability that this base map entry was actually passed by a vehicle in history. For example, if 30 vehicles passed near this base map entry, and 15 of them actually passed by the base map entry, then the historical probability of this base map entry is 15 / 30 = 0.5; score and plate score The values ​​represent the vehicle model and license plate matching scores, respectively, ranging from 0 to 1. These scores represent the matching based on shape and text, respectively. The specific matching methods are well-known to those skilled in the art and will not be described in detail here. w1 to w5 represent the corresponding weight coefficients, and the specific values ​​can be selected according to the actual needs of those skilled in the art.

[0080] S220: Set a first matching threshold and compare the calculated matching score with the first matching threshold; if the calculated matching score is greater than the set first matching threshold, determine that the target vehicle trajectory in the current frame is associated with the corresponding base map entry, and then update the position of the base map entry through the matching of the target vehicle trajectory; at the same time, update the existence probability distribution in the base map entry through the confidence probability of radar observation in the current frame and the predicted occupancy probability of historical frames.

[0081] It is understandable that the specific value of the first matching threshold can be selected according to the actual needs of those skilled in the art; for example, the value of the first matching threshold can be 0.8 to 0.9. As mentioned above, the base map entry needs to store the vehicle's position, existence probability distribution, and entry label. The entry label displays the vehicle's appearance information, which remains constant. Therefore, the update of the association between the target vehicle trajectory and the base map entry in the current frame mainly involves updating the vehicle's position and existence probability distribution. The update expression for the existence probability distribution of the base map entry is as follows:

[0082] ;

[0083] in, This represents the updated confidence probability of the target vehicle in the base map at time t. This represents the predicted probability of the existence of the base map entry corresponding to the currently matched target vehicle at time t in the historical frame. The confidence probability of radar observation in the current frame can be represented by the occupancy probability calculated from the vehicle position output by the radar in the current frame and the overlap with the BEV plane. The result is obtained by multiplication; λ represents the fusion weight of historical information and new observation information.

[0084] It's important to understand that in the above calculation formula, using the max function to take the maximum of the two probabilities ensures that the occupancy probability of the current target vehicle's base map entry will not unexpectedly decrease due to the fusion calculation. Because... It directly reflects the confidence probability of the current radar observation. Therefore, even if the historical prediction occupancy probability is low, it can ensure that the probability of the matching target vehicle entry in the base map remains at least the current observation value, thus stably reflecting the presence status of the target vehicle detected by the radar.

[0085] In this embodiment, when executing step S300, if the radar loses detection of the target vehicle during the continuous tracking phase, the corresponding base map entry for the target vehicle can be marked. To ensure that the marked base map entry can achieve trajectory continuity when the target vehicle is re-identified by the radar, a retention mechanism needs to be set to prevent the marked base map entry from being deleted in a short period of time. The specific implementation process of the retention mechanism is as follows:

[0086] S310: Determine whether the marked base map entry meets the following conditions:

[0087] (1) The base map entry is from the camera at the entrance location and the license plate confidence level is greater than the set confidence threshold.

[0088] (2) If the difference between the most recent recorded radar observation time and the current time of the marked base map entry does not exceed the set interval threshold, the marked base map entry shall be retained.

[0089] It is understandable that the specific values ​​of the confidence threshold and the time threshold can be determined by those skilled in the art based on their actual needs; for example, the confidence threshold can be 0.85 and the time threshold can be 300s.

[0090] S320: If a marked base map entry can satisfy any of the conditions given in step S310, the base map entry can be retained in the marked state until the target vehicle is determined to leave the site, or when it is manually or by the system to cancel, at which point the marked base map entry is deleted.

[0091] S330: For marked base map entries that do not meet all the conditions given in step S310, i.e., those that are only briefly detected by radar but not determined by the camera at the entrance position, if the marked base map entries are not further observed or matched within a set duration, the confidence probability of the marked base map entries is exponentially decayed until they are finally deleted.

[0092] It is understood that the specific value of the duration required in step S330 can be selected according to the actual needs of those skilled in the art; for example, the duration can be 60~120s. It should be noted that for vehicles that have not been detected for a long time in steps S320 and S330, their occupancy probability decays exponentially, but a certain threshold is retained to support rapid matching and recovery when the vehicle reappears; the corresponding base map entry is only deleted from the base map when it is clearly determined that the vehicle has left or the occupancy probability is below the lower limit of the threshold.

[0093] Compared to traditional methods, the base map mechanism in this application employs a probability retention and exponential decay strategy, maintaining a certain probability of presence for temporarily missing vehicles and preventing immediate deletion of entries due to short-term detection omissions. When a vehicle re-enters the visible area or is identified by the exit camera, the system can quickly match and restore tags based on the residual probability distribution and historical trajectory information. This design ensures that the system maintains continuous perception of intermittently observed targets even during long-term monitoring, providing fundamental support for all-day scene coverage.

[0094] In this embodiment, during step S300, to ensure rapid trajectory reconnection when the target vehicle is re-identified by the radar, it is necessary to predict the position of the marked base map entries during the target vehicle detection loss process, ensuring that the target vehicle corresponds to the base map entries in both spatial and temporal dimensions; the specific process is as follows:

[0095] S340: For each target vehicle marked in the base map entry, use Kalman filtering to perform multi-hypothesis position prediction, and obtain the original predicted probability of the target vehicle at the corresponding grid i position in the base map. .

[0096] It's important to understand that Kalman filtering-based target vehicle position prediction primarily utilizes historical information from labeled base map entries. This position prediction can be viewed as an optimal extrapolation trajectory based on historical information. However, this trajectory carries Gaussian uncertainty, meaning the grid positions corresponding to this optimal extrapolation trajectory are represented as probabilities, which are the original prediction probabilities. .

[0097] S350: By combining the environmental constraints of the grid location of the target vehicle and the weight of the vehicle's direction of motion, the original prediction probability is corrected to obtain the single-vehicle prediction probability.

[0098] It is important to note that the location prediction in step S340 does not consider the environmental information during the loss of the target vehicle or its motion state before the loss. This introduces a degree of uncertainty into the location prediction obtained in step S340. Therefore, the original prediction probability can be adjusted by considering environmental constraints and the weights of the vehicle's motion direction. Corrections are made. Environmental constraints can be represented using a site semantic mask M, which takes values ​​of 0 and 1. 0 indicates that vehicles are not allowed at grid i (non-drivable area), and 1 indicates that vehicles are allowed at grid i (drivable area and parking area). Vehicle motion direction weights are also considered. This can represent the probability of a vehicle at grid i traveling in different directions. For example, if grid i is in a straight lane, the weight of the vehicle in the straight direction can tend to be 1, and the weight in other directions can tend to be 0. If grid i is at an intersection, the weights for the vehicle in the straight and turning directions can be set according to the actual needs of the environment. Based on the above description, the single-vehicle prediction probability of the target vehicle at grid i is... The expression is:

[0099] .

[0100] S360: Based on the vehicle's direction of motion, obtain the candidate grid range of the target vehicle in the base map, and then normalize the single vehicle prediction probability according to the obtained grid range to obtain the single vehicle prediction probability distribution.

[0101] It's important to understand that the single-vehicle prediction probability distribution obtained in step S360 is the distribution of occupancy probabilities across different grids on a single trajectory, while the existence probability distribution mentioned earlier is the occupancy probability distribution over a multi-directional radiation range centered on the vehicle. The single-vehicle prediction probability distributions for different lost target vehicles are independent and do not undergo cross-vehicle normalization; the same grid can simultaneously accommodate the prediction probabilities of multiple vehicles. The expression for the normalized single-vehicle prediction probability distribution is as follows:

[0102] .

[0103] in, Let represent the single-vehicle prediction probability of any grid j in the predicted position of the target vehicle, and m represent the total number of grids corresponding to the predicted position of the target vehicle. In simpler terms, the position prediction of the target vehicle based on Kalman filtering is represented as a trajectory segment consisting of m consecutive grids; grid i is one of the grids in this trajectory segment, and grid j is any grid in this trajectory segment.

[0104] S370: Fuse the obtained single-vehicle prediction probability distribution with the existence probability distribution of the historical base map entry and write it back to the historical base map entry or update the existence probability distribution of the historical base map entry.

[0105] It is understandable that the existence probability distribution can be viewed as the probability of a target vehicle forming a trajectory in any direction, centered on the target vehicle. That is, the existence probability distribution may include the single-vehicle prediction probability distribution obtained in step S360, or it may not. If it includes it, the single-vehicle prediction probability distribution can be directly written back into the existence probability distribution; if it does not include it, the existence probability distribution in the historical base map entries can be updated. For both cases, a priority retention strategy can be adopted to ensure that grids with historically high occupancy probabilities are not dragged down by predictions in a short period, while allowing predictions to gradually build confidence on grids that were not historically dominant. The priority retention strategy can be specifically expressed by the following expression:

[0106] .

[0107] in, This represents the fusion probability of a historical base map entry at time t+1; β represents the historical probability of a historical basemap entry at time t in the current frame; hist The lower limit for historical retention is indicated, and the specific value can be set according to the actual needs of those skilled in the art, for example, the value range is [0.9, 1]; μ represents the weight for the fusion of old and new information, and the value can be 0.8~0.9.

[0108] Compared to traditional methods, this application proposes a probabilistic fusion mechanism that prioritizes historical data retention during the base map update process. This mechanism sets a lower limit coefficient β for historical data retention. hist By combining the old and new information fusion factors (the old and new information fusion weight μ), the high-confidence historical grid is protected while the new prediction results are gradually absorbed. This fusion method avoids the interference of short-term prediction fluctuations on long-term high-confidence trajectories, enabling the system to maintain both response sensitivity and decision stability in dynamic environments, and enhancing the reliability and consistency of the prediction update process.

[0109] In this embodiment, the execution of step S400 specifically includes the following process:

[0110] S410: When the target vehicle is identified by radar again, all possible matching historical map entries can be searched on the base map.

[0111] It is important to know that the matching criteria include the historical probability P of the base map entries. i The overlap between the current observation trajectory and the base map entries in the BEV plane Model matching score type score And license plate matching score plate score Since the historical map entries matched with the target vehicle are all predicted, the historical map entries corresponding to the target vehicle may differ significantly from the actual driving direction of the target vehicle. Therefore, the distance penalty term between the historical map entries and the actual position of the target vehicle is removed during the matching process.

[0112] S420: Based on the matching criteria in step S420, calculate the matching score S between the current observation entry and the historical base map entry. i The specific calculation formula is as follows:

[0113] .

[0114] S430: If the calculated matching score is greater than the set second matching threshold, the current observation entry is associated with the corresponding historical base map entry. The specific value of the second matching threshold can be set according to the actual needs of those skilled in the art, for example, a value of 0.8 to 0.9.

[0115] It is important to note that since radar can only identify the rough outline of a target vehicle, there are multiple historical map entries with a high degree of matching with the current observation entry. This means that several historical map entries may have a matching score greater than the second matching threshold. In this case, the historical map entry with the highest matching score can be selected for association, and probability suppression operations should be performed on the remaining historical map entries to prevent duplicate label assignment or cross-over.

[0116] It is also important to note that if the difference in matching scores between historical base map entries that meet the second matching threshold is less than the set error threshold, the specific value of the error threshold can be set according to the actual needs of those skilled in the art, for example, a value of 0.05; for example, if there are three historical base map entries with matching scores of 0.91, 0.92, and 0.93 with the current observation entry, all of which meet the second matching threshold requirement and the error threshold requirement, then further decision-making can be made through time continuity constraints, that is, comparing the time difference between the most recent radar observation time of each historical base map entry and the current frame, and selecting the historical base map entry with the smallest time difference for association. That is, in the case of multiple historical base map entries, priority is given to selecting historical base map entries with shorter time intervals and closer locations for final matching, thereby improving the stability of matching.

[0117] In this embodiment, after matching the current observation entry with the historical base map entry, when performing trajectory continuation between the current observation entry and the historical base map entry, the continuity score C of the current trajectory corresponding to the current observation entry and the historical trajectory corresponding to the historical base map entry can be calculated to determine whether they belong to the same vehicle's movement process. That is, if the calculated continuity score C exceeds a set continuity threshold, it indicates that they belong to the same vehicle's movement process, and the current trajectory and historical trajectory can be stitched together and updated in the base map. The formula for calculating the continuity score C is as follows:

[0118] .

[0119] Where Δt, Δd, and Δθ represent the time interval, spatial interval, and difference in direction of motion between the current trajectory and the historical trajectory, respectively; , as well as These represent the attenuation coefficients for the time interval, spatial interval, and direction of motion difference between the current trajectory and historical trajectories, respectively; w t w d and w θ All of these represent weighting coefficients.

[0120] It is important to know that the specific value of the continuity threshold used for determining the continuity score C can be selected according to the actual needs of those skilled in the art; for example, it can be 0.8 to 0.9. Through the above-mentioned continuation mechanism, when a vehicle is detected again, its historical label can be restored immediately, achieving seamless continuation of the vehicle in multi-radar collaborative scenarios and avoiding mismatches and chain breaks caused by differences in multi-source detection or label conflicts.

[0121] In this embodiment, the above-mentioned continuation of the current observation trajectory and historical base map entries is performed under radar detection scenarios. This may result in a discrepancy between the target vehicle identified by the camera at the exit position and the base map entry assigned by the radar when the target vehicle leaves the semi-enclosed space. This could cause the base map entry corresponding to a vehicle still in the semi-enclosed space to be matched to a vehicle at the exit position, leading to inaccurate vehicle trajectories within the semi-enclosed space. Therefore, in the technical solution of this application, a swap verification mechanism can be set at the exit position of the semi-enclosed space, specifically including the following process:

[0122] When the target vehicle identified by the camera at the exit location is inconsistent with the base map entry assigned by the radar, a swap check is triggered. At this time, other marked base map entries can be searched within a set short time window to replace the base map entry assigned to the target vehicle by the radar, and a matching score is calculated. If there is a marked base map entry that improves the matching score, the marked base map entry is swapped with the base map entry assigned to the target vehicle by the radar, and the reason and evidence for the swap are recorded.

[0123] Compared to traditional methods, the technical solution of this application introduces exit interchange verification logic, which can automatically identify and correct label assignment errors when license plate mismatch or target overlap occurs. This mechanism effectively prevents problems such as multi-target mismatch and cross-pairing in complex traffic scenarios, ensuring label consistency and trajectory stability of the system under high-density traffic conditions.

[0124] The basic principles, main features, and advantages of this application have been described above. Those skilled in the art should understand that this application is not limited to the above embodiments. The embodiments and descriptions in the specification are merely the principles of this application. Various changes and modifications can be made to this application without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claims. The scope of protection claimed by this application is defined by the appended claims and their equivalents.

Claims

1. A method for reconnecting tags after vehicle identification failure in a semi-enclosed space, characterized in that, Includes the following steps: S100: At the entrance of the semi-enclosed space, vehicles are jointly calibrated using cameras and radar, so that each vehicle entering the semi-enclosed space is assigned an entry label containing its complete information. S200: Construct a planar gridded base map for a semi-enclosed space and establish environmental constraints; based on the position of the target vehicle in the base map, construct and dynamically maintain the probability distribution of the target vehicle's presence in the base map to form base map entries through radar identification results of the target vehicle; S300: If the radar loses detection of the target vehicle during the continuous tracking phase, the position prediction of the target vehicle is generated through Kalman filtering; The location prediction is corrected based on the vehicle's direction of travel and environmental attributes, and then merged with historical base map entries. S400: When the target vehicle is identified by the radar again, the current observation entry is connected to the historical base map entry with the highest matching degree for trajectory continuation; if multiple historical base map entries meet the matching degree requirements, priority is determined based on historical trajectory, direction vector and base map probability distribution; Step S300 includes the following specific processes: If the radar loses detection of the target vehicle during the continuous tracking phase, the corresponding base map entry for that target vehicle will be marked. For each target vehicle marked in the base map entry, Kalman filtering is used to perform multi-hypothesis location prediction using the historical information of the marked base map entry, so as to obtain the original predicted probability of the target vehicle at the corresponding grid position in the base map. By combining the environmental constraints of the grid location of the target vehicle and the weight of the vehicle's direction of motion, the original prediction probability is corrected to obtain the single-vehicle prediction probability. Based on the vehicle's direction of motion, the candidate grid range of the target vehicle is obtained from the base map. Then, the prediction probability of a single vehicle is normalized according to the obtained grid range to obtain the prediction probability distribution of a single vehicle. The obtained bicycle prediction probability distribution is merged with the existence probability distribution of the historical base map entry, and then written back to the historical base map entry or the existence probability distribution of the historical base map entry is updated.

2. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, In step S100, the camera is responsible for providing the vehicle's appearance information, including license plate number, precise vehicle model, color, and structural features; The radar is responsible for providing the vehicle's spatial location information and a rough model number; Unify the target bounding boxes of the vehicle in the camera coordinate system and the radar coordinate system, and calculate the IOU value; If the calculated IOU value is greater than the set threshold and the vehicle category meets the fuzzy matching conditions, it is determined that the camera and radar recognition results correspond to the same vehicle, and the vehicle is assigned an entry label containing its complete information.

3. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, In step S200, the base map is divided into spatial semantic partitions according to environmental functions, and different spatial semantic partitions are assigned different probability weights β; Calculate the probability of the target vehicle occupying any grid position in the base map. Summarize the occupancy probability of all grids This yields the probability distribution of the target vehicle's presence in the base map. Occupancy probability The calculation formula is: ; ; in, Let represent the probability of a target vehicle being identified by the a-th radar, k represent the total number of radars capable of identifying the target vehicle within the semi-enclosed space, (x0, y0) represent the coordinates of the target vehicle's center in the base map coordinate system, and (x, y) represent the center coordinates of any grid in the base map coordinate system. σ p This represents the diffusion parameter.

4. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, In step S200, the base map retains the location, existence probability distribution, and entry label of each vehicle to form base map entries; During the phase of continuous tracking of the target vehicle within a semi-enclosed space, the updating of base map entries includes the following process: The target vehicle trajectory output by the radar in each frame is matched with all base map entries based on trajectory overlap, spacing difference, probability distribution, and appearance similarity. The trajectory overlap between the target vehicle trajectory and the base map entries is represented by the degree of overlap under the BEV perspective. If the calculated matching score is greater than the set first matching threshold, the target vehicle trajectory of the current frame is determined to be associated with the corresponding base map entry, and then the position of the base map entry is updated by matching the target vehicle trajectory. Simultaneously, the existence probability distribution in the base map entries is updated using the confidence probability of radar observations in the current frame and the predicted occupancy probability of historical frames.

5. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 4, characterized in that, Matching score S i The calculation formula is as follows: ; The update expression for the probability distribution of the existence of base map entries is as follows: ; in, c represents the degree of overlap between the target vehicle trajectory and the base map entry from the BEV perspective. T c represents the coordinates of the vehicle's center point on the target vehicle's trajectory. i σ represents the coordinates of the vehicle center point corresponding to the i-th base map entry. d P represents the normalization parameter. i This represents the historical probability corresponding to the i-th base map entry, that is, the probability that this base map entry was actually passed by a vehicle in history; type score and plate score These represent the vehicle model and license plate matching scores, respectively, with w1 to w5 representing the corresponding weighting coefficients. This represents the updated confidence probability of the target vehicle in the base map at time t. This represents the predicted probability of the existence of the base map entry corresponding to the currently matched target vehicle at time t in the historical frame. λ represents the confidence probability of radar observations in the current frame, and λ represents the fusion weight of historical information and new observation information.

6. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, A mechanism is in place to retain base map entries that are lost during radar detection of target vehicles. This mechanism includes the following: If the marked base map entry originates from a camera at the entrance location and the license plate confidence level is greater than the set confidence threshold, or if the difference between the most recent recorded radar observation time and the current time does not exceed the set interval threshold, the marked base map entry will be retained; when the target vehicle is determined to have left the site, or when it is manually or automatically canceled by the system, the marked base map entry will be deleted. For marked base map entries that are only briefly detected by radar but not identified by cameras at the entrance location, if the marked base map entries are not further observed or matched within a set duration, the confidence probability of the marked base map entries is exponentially decayed until they are eventually deleted.

7. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 4, characterized in that, Step S400 includes the following process: When the target vehicle is identified by the radar again, the matching score between the current observation entry and the historical base map entry is calculated. If the calculated matching score is greater than the set second matching threshold, the current observation entry is associated with the corresponding historical base map entry for matching. If multiple historical base map entries meet the second matching threshold, select the historical base map entry with the highest matching score for association, and perform probability suppression operation on the remaining historical base map entries; If the matching score difference of historical base map entries that meet the second matching threshold is less than the set error threshold, compare the time difference between the most recent radar observation time of each historical base map entry and the current frame, and select the historical base map entry with the smallest time difference for association.

8. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, When connecting the current observation entry with the historical base map entry, calculate the continuity score C between the current trajectory corresponding to the current observation entry and the historical trajectory corresponding to the historical base map entry; if the calculated continuity score C exceeds the set continuity threshold, the current trajectory and the historical trajectory are spliced ​​together and updated in the base map. The formula for calculating the continuity score C is as follows: ; Where Δt, Δd, and Δθ represent the time interval, spatial interval, and difference in direction of motion between the current trajectory and the historical trajectory, respectively; , as well as These represent the attenuation coefficients for the time interval, spatial interval, and direction of motion difference between the current trajectory and historical trajectories, respectively; w t w d and w θ All of these represent weighting coefficients.

9. The method for reconnecting tags after vehicle identification failure in a semi-enclosed space as described in claim 1, characterized in that, When the target vehicle leaves the semi-enclosed space, the target vehicle identified by the camera based on the exit position is inconsistent with the base map entry assigned by the radar, triggering a cross-check, which includes the following process: Within a set short time window, other marked base map entries are retrieved from the base map to replace the base map entry assigned to the target vehicle by the radar, and a matching score is calculated. If there is a marked map entry that improves the matching score, swap the marked map entry with the map entry assigned to the target vehicle by the radar, and record the reason and evidence for the swap.