Traffic light countdown time sequence tracking and reporting method, storage medium and intelligent equipment
By sensing historical frames of traffic light countdown through smart devices, separating odd and even sequence frames and calculating countdown numbers, it solves the problem of accuracy of traffic light countdown perception without high-precision maps, achieves stable reporting of traffic light countdown, and improves the accuracy of automatic driving control. sex and real-time.
Patent Information
- Application Number
- CN202411215232.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-09-02
AI Technical Summary
In the absence of high-precision maps, the perception and recognition of traffic light countdowns are difficult to achieve stably and accurately, especially in real-time changing scenarios, which lack good generalization.
By obtaining multiple historical frames of the traffic light countdown perceived by the smart device, separating odd sequence and even sequence historical frames, obtaining the countdown numbers of the current frame respectively, and calculating the final countdown sequence based on these numbers, achieving stable and accurate reporting of the traffic light countdown. .
Without relying on high-precision maps, it is possible to accurately track and report the traffic light countdown sequence, which improves the accuracy and user experience of autonomous driving planning and control, and has better real-time performance and generalization.
Smart Images

Figure CN118736870A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a method for tracking and reporting a traffic light countdown sequence, a storage medium, and an intelligent device. Background Art
[0002] In the autonomous driving system, traffic light status perception is very important for traffic at intersections. The perception of the countdown can provide a more precise control basis for downstream regulation and control. When the traffic light corresponding to the vehicle is green and the countdown is about to decrease to 0, the vehicle can be decelerated in advance to avoid sudden braking when the vehicle turns from green to red at the intersection, which affects the physical sense. Or when the vehicle is waiting for the red light, the countdown is used as a starting reminder.
[0003] In the high-precision map solution, each traffic light is labeled with extremely detailed information, including the semantics of the traffic light and the topological relationship between the countdowns, so that the perception module only needs to identify the digital state of each frame and add some post-processing strategies to achieve the binding and reporting of the countdown. For solutions without high-precision maps, the existence of the countdown and the countdown topological relationship must be detected and identified in real time by the perception system, and it is difficult to have good generalization for real-world change scenarios.
[0004] Accordingly, the art needs a new traffic light countdown timing tracking and reporting solution to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects, the present application is proposed to solve or at least partially solve the technical problem of how to achieve stable and accurate reporting of the countdown timing of traffic lights without relying on high-precision maps.
[0006] In a first aspect, a method for tracking and reporting a traffic light countdown timing sequence is provided, the method being applied to a smart device, the method comprising: Acquire multiple historical frames of traffic light countdown numbers sensed by the smart device; According to the multiple historical frames, obtaining odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers; According to the odd sequence historical frame and the even sequence historical frame, respectively obtain a first countdown number and a second countdown number of a current frame; The final countdown timing of the traffic light is obtained according to the first countdown number and the second countdown number.
[0007] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the obtaining of the first countdown number and the second countdown number of the current frame respectively according to the odd sequence historical frame and the even sequence historical frame includes: Acquire the first countdown number according to the odd-sequence historical frame and the timestamp of the odd-sequence historical frame; The second countdown number is acquired according to the even sequence historical frame and the timestamp of the even sequence historical frame.
[0008] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the obtaining of the first countdown number according to the odd-sequence historical frame and the timestamp of the odd-sequence historical frame includes: According to the timestamp of each historical frame in the odd sequence of historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtaining the predicted numbers of each historical frame for the current frame; Acquire the first countdown number according to the predicted numbers of all historical frames in the odd sequence of historical frames and the number of historical frames in the odd sequence of historical frames; The acquiring the second countdown number according to the even sequence historical frame and the timestamp of the even sequence historical frame includes: According to the timestamp of each historical frame in the even sequence of historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtaining the predicted numbers of each historical frame for the current frame; The second countdown number is obtained according to the predicted numbers of all historical frames in the even sequence of historical frames and the number of historical frames in the even sequence of historical frames.
[0009] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the multiple historical frames are historical frames within a sliding time window of a preset window length; The step of obtaining a final countdown timing sequence of the traffic light according to the first countdown number and the second countdown number includes: Obtaining a preset number of consecutive first countdown numbers and second countdown numbers within the sliding time window; The final countdown timing is obtained according to the first countdown numbers and the second countdown numbers in the preset number of continuous sliding time windows.
[0010] In a technical solution of the above-mentioned traffic light countdown sequence tracking and reporting method, the obtaining of the final countdown sequence according to the first countdown digit and the second countdown digit within the preset number of continuous sliding time windows includes: For each sliding time window, determining whether the corresponding first countdown number and the second countdown number are the same; If the first countdown number and the second countdown number obtained from a preset number of consecutive historical frames within the sliding time window are the same, the final countdown timing is determined according to the first countdown number and the second countdown number.
[0011] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the step of obtaining odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers according to the multiple historical frames includes: Filtering multiple historical frames of the traffic light countdown numbers within a sliding time window of a preset window length to obtain filtered historical frames; According to the order of the filtered historical frames, the filtered historical frames are grouped to obtain odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers.
[0012] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the method further includes: According to the traffic light image sensed by the smart device, determining whether the traffic light countdown is an embedded countdown; If yes, binding the final countdown timing with the traffic light image; If not, obtain a traffic light image containing motor vehicle semantics, and project the acquired traffic light image and the perceived traffic light countdown numbers onto a preset sensor coordinate system of the smart device, obtain the pixel distance between the traffic light image and the traffic light countdown numbers, and select the traffic light image with the smallest pixel distance to bind to the final countdown timing.
[0013] In a technical solution of the above-mentioned traffic light countdown timing tracking and reporting method, the method further includes: If the smart device senses and obtains a new traffic light countdown number for the same traffic light, the final countdown timing is corrected according to the new traffic light countdown number.
[0014] In a second aspect, a smart device is provided, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any one of the technical solutions of the above-mentioned traffic light countdown timing tracking and reporting method is implemented.
[0015] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the method described in any one of the technical solutions of the above-mentioned traffic light countdown timing tracking and reporting method.
[0016] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects: In the implementation of the technical solution of the traffic light countdown sequence tracking and reporting method provided by the present application, the present application obtains multiple historical frames of the traffic light countdown numbers perceived by the intelligent device, obtains the odd sequence historical frames and even sequence historical frames of the traffic light countdown numbers according to the multiple historical frames, and performs reasoning according to the odd sequence historical frames and the even sequence historical frames respectively, obtains the first countdown number and the second countdown number of the current frame, and obtains the final countdown sequence of the traffic light according to the first countdown number and the second countdown number. Through the above configuration, the present application can stably and accurately reason and report the final countdown sequence of the traffic light based on the historical frames of the traffic light countdown numbers, and can also realize the reporting of the traffic light sequence without relying on high-precision maps. Even when the red and green are blocked, it can still provide accurate traffic light countdown sequence for the planning and control of autonomous driving, which can effectively improve the accuracy of the planning and control process and improve the user experience. At the same time, since the present application only needs to perceive to obtain the final countdown sequence of the traffic light, it has better real-time performance, is available in the whole domain, and has better generalization. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. Among them: Figure 1 This is a flow chart of the main steps of a method for tracking and reporting a traffic light countdown timing sequence according to an embodiment of the present application; Figure 2 It is a schematic diagram of two types of traffic light countdown; Figure 3 It is a schematic diagram of the main overall framework of a method for tracking and reporting a traffic light countdown timing sequence according to an implementation method of an embodiment of the present application; Figure 4 This is a schematic diagram of an example of the reasoning process of a method for tracking and reporting a traffic light countdown timing sequence according to an implementation of an embodiment of the present application; Figure 5 It is a schematic diagram of the main structure of a smart device according to an embodiment of the present application.
[0018] Reference numerals: 11: memory; 12: processor. DETAILED DESCRIPTION
[0019] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0020] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program code, such as a disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include only A, only B or A and B. The singular terms "one" and "the" may also include plural forms.
[0021] The relevant user personal information that may be involved in the various embodiments of this application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purposes of business scenarios, to process the personal information that users actively provide during the use of products / services or generated due to the use of products / services, as well as the personal information obtained with the user's authorization.
[0022] The user personal information processed by this application will vary depending on the specific product / service scenario, and shall be based on the specific scenario in which the user uses the product / service, and may involve the user's account information, device information, driving information, vehicle information or other related information. This application will treat the user's personal information and its processing with a high degree of diligence.
[0023] This application attaches great importance to the security of user personal information and has taken reasonable and feasible security protection measures that meet industry standards to protect user information and prevent personal information from being accessed, disclosed, used, modified, damaged or lost without authorization.
[0024] See attached Figure 1 , Figure 1 1 is a flow chart of the main steps of a method for tracking and reporting a traffic light countdown timing sequence according to an embodiment of the present application. Figure 1As shown, the method for tracking and reporting the countdown timing of a traffic light in an embodiment of the present application is applied to a smart device, and the method for tracking and reporting the countdown timing of a traffic light mainly includes the following steps S101 to S104.
[0025] Step S101: Acquire multiple historical frames of traffic light countdown numbers sensed by a smart device.
[0026] In this embodiment, multiple historical frames of traffic light countdown numbers of traffic lights that need to be time-series tracked and sensed by the smart device may be acquired.
[0027] There are two main types of traffic light countdown numbers: embedded countdown and independent countdown. Figure 2 , Figure 2 The following are two schematic diagrams of traffic light countdown. Figure 2 As shown, Figure 2 On the left is an embedded countdown. Figure 2 On the right is an independent countdown.
[0028] In one implementation, the smart device may be a driving device, a smart car, a robot, or the like.
[0029] In one implementation, the image of the traffic light countdown numbers can be captured based on the camera of the smart device, and multiple historical frames of the traffic light countdown numbers can be obtained by recognition through the perception model.
[0030] In one implementation, the frame rate of the traffic light countdown digits sensed may be 15 Hz.
[0031] Step S102: acquiring odd-sequence historical frames and even-sequence historical frames of traffic light countdown numbers according to a plurality of historical frames.
[0032] In this embodiment, historical frames may be divided according to a plurality of historical frames to obtain odd-sequence historical frames and even-sequence historical frames of traffic light countdown numbers.
[0033] In one implementation, a sliding time window with a preset window length may be pre-set to obtain multiple historical frames within the sliding time window.
[0034] In one implementation, step S102 may further include the following steps S1021 and S1022: Step S1021: Filter multiple historical frames of traffic light countdown numbers within a sliding time window of a preset window length to obtain filtered historical frames.
[0035] In this embodiment, the historical frames of the traffic light countdown numbers generally have three states when identifying the traffic light countdown numbers: correct identification, incorrect identification, and no traffic light countdown numbers detected. Therefore, it is necessary to filter the historical frames of the traffic light countdown numbers, and then retain the historical frames that are correctly identified. Among them, the filtering method commonly used in the art can be used to filter the historical frames, and this application does not limit this.
[0036] Step S1022: grouping the filtered historical frames according to the order of the filtered historical frames to obtain odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers.
[0037] In this implementation, the historical frames may be grouped according to the order of the filtered historical frames, and divided into odd-sequence historical frames and even-sequence historical frames.
[0038] Step S103: Obtain the first countdown number and the second countdown number of the current frame respectively according to the odd sequence historical frames and the even sequence historical frames.
[0039] In this embodiment, the odd-sequence historical frames and the even-sequence historical frames may be inferred respectively to obtain the first countdown number and the second countdown number of the current frame.
[0040] In one implementation, step S103 may further include the following steps S1031 and S1032: Step S1031: Obtain a first countdown number according to the odd-sequence historical frame and the timestamp of the odd-sequence historical frame.
[0041] Step S1032: Obtain a second countdown number according to the even sequence historical frame and the timestamp of the even sequence historical frame.
[0042] In this implementation, step S1031 may further include the following steps S10311 and S10312: Step S10311: According to the timestamp of each historical frame in the odd sequence historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtain the predicted numbers of each historical frame for the current frame.
[0043] Step S10312: Obtain a first countdown number according to the predicted numbers of all historical frames in the odd-sequence historical frames and the number of historical frames in the odd-sequence historical frames.
[0044] Step S1032 may further include the following steps S10321 and S10322: Step S10321: According to the timestamp of each historical frame in the even sequence of historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtain the predicted numbers of each historical frame for the current frame.
[0045] Step S10322: Obtain a second countdown number according to the predicted numbers of all historical frames in the even sequence historical frames and the number of historical frames in the even sequence historical frames.
[0046] Specifically, the first countdown number can be obtained according to the following formula (1), and the second countdown number can be obtained according to the following formula (2): (1) (2)
[0047] in, is the first countdown number, The second countdown number, is the number of historical frames in the odd sequence of historical frames, is the number of historical frames in the even sequence of historical frames, is the timestamp corresponding to the i-th historical frame, is the timestamp of the current frame, is the countdown number corresponding to the i-th historical frame, It is the prediction number of the i-th historical frame for the current frame. The unit of timestamp is milliseconds.
[0048] Step S104: Obtain the final countdown timing of the traffic light according to the first countdown number and the second countdown number.
[0049] In this embodiment, the final countdown number of the current frame can be obtained according to the first countdown number and the second countdown number, and then the final countdown sequence of the traffic light can be obtained according to the timestamp of the current frame and the final countdown number. The final countdown sequence of the traffic light can provide an accurate control basis for the planning and control of autonomous driving. The color of the traffic light corresponding to the vehicle is green, and the final countdown sequence number is about to decrease to 0. The vehicle can be controlled to slow down in advance to avoid the vehicle from turning from green to red at the intersection, causing sudden braking and affecting the body feeling. At the same time, when the vehicle is waiting for the red light, the final countdown sequence can also be used as a reminder for the vehicle to start.
[0050] In one implementation, step S104 may further include step S1041 and step S1042: Step S1041: Obtain a preset number of first countdown numbers and second countdown numbers within a continuous sliding time window.
[0051] Step S1042: Obtain a final countdown sequence according to a preset number of first countdown numbers and second countdown numbers in a continuous sliding time window.
[0052] In this embodiment, a plurality of first countdown numbers and second countdown numbers can be obtained based on historical frames in a preset number of continuous sliding windows. For the first countdown number and the second countdown number inferred in each sliding window, it is determined whether the first countdown number and the second countdown number are the same. If the first countdown number and the second countdown number inferred based on historical frames in a preset number of continuous sliding windows are the same, the final countdown timing can be determined based on the first countdown number and the second countdown number. Among them, the final countdown timing includes the countdown number of the current frame and the timing of the traffic light countdown of other frames after the current frame.
[0053] Based on the method described in the above steps S101 to S104, the embodiment of the present application obtains multiple historical frames of the countdown numbers of the traffic light perceived by the intelligent device, obtains the odd sequence historical frames and the even sequence historical frames of the countdown numbers of the traffic light according to the multiple historical frames, and performs reasoning according to the odd sequence historical frames and the even sequence historical frames respectively, obtains the first countdown number and the second countdown number of the current frame, and obtains the final countdown timing of the traffic light according to the first countdown number and the second countdown number. Through the above configuration, the embodiment of the present application can stably and accurately reason and report the final countdown timing of the traffic light based on the historical frames of the countdown numbers of the traffic light, and can also realize the reporting of the traffic light timing without relying on high-precision maps. Even when the red and green are blocked, it can still provide accurate traffic light countdown timing for the planning control of the autonomous driving, which can effectively improve the accuracy of the planning control process and improve the user experience. At the same time, since the present application only needs to perceive to obtain the final countdown timing of the traffic light, it has better real-time performance, is available in the whole domain, and has better generalization.
[0054] See the attached Figure 4 , the traffic light countdown timing tracking and reporting method of the present application is further described, Figure 4 FIG. 1 is a schematic diagram of an example of the reasoning process of a method for tracking and reporting a traffic light countdown timing sequence according to an implementation of an embodiment of the present application. Figure 4 As shown, after being sensed by smart devices, model detection can be performed to obtain multiple historical frames (t1-t15) of traffic light countdown numbers. The historical frames are filtered to obtain filtered observations (historical frames), and the filtered observations are numbered. The filtered observations are divided into odd-sequence historical frames and even-sequence historical frames according to the numbers, and reasoning verification is performed on each to obtain the first countdown number and the second countdown number of the current frame. Figure 4It can be seen that the first countdown number and the second countdown number are both 14 at time t15. When it is determined that the first countdown number and the second countdown number are the same, multiple inferences of a preset number (Th) can be performed. If the first countdown number and the second countdown number in each inference are the same, the final countdown timing can be obtained according to the first countdown number and the second countdown number, and activated and reported.
[0055] In one implementation, it is possible to determine whether the traffic light countdown is an embedded countdown based on a traffic light image of the traffic light that needs to be tracked in time that is sensed by the smart device; if it is an embedded countdown, the final countdown timing is bound to the traffic light image; if it is not an embedded countdown, a traffic light image containing motor vehicle semantics can be obtained, and the obtained traffic light image and the perceived traffic light countdown number are both projected onto a preset sensor coordinate system of the smart device, the pixel distance between the traffic light image and the traffic light countdown number is obtained, and the traffic light image with the smallest pixel distance is selected to be bound to the final countdown timing.
[0056] The traffic light image is an image showing the color of the traffic light and the traffic indication status, such as Figure 2 The pie charts and arrow charts in the figure are all traffic light images.
[0057] In one implementation, if the smart device senses and obtains a new traffic light countdown number of the current traffic light, the final countdown timing is corrected according to the new traffic light countdown number to gradually improve the accuracy of the final countdown timing.
[0058] In one embodiment, please refer to the attached Figure 3 , Figure 3 1 is a schematic diagram of the main overall framework of a method for tracking and reporting a traffic light countdown timing sequence according to an implementation of an embodiment of the present application. Figure 3 As shown, based on the perception model and the perception results of the smart device, the countdown numbers of the traffic lights, the 2D images of the countdown lamp heads of the traffic lights, and the tracking of individual traffic lights can be obtained. The countdown numbers of the traffic lights are used for timing tracking and reasoning to obtain the final countdown timing. Other traffic lights 2D (i.e., traffic light images) are obtained based on the tracking of individual traffic lights, and the countdown lamp heads 2D and other traffic lights 2D are associated and bound, and combined with the countdown numbers, a separate traffic light (with countdown, i.e., countdown is performed according to the final countdown timing) is obtained, thereby providing a basis for regulation and control (planning control).
[0059] Since the traffic light countdown timing tracking and reporting method of the present application does not require navigation maps and V2X (vehicle to everything, information exchange between the vehicle and the outside world), etc., only real-time perception of smart devices is required to obtain the final countdown timing. It has better real-time performance and no regional restrictions, and has better generalization, and can realize accurate and stable reporting of traffic light countdown.
[0060] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order, and they can be executed simultaneously (in parallel) or in other orders. These adjusted schemes are equivalent to the technical schemes described in this application, and therefore will also fall within the scope of protection of this application.
[0061] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.
[0062] Another aspect of the present application also provides a computer-readable storage medium.
[0063] In an embodiment of a computer-readable storage medium according to the present application, the computer-readable storage medium can be configured to store a program for executing the traffic light countdown timing tracking and reporting method of the above method embodiment, and the program can be loaded and run by the processor to implement the above traffic light countdown timing tracking and reporting method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.
[0064] Another aspect of the present application also provides a smart device.
[0065] In an embodiment of an intelligent device according to the present application, the intelligent device may include at least one processor; and a memory connected to the at least one processor in communication; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any of the above embodiments is implemented. The intelligent device described in the present application may include a driving device, a smart car, a robot, and the like. Figure 5 , Figure 5 FIG. 4 exemplarily shows that the memory 11 and the processor 12 are communicatively connected via a bus.
[0066] In some embodiments of the present application, the smart device may further include at least one sensor for sensing information. The sensor is communicatively connected to any type of processor mentioned in the present application. Optionally, the smart device may further include an autonomous driving system for guiding the smart device to drive itself or assist in driving. The processor communicates with the sensor and / or the autonomous driving system to complete the method described in any of the above embodiments.
[0067] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. A method for tracking and reporting the countdown sequence of a traffic light, characterized in that: The method is applied to a smart device, and the method comprises: Acquire multiple historical frames of traffic light countdown numbers sensed by the smart device; According to the multiple historical frames, obtaining odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers; According to the odd sequence historical frame and the even sequence historical frame, respectively obtain a first countdown number and a second countdown number of a current frame; The final countdown timing of the traffic light is obtained according to the first countdown number and the second countdown number.
2. The method for tracking and reporting the countdown timing of traffic lights according to claim 1, characterized in that: The obtaining, according to the odd sequence historical frame and the even sequence historical frame, a first countdown number and a second countdown number of the current frame respectively, comprises: Acquire the first countdown number according to the odd-sequence historical frame and the timestamp of the odd-sequence historical frame; The second countdown number is acquired according to the even sequence historical frame and the timestamp of the even sequence historical frame.
3. The method for tracking and reporting the countdown timing of traffic lights according to claim 2, characterized in that: The acquiring the first countdown number according to the odd-sequence historical frame and the timestamp of the odd-sequence historical frame comprises: According to the timestamp of each historical frame in the odd sequence of historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtaining the predicted numbers of each historical frame for the current frame; Acquire the first countdown number according to the predicted numbers of all historical frames in the odd sequence of historical frames and the number of historical frames in the odd sequence of historical frames; The acquiring the second countdown number according to the even sequence historical frame and the timestamp of the even sequence historical frame includes: According to the timestamp of each historical frame in the even sequence of historical frames, the timestamp of the current frame and the countdown numbers corresponding to the historical frames, obtaining the predicted numbers of each historical frame for the current frame; The second countdown number is obtained according to the predicted numbers of all historical frames in the even sequence of historical frames and the number of historical frames in the even sequence of historical frames.
4. The method for tracking and reporting the countdown timing of traffic lights according to claim 1, characterized in that: The multiple historical frames are historical frames within a sliding time window of a preset window length; The step of obtaining a final countdown timing sequence of the traffic light according to the first countdown number and the second countdown number includes: Obtaining a preset number of consecutive first countdown numbers and second countdown numbers within the sliding time window; The final countdown timing is obtained according to the first countdown numbers and the second countdown numbers in the preset number of continuous sliding time windows.
5. The method for tracking and reporting the countdown timing of traffic lights according to claim 4, characterized in that: The obtaining the final countdown timing according to the first countdown digit and the second countdown digit in the preset number of continuous sliding time windows includes: For each sliding time window, determining whether the corresponding first countdown number and the second countdown number are the same; If the first countdown number and the second countdown number obtained from a preset number of consecutive historical frames within the sliding time window are the same, the final countdown timing is determined according to the first countdown number and the second countdown number.
6. The method for tracking and reporting the countdown timing of traffic lights according to claim 1, characterized in that: The step of obtaining odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers according to the multiple historical frames includes: Filtering multiple historical frames of the traffic light countdown numbers within a sliding time window of a preset window length to obtain filtered historical frames; According to the order of the filtered historical frames, the filtered historical frames are grouped to obtain odd-sequence historical frames and even-sequence historical frames of the traffic light countdown numbers.
7. The method for tracking and reporting the countdown sequence of a traffic light according to any one of claims 1 to 6, characterized in that: The method further comprises: According to the traffic light image sensed by the smart device, determining whether the traffic light countdown is an embedded countdown; If yes, binding the final countdown timing with the traffic light image; If not, obtain a traffic light image containing motor vehicle semantics, and project the acquired traffic light image and the perceived traffic light countdown numbers onto a preset sensor coordinate system of the smart device, obtain the pixel distance between the traffic light image and the traffic light countdown numbers, and select the traffic light image with the smallest pixel distance to bind to the final countdown timing.
8. The method for tracking and reporting the countdown sequence of a traffic light according to any one of claims 1 to 6, characterized in that: The method further comprises: If the smart device senses and obtains a new traffic light countdown number for the same traffic light, the final countdown timing is corrected according to the new traffic light countdown number.
9. A smart device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; Wherein, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method for tracking and reporting the countdown timing of a traffic light according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the traffic light countdown timing tracking and reporting method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Video encoding method and device
CN107592539A
Signal filtering method and device for transformer abnormal state vibration detection
CN110320433A
Traffic signal lamp information processing method, device and equipment
CN114463723A
Traffic light reminding method and system combined with driving intention of user and automobile
CN114475429A
Traffic light countdown time identification method and device
CN115662132A
