Clock correction system for bayonet equipment
The clock of the bayonet device is corrected by calculating and filtering the time difference, which solves the problem of inconsistent clocks of the bayonet device and improves the accurate judgment of the vehicle's movement trajectory.
Patent Information
- Application Number
- CN202411196391.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-10-29
AI Technical Summary
Since the clock sources of different bayonet devices are different, their times are inconsistent, which affects the accurate judgment of the vehicle's movement trajectory, and the clock of the bayonet device needs to be corrected.
By obtaining the vehicle identification list and shooting time point list corresponding to the key bayonet equipment within the preset historical time period, the initial time difference is calculated, and the target time difference is filtered according to the preset time threshold, and finally the bayonet equipment is The clock is calibrated for accurate clock and position verification.
It improves the accuracy of the difference between vehicle passing time and capture time, makes the clock correction of the bayonet device more accurate, and improves the accuracy of judging the vehicle movement trajectory.
Smart Images

Figure CN118865716A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of traffic management, and in particular to a clock correction system for a bayonet device. Background Art
[0002] Checkpoint equipment refers to a road traffic on-site monitoring equipment that relies on specific places on the road, such as toll booths, traffic or public security checkpoints, to shoot, record and process all motor vehicles passing through the checkpoint. The equipment is used for all-weather real-time detection and recording of key public security areas such as urban roads or highway entrances and exits, toll booths, etc. It can automatically identify the license plate, color and other characteristics of vehicles passing through the intersection. However, due to the large number and types of checkpoint equipment, different manufacturers use different clock sources, which may cause the clocks of different checkpoint equipment to be inconsistent, affecting the accurate judgment of the vehicle's movement trajectory. Therefore, the clock of the checkpoint equipment needs to be calibrated. Summary of the invention
[0003] In view of the above technical problems, the technical solution adopted by the present invention is:
[0004] A clock correction system for a card slot device, the system comprising: a key card slot device and a first storage medium storing position information of the key card slot device, a processor and a memory storing a computer program, when the computer program is executed by the processor, the following steps are implemented:
[0005] S100, obtaining a list of key vehicle identifications corresponding to key checkpoint devices in a preset historical time period L = {L1, L2, ..., L r , ..., L s}, where L r is the identification of the rth key vehicle passing through the key checkpoint device within a preset historical time period, r=1, 2, ..., s, s is the number of key vehicle identifications.
[0006] S200, according to L, obtain a list of key shooting time points corresponding to key camera devices T = {T1, T2, ..., T r , ..., T s}, where T r Shooting L for key bayonet equipment r time point.
[0007] S300, obtaining the first pass time point list T corresponding to L according to the location information of the key checkpoint equipment 0 ={T 0 1. T 0 2, ..., T 0 r , ..., T 0 s}, where T 0 r It is the time point when the rth key vehicle drives to the position corresponding to the position information of the key checkpoint device.
[0008] S400, according to T and T 0 , get the initial time difference list △T={△T1,△T2,……,△T r , ..., △T s}, where △T r =T 0 r -T r .
[0009] S500, obtaining a target time difference ε according to ΔT and a preset time threshold η.
[0010] S600: Correcting the clock of the key checkpoint device according to the target time difference ε, so as to implement position verification of the key checkpoint device based on the corrected clock of the key checkpoint device.
[0011] Compared with the prior art, the present invention has obvious beneficial effects. By means of the above technical solution, the data processing system provided by the present invention can achieve considerable technical advancement and practicality, and has wide industrial utilization value, and has at least the following beneficial effects:
[0012] The present invention provides a clock correction system for a checkpoint device, the system comprising: a key checkpoint device and a first storage medium storing position information of the key checkpoint device, a processor and a memory storing a computer program, and when the computer program is executed by the processor, the following steps are implemented: obtaining a key vehicle identification list corresponding to the key checkpoint device within a preset historical time period, obtaining a key shooting time point list corresponding to the key checkpoint device according to the key vehicle identification list, obtaining a first passing time point list corresponding to the key vehicle identification list according to the position information of the key checkpoint device, and then calculating an initial time difference list according to the key shooting time point list and the first passing time point list, and filtering the initial time difference list according to a preset time threshold and then calculating a target time difference, and finally correcting the clock of the key checkpoint device according to the target time difference; it can be seen that the present invention can obtain the time point when each key vehicle travels to the position from the GPS in the vehicle according to the position information of the key checkpoint device, and filtering the calculated initial time difference and taking the average, which can improve the accuracy of the difference between the obtained passing time and the capturing time, thereby making the correction of the clock of the key checkpoint device more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 A flowchart of a clock correction system for a card slot device executing a computer program provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0016] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0017] A clock correction system for a card slot device, the system comprising: a key card slot device and a first storage medium storing position information of the key card slot device, a processor and a memory storing a computer program, when the computer program is executed by the processor, the following steps are implemented, such as Figure 1 As shown:
[0018] S100, obtaining a list of key vehicle identifications corresponding to key checkpoint devices in a preset historical time period L = {L1, L2, ..., L r , ..., L s}, where L r is the identification of the rth key vehicle passing through the key checkpoint device within a preset historical time period, r=1, 2, ..., s, s is the number of key vehicle identifications.
[0019] Specifically, the key card slot device refers to any card slot device that needs to be calibrated for clock.
[0020] Specifically, the initial position information corresponding to the key checkpoint device refers to the pre-collected position information of the key checkpoint device, including the latitude and longitude information of the target checkpoint device; it can also be understood that: the collected position information of the key checkpoint device can also be the position information of the location captured by the key checkpoint device. Since the two locations are extremely close, the time points when the vehicles travel to the two locations are almost the same, the position information of the key checkpoint device can be directly collected.
[0021] Specifically, the key vehicle identification refers to a unique identification corresponding to the key vehicle, which can be understood as: the identification of the key vehicle is the license plate number of the key vehicle.
[0022] Specifically, the key vehicle refers to any vehicle that passes through a key checkpoint device within a preset historical time period.
[0023] In a specific embodiment, in S100, L is obtained by the following steps: r :
[0024] S101, obtaining a key image of the rth vehicle captured by the key checkpoint device within a preset historical time period; the key image refers to the image of the logo of the rth vehicle captured for the last time; it can be understood that: when the key checkpoint device continuously captures multiple images of the same vehicle, the image of the vehicle logo captured for the last time shall prevail.
[0025] S102, according to the OCR character recognition model, obtain L from the key image of the rth vehicle r .
[0026] As mentioned above, for a checkpoint device, based on its capture results, it can collect multiple vehicle identifications passing through the checkpoint device, and then obtain the number of vehicles passing through the checkpoint device in a preset historical time period and the capture time corresponding to each vehicle, so as to compare the capture time with the time of the vehicle passing through the checkpoint device obtained subsequently, providing a basis for the clock correction of the checkpoint device.
[0027] S200, according to L, obtain a list of key shooting time points corresponding to key camera devices T = {T1, T2, ..., T r , ..., T s}, where T r Shooting L for key bayonet equipment r time point.
[0028] S300, obtaining the first pass time point list T corresponding to L according to the location information of the key checkpoint equipment 0 ={T 01. T 0 2, ..., T 0 r , ..., T 0 s}, where T 0 r It is the time point when the rth key vehicle drives to the position corresponding to the position information of the key checkpoint device.
[0029] As mentioned above, since each key vehicle must pass through the location of the key checkpoint device, and the time when the key vehicle travels to the corresponding position of the key checkpoint device should be consistent with the time when the key checkpoint device captures the key vehicle, the time when each key vehicle travels to the location can be obtained from the GPS in the vehicle based on the location information of the key checkpoint device, thereby improving the accuracy of collecting the passing time of the key vehicles.
[0030] S400, according to T and T 0 , get the initial time difference list △T={△T1,△T2,……,△T r , ..., △T s}, where △T r =T 0 r -T r .
[0031] S500, obtaining a target time difference ε according to ΔT and a preset time threshold η.
[0032] In a specific embodiment, S500 also includes the following steps:
[0033] S501, according to the preset time threshold η, traverse △T and filter to obtain the intermediate time difference list W={W1, W2, . . . , W α , ..., W β}, where W α is the αth intermediate time difference, α=1, 2, ..., β, β is the number of intermediate time differences, and the intermediate time difference refers to any initial time difference that is not greater than the time threshold η.
[0034] S502: According to W, obtain the target time difference ε.
[0035] Among them, ε meets the following conditions:
[0036] ε=(∑ β α=1 W α ) / β.
[0037] As mentioned above, by filtering out the initial time difference values that are greater than the time threshold, the large error between the collected passage time and the actual passage time to the key equipment checkpoint when the vehicle positioning drifts can be reduced. Finally, by taking the average of the remaining initial time difference values, the accuracy of the difference between the obtained passage time and the capture time can be improved, thereby making the correction of the clock of the key checkpoint equipment more accurate.
[0038] S600, according to the target time difference ε, the clock of the key checkpoint device is corrected so that the position verification of the key checkpoint device is realized on the basis of the corrected clock of the key checkpoint device; it can be understood as: when the target time difference ε is 3s, 3s is added to the clock of the key checkpoint device, for example, if the clock of the key checkpoint device is 10:00, it is corrected to 10:03.
[0039] As mentioned above, on the basis of determining the target time difference, the clock of the key checkpoint device is calibrated so that it can be directly mapped to the time when the vehicle passes through the checkpoint device according to the capture time. There is no need to gradually obtain the time to pass through the checkpoint device according to the vehicle trajectory position, which saves the process and improves the accuracy of the checkpoint device's judgment on the vehicle's movement trajectory.
[0040] In another specific embodiment, the system further includes a target card slot device and a second storage medium storing initial position information corresponding to the target card slot device, wherein the target card slot device refers to any key card slot device that has undergone clock correction. When the computer program is executed by the processor, the following steps can be further implemented after S600:
[0041] S1, obtain the target vehicle trajectory information list A corresponding to the target checkpoint device within the preset time period = {A1, A2, ..., A i , ..., A m}, A i ={A i1 , A i2}, where A i1 is the key position information of the i-th target vehicle corresponding to the target bayonet device, A i2 is the identifier of the i-th target vehicle corresponding to the target checkpoint device, i = 1, 2, ..., m, m is the number of target vehicles corresponding to the target checkpoint device, A i1 According to A i2 Obtain key location information.
[0042] Specifically, the initial position information corresponding to the target checkpoint device refers to the pre-collected position information of the target checkpoint device, including the latitude and longitude information of the target checkpoint device.
[0043] Specifically, the target vehicle refers to any vehicle that passes through the target checkpoint device within a preset time period, wherein the preset time period is a pre-set collection time period, and the duration may be 1 hour.
[0044] Specifically, the key position information of the target vehicle refers to the longitude and latitude information of the target vehicle, wherein the longitude and latitude of the target vehicle are obtained through a GPS device in the target vehicle.
[0045] Specifically, the identification of the target vehicle refers to a unique identification corresponding to the target vehicle, which can be understood as: the identification of the target vehicle is the license plate number of the target vehicle.
[0046] In a specific embodiment, in S1, A is obtained by the following steps: i1 :
[0047] S11, obtain the target image of the i-th target vehicle captured by the target checkpoint device and the target capture time point corresponding to the target image; the target image refers to the image of the logo of the i-th target vehicle captured for the last time; it can be understood that: when the target checkpoint device continuously captures multiple images of the same vehicle, the image of the vehicle logo captured for the last time shall prevail, so that the time point corresponding to the image is closer to the time when the target vehicle approaches the target checkpoint device.
[0048] S12, according to the target image, obtain the vehicle position information corresponding to the GPS device of the i-th target vehicle at the target capture time point, and use the obtained vehicle position information as A i1 ; It can be understood as: identifying the license plate number in the target image through the OCR character recognition model, and obtaining the GPS device in the vehicle corresponding to the license plate number.
[0049] As described above, through the same time node, the target checkpoint device and the GPS device of the target vehicle are associated, and the location information of the target vehicle corresponding to the GPS device at the time when the target checkpoint device captures the picture is obtained, so that the location information of the target vehicle is closer to the location information of the target checkpoint device, so as to supplement or correct the location information of the target checkpoint device.
[0050] S2, when the initial position information corresponding to the target checkpoint device is null, clustering the key position information of the m target vehicles into a first key position information cluster, and determining the key position information corresponding to the center point of the first key position information cluster as the target position information corresponding to the target checkpoint device.
[0051] Specifically, the first key position information cluster is a cluster obtained by clustering the key position information of m target vehicles through a clustering model; it can be understood as: clustering the points corresponding to the latitude and longitude coordinates of the m target vehicles to obtain the center point of the cluster after clustering.
[0052] Specifically, the clustering model may be a k-means clustering model, through which the key location information of m target vehicles is clustered into a cluster. Those skilled in the art are aware of the specific implementation process of the k-means clustering model, which will not be described in detail here.
[0053] As mentioned above, when the initial position information of the target checkpoint device is empty, that is, when the initial position information of the target checkpoint device is not collected, the center point of the cluster can be obtained by clustering the position information of several target vehicles captured within a preset time period. The position information of the center point is used as the predicted position information of the target checkpoint device, and the drift data of the GPS device during positioning is filtered out, so that the predicted position information of the target checkpoint device is more accurate.
[0054] S3, when the initial position information corresponding to the target checkpoint device is not null, clustering is performed on the key position information of the m target vehicles based on a preset number of clusters k, to obtain k second key position information clusters.
[0055] Specifically, k meets the following conditions:
[0056] in, Represents the ceiling function.
[0057] Specifically, the second key position information cluster is a cluster obtained by clustering the key position information of m target vehicles through a clustering model; it can be understood as: clustering the points corresponding to the latitude and longitude coordinates of the m target vehicles, and obtaining k second key position information clusters after iteration.
[0058] Specifically, the clustering model may be a k-means clustering model. Those skilled in the art are familiar with the specific implementation process of the k-means clustering model, which will not be described in detail here.
[0059] In the above, the number of clusters is determined by the number of captured target vehicles, so that the number of clusters increases with the increase of captured target vehicles. Therefore, based on a large number of target vehicles with different position information, multiple cluster centers are obtained after iterating the clustering model. According to the clustering situation of each cluster, it is easy to obtain a center point that is closer to the actual position of the target checkpoint device, thereby improving the accuracy of position prediction of the target checkpoint device.
[0060] S4, determining a target key position information cluster from the k second key position information clusters.
[0061] In a specific embodiment, the target key location information cluster is determined in S4 through the following steps:
[0062] S41, according to the k second key location information clusters and the preset first distance θ, the second key location information in the k second key location information clusters is screened to obtain a third key location information cluster set C = {C1, C2, . . . , C h , ..., C k}, C h ={C h1 , C h2 , ..., C he , ..., C hf}, where h = 1, 2, ..., k, C he is the e-th third key position information in the h-th third key position information cluster, e=1, 2,..., f, f is the number of third key position information in the h-th third key position information cluster; the third key position information refers to any second key position information whose distance between the corresponding position and the position represented by the center point of the h-th third key position information cluster is not greater than θ.
[0063] S42, obtaining a third key location information cluster priority list C corresponding to C 0 ={C 0 1, C 0 2, ..., C 0 h , ..., C 0 k}, where C 0 h C h The corresponding priority.
[0064] Specifically, C. 0 h Meet the following conditions:
[0065] C 0 h =0.7×f-0.3×(∑ f x=1 y x ) / f, where y x C h The xth third key position information in C represents the position of h The center point represents the distance between the location information.
[0066] S43, when C 0 h C 0 When the maximum value is reached, C h Determined as the target key location information cluster; it can be understood as: C 0 The maximum value in is determined as the target key position information cluster. 0 h C0 When the only maximum value in h Determined as the target key location information cluster, when C 0 h For non-C 0 When there is only a maximum value in , the third key position information cluster corresponding to any maximum value is determined as the target key position information cluster.
[0067] As mentioned above, by screening the second key position information in k second key position information clusters, data with large positioning drift errors can be screened out, so that the center point of each cluster after clustering iteration is more reasonable, and when obtaining the priority of each cluster, the number of sample collection in each cluster and the mean distance of the position of each target vehicle from the center point of the cluster are taken into account. The priority obtained in this way is more accurate, so that the center point of the target key position information cluster is more consistent with the actual position of the target checkpoint device, thereby improving the prediction accuracy of the target checkpoint device.
[0068] S5. When the distance D between the position represented by the center point of the target key position information cluster and the position represented by the initial position information corresponding to the target checkpoint device is greater than λ, the key position information corresponding to the center point of the target key position information cluster is determined as the target position information corresponding to the target checkpoint device, so as to realize the correction of the initial position information corresponding to the target checkpoint device, wherein λ is a preset second distance, for example: 5 meters; it can be understood as: according to the longitude and latitude coordinates corresponding to the center point of the target key position information cluster and the longitude and latitude coordinates corresponding to the initial position information of the target checkpoint device, D is obtained. When D≤5 meters, the position of the target checkpoint device is considered to be accurate and no correction is performed.
[0069] As mentioned above, when the distance between the initial position of the target checkpoint device and the predicted position of the target checkpoint device is small, the initial position of the target checkpoint device is considered to be accurate, avoiding miscorrection caused by not taking into account that the target checkpoint device has a certain distance from the captured target vehicle when capturing. The position of the target checkpoint device will only be corrected when the distance between the two is large, which can improve the rationality and accuracy of the correction.
[0070] In a specific embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0071] S6, according to the key position information of the m target vehicles and the target position information corresponding to the target checkpoint device, obtain the intermediate distance list B corresponding to A = {B1, B2, ..., B i , ..., B m}, where B iIt is the distance between the position represented by the key position information of the i-th target vehicle and the position represented by the target position information corresponding to the target bayonet device.
[0072] S7, when B i >ζ, the target vehicle information of the ith target vehicle is obtained according to the target image corresponding to the ith target vehicle, wherein ζ is a preset third distance; for example, ζ is 500m.
[0073] Specifically, the target vehicle information is information obtained from the target image, including vehicle model information, brand information, and vehicle body color information of the i-th target vehicle.
[0074] Specifically, the target vehicle information is vehicle information obtained after identifying the target image through a target recognition vehicle model, wherein the target recognition vehicle model is an identification vehicle model trained based on a number of collected vehicle samples of different models, brands and body colors. Those skilled in the art are aware of the specific implementation process of using any neural network model for training, which will not be repeated here; in addition, manual recognition can also be used to receive feedback results of manual recognition.
[0075] S8, when the target vehicle information of the i-th target vehicle is consistent with A i2 When the corresponding vehicle information is inconsistent, the i-th target vehicle is marked as an abnormal identification vehicle; it can also be understood as: when the target vehicle information of the i-th target vehicle is inconsistent with A i2 When the corresponding vehicle information is consistent, the recognition result of the target vehicle information of the i-th target vehicle is correct.
[0076] Specifically, A i2 The corresponding vehicle information refers to information obtained based on the target license plate number in the target image recognized by the OCR model, including vehicle model information, brand information, and vehicle body color information corresponding to the target license plate number.
[0077] As mentioned above, when the intermediate distance between the key position information of the target vehicle and the target position information corresponding to the target checkpoint device is large, it may be due to an error in the recognition of the license plate number of the target vehicle, resulting in the acquisition of the position information of the real vehicle corresponding to the license plate number. By comparing the target vehicle information identified in the target image with the vehicle type information corresponding to the identified license plate number, it can be known whether the license plate number is recognized incorrectly. When the information of the two is consistent, it indicates that the license plate number is recognized correctly, and it is because the position of the target vehicle has undergone a positioning offset. When the information of the two is inconsistent, it indicates that the license plate number is recognized incorrectly, thereby determining the abnormally identified vehicle, so as to correct the collected target vehicle trajectory information, and to perform subsequent re-prediction of the checkpoint position and other purposes.
[0078] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A clock correction system for a bayonet device, characterized in that: The system comprises: a key checkpoint device and a first storage medium storing position information of the key checkpoint device, a processor and a memory storing a computer program. When the computer program is executed by the processor, the following steps are implemented: S100, obtaining a list of key vehicle identifications corresponding to key checkpoint devices in a preset historical time period L = {L1, L2, ..., L r , ..., L s }, where L r is the identification of the rth key vehicle passing through the key checkpoint device within the preset historical time period, r=1, 2, ..., s, s is the number of key vehicle identifications; S200, according to L, obtain a list of key shooting time points corresponding to key camera devices T = {T1, T2, ..., T r , ..., T s }, where T r Shooting L for key bayonet equipment r time point; S300, obtaining the first pass time point list T corresponding to L according to the location information of the key checkpoint equipment 0 ={T 0 1. T 0 2, ..., T 0 r , ..., T 0 s }, where T 0 r is the time point when the rth key vehicle drives to the position corresponding to the position information of the key checkpoint device; S400, according to T and T 0 , get the initial time difference list △T={△T1,△T2,……,△T r , ..., △T s }, where △T r =T 0 r -T r ; S500, obtaining a target time difference ε according to ΔT and a preset time threshold η; S600: Correcting the clock of the key checkpoint device according to the target time difference ε, so as to implement position verification of the key checkpoint device based on the corrected clock of the key checkpoint device.
2. The clock correction system for the bayonet device according to claim 1, characterized in that: The key vehicle refers to any vehicle that passes through a key checkpoint device within a preset historical time period.
3. The clock correction system for the bayonet device according to claim 1, characterized in that: In S100, L is obtained by the following steps: r : S101, obtaining a key image of the rth vehicle captured by a key checkpoint device within a preset historical time period; the key image refers to the image of the logo of the rth vehicle captured for the last time; S102, according to the OCR character recognition model, obtain L from the key image of the rth vehicle r .
4. The clock correction system for the bayonet device according to claim 1, characterized in that: S500 also includes the following steps: S501, according to the preset time threshold η, traverse △T and filter to obtain the intermediate time difference list W={W1, W2, . . . , W α , ..., W β }, where W α is the αth intermediate time difference, α=1, 2, ..., β, β is the number of intermediate time differences, and the intermediate time difference refers to any initial time difference that is not greater than the time threshold η; S502, obtaining a target time difference ε according to W; Among them, ε meets the following conditions: ε=(∑ β α=1 W α ) / b.
5. The clock correction system for the bayonet device according to claim 1, characterized in that: The system further includes a target card slot device and a second storage medium storing initial position information corresponding to the target card slot device, wherein the target card slot device refers to any key card slot device that has undergone clock correction. When the computer program is executed by the processor, the following steps can be further implemented after S600: S1, obtain the target vehicle trajectory information list A corresponding to the target checkpoint device within the preset time period = {A1, A2, ..., A i , ..., A m }, A i ={A i1 , A i2 }, where A i1 is the key position information of the i-th target vehicle corresponding to the target bayonet device, A i2 is the identifier of the i-th target vehicle corresponding to the target checkpoint device, i=1, 2, ..., m, m is the number of target vehicles corresponding to the target checkpoint device; S2, when the initial position information corresponding to the target checkpoint device is null, clustering the key position information of the m target vehicles into a first key position information cluster, and determining the key position information corresponding to the center point of the first key position information cluster as the target position information corresponding to the target checkpoint device; S3, when the initial position information corresponding to the target checkpoint device is not null, clustering the key position information of the m target vehicles based on the preset number of clusters k, and obtaining k second key position information clusters; S4, determining a target key position information cluster from the k second key position information clusters; S5. When the distance D between the position represented by the center point of the target key position information cluster and the position represented by the initial position information corresponding to the target checkpoint device is greater than λ, the key position information corresponding to the center point of the target key position information cluster is determined as the target position information corresponding to the target checkpoint device, so as to realize the correction of the initial position information corresponding to the target checkpoint device, wherein λ is a preset second distance.
6. The clock correction system for the bayonet device according to claim 5, characterized in that: k meets the following conditions: in, Represents the ceiling function.
7. The clock correction system for the bayonet device according to claim 5, characterized in that: The initial position information corresponding to the target checkpoint device refers to the pre-collected position information of the target checkpoint device, including the latitude and longitude information of the target checkpoint device.
8. The clock correction system for the bayonet device according to claim 5, characterized in that: In S1, A is obtained by the following steps: i1 : S101, obtaining a target image of the i-th target vehicle captured by the target checkpoint device and a target capture time point corresponding to the target image; the target image refers to the image of the logo of the i-th target vehicle captured for the last time; S102, based on the target image, obtain the vehicle position information of the GPS device of the i-th target vehicle at the target capture time point, and use the obtained vehicle position information as A i1 .
9. The clock correction system for the bayonet device according to claim 5, characterized in that: In S4, the target key location information cluster is determined by the following steps: S41, according to the k second key location information clusters and the preset first distance θ, the second key location information in the k second key location information clusters is screened to obtain a third key location information cluster set C = {C1, C2, . . . , C h , ..., C k }, C h ={C h1 , C h2 , ..., C he , ..., C hf }, where h = 1, 2, ..., k, C he is the e-th third key position information in the h-th third key position information cluster, e=1, 2, ..., f, f is the number of third key position information in the h-th third key position information cluster; the third key position information refers to any second key position information whose corresponding position is not more than θ away from the position represented by the center point of the h-th third key position information cluster; S42, obtaining a third key location information cluster priority list C corresponding to C 0 ={C 0 1, C 0 2, ..., C 0 h , ..., C 0 k }, where C 0 h C h The corresponding priority; S43, when C 0 h C 0 When the maximum value is reached, C h Determined as the target key location information cluster.
10. The clock correction system for the bayonet device according to claim 9, characterized in that: C 0 h Meet the following conditions: C 0 h =0.7×f-0.3×(∑ f x=1 y x ) / f, where y x C h The xth third key position information in C represents the position of h The center point represents the distance between the location information.
Citation Information
Cited By
Target vehicle determination method and device, equipment and medium
CN119516792A
