Vehicle signal timing scheme determination method, system, device and medium

By processing video data through multi-target tracking and clustering, vehicle trajectory features are extracted, and signal periods are calculated in real time. This solves the problem of model training relying on historical data in the existing technology, and enables timely response to traffic changes and signal timing optimization.

CN118692232AInactive Publication Date: 2024-09-24HUAZHONG UNIV OF SCI & TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410716340.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The model in the existing technology requires a large amount of historical data for training, which results in the inability to respond to traffic changes in real time and affects the timeliness and effectiveness of the signal timing scheme.

Method used

Collect and process video data through multi-target tracking algorithms, obtain vehicle trajectory data, perform clustering and label addition, extract the distribution characteristics of speed feature points, calculate the starting time and signal cycle length, and determine the signal timing plan.

Benefits of technology

It achieves real-time response to traffic changes, improves the timeliness and effectiveness of signal timing solutions, and is suitable for urban road networks with complex traffic scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692232A
    Figure CN118692232A
Patent Text Reader

Abstract

The invention discloses a method, a system, equipment and a medium for determining a signal timing scheme of a vehicle, and relates to the technical field of intelligent transportation, and the method comprises the steps: collecting video data of a road intersection; obtaining vehicle trajectory data in the video data through a multi-target tracking algorithm; carrying out clustering processing on the vehicle trajectory data, identifying a vehicle driving direction, and adding different driving direction labels for the vehicle trajectory data by using the obtained driving direction category; and in combination with the distribution characteristics of the feature points in different driving direction time dimensions, averaging the distribution of the starting point moments and the stopping point moments in the same traffic flow direction, and obtaining the starting moment in the traffic flow direction to determine a signal timing scheme. According to the method, the vehicle trajectory data are efficiently extracted from the intersection video, accurate detection of the signal timing scheme is realized, and important support is provided for traffic management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a method, system, device and medium for determining a vehicle signal timing scheme. Background Art

[0002] Traffic signal control systems play a vital role in today's urban traffic management. These systems are not only the "commanders" of road traffic, but also directly affect traffic efficiency, safety, and the overall operation of the city. Through reasonable signal timing, we can optimize the capacity of intersections, reduce congestion, and improve road traffic efficiency. However, current research on intersection signal timing schemes often relies on limited data sources and traditional analysis methods.

[0003] At present, commonly used data sources include traffic camera videos, vehicle flow data collected by traffic sensors (such as ground sensors, cameras, etc.), and real-time vehicle location data from traffic navigation systems. For these data, researchers have proposed a variety of analysis methods, including statistical methods, machine learning methods, and deep learning methods. Although these methods can be used to extract signal timing plans to a certain extent, there are still some limitations and challenges.

[0004] First, traditional data collection equipment is often affected by problems such as failures and missing data, which affects the quality and availability of data. Second, existing models may have problems with insufficient accuracy or robustness when facing complex traffic scenarios, such as a sharp increase in traffic volume during peak hours and complex intersection structures. In addition, models that are usually designed for specific types of intersections or specific traffic scenarios have poor versatility and are difficult to directly apply to intersections of different types or in different environments. Some models also require a large amount of historical data for training or calculation, resulting in an inability to respond to traffic changes in real time, affecting the timeliness and effectiveness of signal timing plans. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and to provide a method, system, device and medium for determining a vehicle signal timing scheme, so as to solve the problem that the model in the prior art requires a large amount of historical data for training or calculation, resulting in the inability to respond to traffic changes in real time, affecting the timeliness and effectiveness of the signal timing scheme.

[0006] The present invention specifically provides the following technical solution: a method for determining a vehicle signal timing scheme, comprising the following steps:

[0007] Collect video data of road intersections;

[0008] Tracking each vehicle target in the video data by a multi-target tracking algorithm, taking the trajectory between the starting coordinates of each vehicle target as vehicle trajectory data, and obtaining the vehicle speed;

[0009] Clustering the vehicle trajectory data to obtain categories for distinguishing vehicle driving directions, and adding different driving direction labels to the vehicle trajectory data based on the categories of the vehicle driving directions;

[0010] For the vehicle trajectory data with different driving direction labels added, the speed-time relationship images of the vehicles are drawn according to different driving directions, the speed feature points of the vehicles at a certain time in the speed-time images are extracted, and the distribution characteristics of the speed feature points in the time dimension are obtained;

[0011] In combination with the distribution characteristics of the speed characteristic points in the time dimension, the starting point moments of multiple speed characteristic points in the same traffic direction are obtained, and the signal cycle lengths at the multiple starting point moments are averaged to obtain the starting moment of the traffic direction, and the signal timing plan is determined by the starting moment.

[0012] Preferably, each vehicle target in the video data is tracked by a multi-target tracking algorithm, and the trajectory between the starting coordinates of each vehicle target is used as the vehicle trajectory data, wherein the initial output data format of the vehicle trajectory data is specifically expressed as:

[0013] {[frame,id,x_upleft,y_upleft,x_box,y_box]}

[0014] Among them, frame represents the video frame number, id represents the unique identifier of the target, which is used to track the same target between consecutive frames, x_upleft represents the x-coordinate of the upper-left corner of the detected target box, y_upleft represents the y-coordinate of the upper-left corner of the detected target box, x_box represents the width of the target box, and y_box represents the height of the target box.

[0015] Preferably, before clustering the vehicle trajectory data, the vehicle trajectory data is preprocessed to extract valid vehicle trajectory data, including the following steps: adjusting data beyond the boundary; reducing the influence of the video shooting angle by triangular transformation; deleting data with trajectory records less than m seconds and a total moving distance less than n meters; and using Gaussian smoothing to process the processed data of the noise data.

[0016] Preferably, the distribution characteristics of the speed characteristic points in the time dimension are combined, wherein the distribution characteristics include: the coincidence of the starting point moment of a certain direction and the stopping point moment of another direction, the coincidence of the starting point moment of a certain direction and the starting point moment of another direction, and each direction satisfies the distribution characteristics of the characteristic points in the time dimension in the same driving direction.

[0017] Preferably, the determining of the signal timing scheme by the starting time comprises the following steps:

[0018] The start point time obtained according to the distribution characteristics is used to obtain the cycle length using the average value of the difference between the start time in each traffic direction;

[0019] The average value of the cycle lengths in each traffic direction is taken as the signal cycle duration T;

[0020] The green light duration and red light duration of adjacent phases are obtained by multiple staggered subtractions within the signal cycle duration T to determine the signal timing plan.

[0021] Preferably, after collecting the video data of the road intersection, converting the video data into image data also includes the following steps:

[0022] Use Labeling to semi-automatically annotate image data;

[0023] The labeled image data is preprocessed and randomly divided into training set, validation set and test set.

[0024] Preferably, before tracking each vehicle target in the video data by a multi-target tracking algorithm, the converted image data is input into a neural network model for optimization to obtain a vehicle target that is easy to track.

[0025] The present invention also provides a vehicle signal timing scheme determination system, comprising:

[0026] A data acquisition module, used to collect video data of road intersections;

[0027] A trajectory data acquisition module, used to track each vehicle target in the video data by a multi-target tracking algorithm, use the trajectory between the starting coordinates of each vehicle target as vehicle trajectory data, and obtain the vehicle speed;

[0028] an identification module, configured to perform clustering processing on the vehicle trajectory data to obtain categories for distinguishing vehicle driving directions, and to add different driving direction labels to the vehicle trajectory data based on the categories of the vehicle driving directions;

[0029] An extraction module is used to draw a speed-time relationship image of the vehicle according to different driving directions for the vehicle trajectory data with different driving direction labels added, extract the speed feature points of the vehicle at a certain time in the speed-time image, and obtain the distribution characteristics of the speed feature points in the time dimension;

[0030] The detection module is used to obtain the starting point moments of multiple speed characteristic points in the same traffic direction in combination with the distribution characteristics of the speed characteristic points in the time dimension, and to obtain the starting moment of the traffic direction by averaging the signal cycle lengths of the multiple starting point moments, and to determine the signal timing plan through the starting moment.

[0031] The present invention also provides a computer device, including a memory and a processor, wherein a program is stored in the memory, and when the program is executed by the processor, the processor executes the steps of the method for determining a signal timing scheme of a vehicle.

[0032] The present invention also provides a storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the method for determining a signal timing scheme for a vehicle are implemented.

[0033] Compared with the prior art, the present invention has the following significant advantages:

[0034] The present invention obtains vehicle trajectory data in video data through multi-target tracking, handles complex intersection conditions, and provides a theoretical basis for signal timing optimization of large-scale urban traffic road networks. The vehicle driving direction is obtained by clustering the vehicle trajectory data, and different driving directions of the vehicle trajectory are classified. At the same time, a speed-time relationship image is drawn through the classified trajectory data to obtain the distribution characteristics of the image feature points in the time dimension, and the signal timing is estimated by taking the average of the start point and the stop point. It does not require a large amount of historical data training, and uses real-time data to perform signal timing, respond to traffic changes in real time, improve the timeliness and effectiveness of the timing plan, and provide key technical guidance for the design and optimization of traffic control systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a flow chart of a signal timing scheme detection method based on intersection video data constructed according to a preferred embodiment of the present invention;

[0036] Figure 2 It is a partial trajectory diagram provided by the present invention; wherein (a)-(c) are trajectory diagrams of id1.0, id2.0 and id5.0 respectively;

[0037] Figure 3 It is a vehicle speed-time image of a certain traffic flow direction provided by the present invention;

[0038] Figure 4 It is an acceleration-time image of a certain traffic flow direction provided by the present invention. DETAILED DESCRIPTION

[0039] The following is a clear and complete description of the technical solutions of the embodiments of the present invention in conjunction with the drawings in the present invention. Obviously, the described embodiments are 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 ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0040] like Figure 1 As shown, an embodiment of the present invention provides a method for determining a signal timing scheme for a vehicle, comprising the following steps:

[0041] Step S1: Collect video data of a road intersection; and convert the video data into image data.

[0042] Step S11: Use drone aerial photography technology to collect intersection video data. During the collection process, a single drone can be selected for fixed-line cruise shooting, and the drone is preferred to shoot the target intersection from above. If there is video data similar to an elevated camera that can directly determine the direction of traffic flow, the subsequent steps of marking and dividing the direction of vehicle travel can be skipped. Ensure that the shooting height is within the range of 80-120m, the video is shot with the north direction as the reference direction, and is shot under good weather and sufficient light conditions to ensure video clarity and effectiveness.

[0043] Step S12: Convert the collected video data into image data, and perform data annotation, preprocessing and data set construction. Labeling is used for semi-automatic annotation in the data annotation stage, and then the annotated image data is preprocessed, including minimum rectangle adjustment, HSV transformation, and random rotation, scaling, cropping and other operations to increase data diversity and improve model generalization ability. Finally, the data set is randomly divided into training set, validation set and test set.

[0044] Step S2: Use Deepsort to track each vehicle target in the video data, use the trajectory between the starting coordinates of each vehicle target as the vehicle trajectory data, and obtain the vehicle speed.

[0045] Before tracking each vehicle target in the video data through the multi-target tracking algorithm, the image data is input into the yolov5 neural network model (for training) to obtain vehicle targets that are easy to track. The model parameters are verified through the validation set, and the hyperparameters are adjusted to optimize the model performance. Finally, the test set is used to evaluate the generalization ability of the model on new data.

[0046] The specific expression of the initial output data format of vehicle trajectory data is:

[0047] {[frame,id,x_upleft,y_upleft,x_box,y_box]}

[0048] Where frame represents the video frame number, id represents the unique identifier (ID) of the target, which is used to track the same target between consecutive frames, x_upleft represents the x-coordinate of the upper-left corner of the detected target box, y_upleft represents the y-coordinate of the upper-left corner of the detected target box, x_box represents the width of the target box, and y_box represents the height of the target box.

[0049] The initial vehicle trajectory data is preprocessed, valid vehicle trajectory data is extracted, and the trajectory point speed is obtained.

[0050] The steps include:

[0051] Step S21: Preprocess the initial vehicle trajectory data to remove incomplete trajectory data, mainly including the following steps. (1) Adjust the data beyond the boundary: Set the upper left corner of the video as the coordinate origin, so the x value and y value of the output initial data should be greater than 0, and secondly should be less than the height h and width d of each frame image set during detection; (2) Trigonometric transformation: Eliminate the influence of the video shooting angle through trigonometric transformation, determine the scale based on the transformed data, and convert the data into actual distance (m) and time unit (s); (3) Delete short trajectory data, exclude short trajectory data that may have detection errors or worthless, or short trajectory data that is worthless to the subsequent process; (4) Use Gaussian smoothing to process the noise in the initial data to improve data quality.

[0052] Step S22: extracting valid vehicle trajectory data, the judgment criteria of which are that the survival time is greater than 5s and the total moving distance is greater than 50m, so as to eliminate incomplete or stationary vehicle trajectory data.

[0053] Step S23: Get the speed of the track point. Use the Euclidean distance to get the distance the vehicle has moved, then get the speed according to the basic speed formula, and add a speed column for each track data. Assume that the vehicle track is T, each track data sampling point is P, the vehicle id is i, the time interval at any time n is Δt, T i represents any target vehicle trajectory, P i represents any target vehicle trajectory sampling point, then the speed expression is as follows:

[0054]

[0055] Represents the target vehicle trajectory sampling point P i The horizontal coordinate of the center point at time n; Represents the target vehicle trajectory sampling point P i The ordinate of the center point at time n.

[0056] The format of outputting valid vehicle trajectory data is as follows:

[0057] {[time,id,x,y,v]}

[0058] Where time represents the time in the time series corresponding to each trajectory data sampling point, in seconds; id represents the unique identifier of the target, which is used to track the same target between consecutive frames; x represents the horizontal coordinate of the detected target center point; y represents the vertical coordinate of the detected target center point, and v represents the speed of the target vehicle at the corresponding time, in m / s.

[0059] Step S3: clustering the vehicle trajectory data to obtain categories that distinguish vehicle driving directions, and adding different driving direction labels to the vehicle trajectory data based on the categories of the vehicle driving directions.

[0060] Step S31: Draw the trajectory image of each vehicle according to the valid vehicle trajectory data and extract the trajectory features. Figure 2 As shown. A feature vector is extracted from each trajectory to form a feature matrix. Feature extraction includes obtaining the trajectory curvature and trajectory angle change of each trajectory sampling point (excluding the starting and ending points). The curvature is the turning curvature of the tangent line of the curve at a certain point, and the average of all curvatures is taken as the overall curvature. Given a trajectory sampling point P i , its two adjacent points are P i-1 and P i+1 The specific expression of trajectory curvature k is:

[0061]

[0062] Among them, det represents the determinant of the vector, 2 Represents the square of the magnitude of a vector.

[0063] The angle change of the trajectory represents the angle between the direction vectors of two adjacent points. Assume that two adjacent trajectory points P are given i and P i+1 , and their direction vectors are and The angle change between trajectory points is θ i , the specific expression is as follows:

[0064]

[0065] Among them, · represents the dot product of the vectors, and ||·|| represents the modulus of the vectors.

[0066] Assume that we have m vehicle trajectories, and the feature vector of each trajectory consists of the trajectory curvature k and the trajectory angle change θ. Then, a single feature vector can be expressed as:

[0067] X i =[ki ,θ i ]

[0068] For all m trajectories, the feature matrix X can be expressed as an m×2 matrix, where each row represents the feature vector of a trajectory:

[0069]

[0070] Step S32: Use DBSCAN (density-based clustering) to process valid vehicle trajectory data to identify the direction of vehicle travel. The core point of DBSCAN is defined as a point with a certain point as the center and a certain radius containing a number of points greater than or equal to the minimum point data. The main process is: (1) Identify the core point according to the definition and connect the points in its field to form a cluster. (2) Recursively connect the qualified points to the current cluster until all qualified points are included. (3) Check the points that are not included in any cluster and mark them as noise. This method can obtain vehicle IDs with different travel directions. The clustering parameter R and the minimum point data need to be adjusted according to the different video scales.

[0071] Step S4: Draw the speed-time relationship images of the vehicles according to different driving directions for the vehicle trajectory data with different driving direction labels added, extract the speed feature points of the vehicles at a certain time in the speed-time images, and obtain the distribution characteristics of the speed feature points in the time dimension.

[0072] The specific steps include:

[0073] Step S41: Definition and determination method of feature points on the speed-time image. Figure 3 As shown. Based on the analysis of a single traffic flow direction, a speed-time graph is drawn. Considering the influencing factors such as drone jitter, ground particles and feature point movement, the speed slope (i.e. the trend of acceleration change) is used to define the start and stop points. The start point is defined as the first time that the acceleration of the target vehicle exceeds 0.5m / s 2 The stopping point is defined as the first time the target vehicle acceleration is less than -0.5m / s 2 The trajectory sampling points. The acceleration-time graph is as follows Figure 4 shown.

[0074] Step S42: Description of the distribution characteristics of feature points in the time dimension. The feature points in the same driving direction present the following distribution characteristics in the time dimension: (1) The equally spaced clustering characteristics of the start point moments, the start point moments are divided into multiple groups, and the points in each group are concentrated on the time axis; (2) The equally spaced clustering characteristics of the stop point moments, the start point moments are divided into multiple groups, and the points in each group are relatively concentrated on the time axis, but the distribution of the stop point moments on the time axis is relatively less concentrated than that of the start point; (3) The start point group and the stop point group appear alternately, and the start point and stop point moments of each group appear alternately in a cycle; (4) There is an obvious periodic pattern, in which the interval between each group of start point moments is approximately equal to the time interval between each group of stop point moments.

[0075] Step S43: The characteristic points in different driving directions are expressed in the time dimension as follows: (1) the starting point of a certain direction overlaps with the stopping point of another (multiple) directions, and the starting point (stop point) of a certain direction overlaps with the starting point (stop point) of another (multiple) directions; (2) each direction satisfies the distribution characteristics of the characteristic points in the same driving direction in the time dimension mentioned in step S43.

[0076] Step S5: In combination with the distribution characteristics of the speed feature points in the time dimension, the starting point moments of multiple speed feature points in the same traffic direction are obtained, and the signal cycle lengths at the multiple starting point moments are averaged to obtain the starting time of the traffic direction, and the signal timing plan is determined by the starting time.

[0077] Step S51: Obtain feature point clustering and time mean: For different driving directions l, form a set of starting points respectively and stop point set The clustering method is used to obtain the cluster centers of each set. All starting points in the same traffic direction are clustered into starting point groups. All stop points are clustered into stop point groups Then get the time mean of each start point group and stop point group respectively and

[0078] Among them, m is the total number of starting points extracted in a certain traffic direction, n is the total number of stopping points extracted in a certain traffic direction; a is the number of clusters formed by the starting points in a certain traffic direction, and b is the number of clusters formed by the stopping points in a certain traffic direction.

[0079] Step S52: Determine the phase sequence, and identify repeated start point groups and stop point groups by comparing the distribution characteristics of the start point groups and stop point groups in different traffic directions. and stop point groups If the starting point group is highly overlapped, it is determined that l1 and l2 do not belong to the same phase, and the phase of the vehicle flow direction l1 is arranged after the phase of the vehicle flow direction l2; if the starting point group is identified and launch point groups If there is a high degree of overlap, then it is determined that l1 and l2 belong to the same phase, and the traffic in the l1 and l2 directions is classified as the same phase. Continue to identify the distribution characteristics of the start point group and the stop point group between different traffic directions until a complete phase sequence is identified.

[0080] Step S53: Determine the signal cycle T, green light period G and red light period R. First, according to the start time in each traffic direction and stop time Get the signal cycle length T of each traffic direction l Since the accuracy of the extraction of the stop point is closely related to the traffic flow during the acquisition period, in order to ensure the versatility of the method, the subsequent operations are obtained at the start point time. Then, the signal cycle length T of all traffic directions is calculated. l The average value of the signal cycle duration T of the entire intersection is obtained. l The specific expressions of and T are as follows:

[0081]

[0082] Then, according to the complete phase and phase sequence identified, the phase Φ corresponds to the start time Stop time Get the time difference between the start times of two adjacent phases, i.e. the green light time G, and average these green light durations as the green light duration of the entire phase. The yellow light duration A is a fixed value of three seconds, which is extracted from the green light duration. The specific expression formula is as follows:

[0083]

[0084] A=3s

[0085] G Φ1实际 =G Φ1 -3

[0086] Finally, the duration of the red light is obtained by obtaining the difference between the i+1th start time of the first phase and the ith start time of the second phase, and the duration of the red light of the first phase can be obtained. The specific expression is as follows:

[0087]

[0088]

[0089] Based on the above methods and statements, the present invention provides a vehicle signal timing scheme determination system, including a data acquisition module, a trajectory data acquisition module, a recognition module, an extraction module and a detection module.

[0090] Among them, the data acquisition module is used to collect video data of road intersections; the trajectory data acquisition module is used to track each vehicle target in the video data through a multi-target tracking algorithm, and the trajectory between the starting coordinates of each vehicle target is used as the vehicle trajectory data, and the vehicle speed is obtained; the recognition module is used to cluster the vehicle trajectory data, obtain the category that distinguishes the vehicle's driving direction, and add different driving direction labels to the vehicle trajectory data based on the category of the vehicle's driving direction; the extraction module is used to draw the vehicle speed-time relationship image according to different driving directions for the vehicle trajectory data with different driving direction labels added, extract the speed feature points of the vehicle at a certain time in the speed-time image, and obtain the distribution characteristics of the speed feature points in the time dimension; the detection module is used to combine the distribution characteristics of the speed feature points in the time dimension, obtain the starting point time of each of the multiple speed feature points in the same traffic direction, and take the average of the signal cycle lengths of the multiple starting point times to obtain the starting time of the traffic direction, and determine the signal timing plan through the starting time.

[0091] The present invention also provides a computer device, including a memory and a processor. The memory stores a program. When the program is executed by the processor, the processor executes the steps of a method for determining a vehicle signal timing scheme.

[0092] In accordance with the disclosed embodiments, a computing device may communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth communications, etc.), or with any device (e.g., routers, modems, etc.) that enables a computing device to communicate with one or more other computing devices.

[0093] The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, a method for determining a vehicle signal timing scheme is implemented.

[0094] According to the disclosed embodiments, the storage medium may be a non-volatile computer-readable storage medium, such as but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0095] The above content is a further detailed description of the present invention in combination with a specific preferred embodiment. For technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.

Claims

1. A method for determining a vehicle signal timing scheme, characterized in that: The steps include: Collect video data of road intersections; Tracking each vehicle target in the video data by a multi-target tracking algorithm, taking the trajectory between the starting coordinates of each vehicle target as vehicle trajectory data, and obtaining the vehicle speed; Clustering the vehicle trajectory data to obtain categories for distinguishing vehicle driving directions, and adding different driving direction labels to the vehicle trajectory data based on the categories of the vehicle driving directions; For the vehicle trajectory data with different driving direction labels added, the speed-time relationship images of the vehicles are drawn according to different driving directions, the speed feature points of the vehicles at a certain time in the speed-time images are extracted, and the distribution characteristics of the speed feature points in the time dimension are obtained; In combination with the distribution characteristics of the speed characteristic points in the time dimension, the starting point moments of multiple speed characteristic points in the same traffic direction are obtained, and the signal cycle lengths at the multiple starting point moments are averaged to obtain the starting moment of the traffic direction, and the signal timing plan is determined by the starting moment.

2. A method for determining a vehicle signal timing scheme as claimed in claim 1, characterized in that: Each vehicle target in the video data is tracked by a multi-target tracking algorithm, and the trajectory between the starting coordinates of each vehicle target is used as the vehicle trajectory data, wherein the initial output data format of the vehicle trajectory data is specifically expressed as: {[frame,id,x_upleft,y_upleft,x_box,y_box]} Among them, frame represents the video frame number, id represents the unique identifier of the target, which is used to track the same target between consecutive frames, x_upleft represents the x-coordinate of the upper-left corner of the detected target box, y_upleft represents the y-coordinate of the upper-left corner of the detected target box, x_box represents the width of the target box, and y_box represents the height of the target box.

3. The method for determining a vehicle signal timing scheme according to claim 1, characterized in that: Before clustering the vehicle trajectory data, the vehicle trajectory data is preprocessed to extract valid vehicle trajectory data, including the following steps: adjusting data beyond the boundary; reducing the influence of the video shooting angle by triangular transformation; deleting data with trajectory records less than m seconds and a total moving distance less than n meters; and using Gaussian smoothing to process the processed data of the noise data.

4. A method for determining a vehicle signal timing scheme as claimed in claim 1, characterized in that: The distribution characteristics of the speed feature points in the time dimension are combined, wherein the distribution characteristics include: the coincidence of the starting point moment of a certain direction and the stopping point moment of another direction, the coincidence of the starting point moment of a certain direction and the starting point moment of another direction, and the distribution characteristics of the feature points in the time dimension in each direction satisfying the same driving direction.

5. The method for determining a vehicle signal timing scheme according to claim 1, characterized in that: The step of determining the signal timing scheme by the start time comprises the following steps: The start point time obtained according to the distribution characteristics is used to obtain the cycle length using the average value of the difference between the start time in each traffic direction; The average value of the cycle lengths in each traffic direction is taken as the signal cycle duration T; The green light duration and red light duration of adjacent phases are obtained by multiple staggered subtractions within the signal cycle duration T to determine the signal timing plan.

6. A method for determining a vehicle signal timing scheme as claimed in claim 1, characterized in that: After collecting the video data of the road intersection, converting the video data into image data also includes the following steps: Use Labeling to semi-automatically annotate image data; The labeled image data is preprocessed and randomly divided into training set, validation set and test set.

7. A method for determining a vehicle signal timing scheme as claimed in claim 6, characterized in that: Before tracking each vehicle target in the video data by a multi-target tracking algorithm, the converted image data is input into a neural network model for optimization to obtain a vehicle target that is easy to track.

8. A vehicle signal timing scheme determination system, characterized in that: include: A data acquisition module, used to collect video data of road intersections; A trajectory data acquisition module, used to track each vehicle target in the video data by a multi-target tracking algorithm, use the trajectory between the starting coordinates of each vehicle target as vehicle trajectory data, and obtain the vehicle speed; an identification module, configured to perform clustering processing on the vehicle trajectory data to obtain categories for distinguishing vehicle driving directions, and to add different driving direction labels to the vehicle trajectory data based on the categories of the vehicle driving directions; An extraction module is used to draw a speed-time relationship image of the vehicle according to different driving directions for the vehicle trajectory data with different driving direction labels added, extract the speed feature points of the vehicle at a certain time in the speed-time image, and obtain the distribution characteristics of the speed feature points in the time dimension; The detection module is used to obtain the starting point moments of multiple speed characteristic points in the same traffic direction in combination with the distribution characteristics of the speed characteristic points in the time dimension, and to obtain the starting moment of the traffic direction by averaging the signal cycle lengths of the multiple starting point moments, and to determine the signal timing plan through the starting moment.

9. A computer device, characterized in that: It comprises a memory and a processor, wherein a program is stored in the memory, and when the program is executed by the processor, the processor executes the steps of a method for determining a signal timing scheme for a vehicle as claimed in any one of claims 1 to 7.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a method for determining a signal timing scheme for a vehicle according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Trajectory data-based signal intersection periodic flow estimation method

    CN108053645A

  • Signal lamp timing adjusting method and device, storage medium and electronic equipment

    CN108806284A

  • Intersection signal period estimation method based on trajectory data of floating vehicles

    CN108922193A

  • Method and device for determining signal lamp period, timing change time and passing duration

    CN110880246A

  • Method and device for determining period duration of traffic signal lamp, equipment and storage medium

    CN115601983A