The invention relates to the technical field of intelligent traffic, and particularly discloses a vision-based self-learning signal lamp timing acquisition method, which comprises the following steps of: S1, accessing a camera; s2, shooting an image containing a signal lamp at a fixed frequency; s3, extracting a signal lamp area according to an image processing algorithm; s4, signal lamp color extraction; s5, judging whether the colors of two adjacent signal lamps are the same or not; s6, judging whether the current phase lamp color is recorded or not; and S7, calculating the current phase lamp color period according to the current time. The system has the advantages that traffic light information is recognized through the camera, communication and negotiation with a signal machine manufacturer are not needed to collect switching value signals, and large-scale application and popularization can be achieved; compared with a traditional camera identification signal lamp mode, the lamp colors of the signal lamps can be identified in real time, and countdown of each lamp color can be calculated after self-learning is completed; and according to calculation of the learned traffic light time sequence diagram, the problem of deviation of the traffic light can be corrected, and an error log is reported to the cloud platform through the RSU.
本发明涉及智能交通技术领域,尤其是公开了一种基于视觉的自学习信号灯配时采集方法,包括以下步骤:S1.接入摄像机;S2.定频率拍摄包含信号灯的图像;S3.根据图像处理算法提取信号灯区域;S4.信号灯颜色提取;S5.判断前后相邻两次信号灯颜色是否相同;S6.判断当前相位灯色是否被记录;S7.根据当前时间计算当前相位灯色周期。有益效果在于:通过摄像头识别红绿灯信息,不用与信号机厂商沟通协商来采集开关量信号,可以大范围推广应用;相比传统摄像头识别信号灯方式,不仅可以实时识别信号灯灯色,同时完成自学习后,可计算每个灯色倒计时;根据学习后的红绿灯时序图计算,可纠正红绿灯本身出现偏差的问题,并通过RSU向云平台上报错误日志。
Vision-based self-learning signal lamp timing acquisition method
一种基于视觉的自学习信号灯配时采集方法
2024-05-28
Patent
Electronic Resource
Chinese
IPC: | G06V / G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS / H04L TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION , Übertragung digitaler Information, z.B. Telegrafieverkehr / H04N PICTORIAL COMMUNICATION, e.g. TELEVISION , Bildübertragung, z.B. Fernsehen |
Recoverable self-adaptive traffic signal lamp timing method
European Patent Office | 2022
|Signal lamp automatic timing device and method based on machine learning
European Patent Office | 2021
|