为了使车流在交通路口顺畅通过,通常需要统计一个交通信号灯周期内的车流量,以实现交通信号灯的自动配时.文中提出了一种交通路口的车流量检测算法.通过在道路前方设置检测线,进而统计检测线灰度变化的情况,即可统计出通过的车流量.并对其进行FPGA的硬件仿真.实验结果表明,此方法实现简单,运算处理速度快,能够得到较满意的结果.%In order to smoooth the cars of a junction, we always do some statistic work on traffic flow to change the traffic lights automatically.This paper provide a algorithm to test traffic flow of one junctionin the algorithm,we set a testing line on the road,and obtain the statistical data of flow by the change of gray scale of the line.Otherwise,we provide result of the simulation based on FPGA.The result shows that the algorithm is simple enough to get a satisfying processing speed and data.
展开▼