红绿灯识别系统.doc
文本预览下载声明
红绿灯识别系统
摘要:红绿灯判别系统主要针对红绿色盲及色弱者或者长期驾驶疲劳的驾驶员设计的系统,帮助他们在交通中很有效率地分辨红绿灯信号灯,从而减少一些交通事故的发生。主要采用的方法:首先通过图像采集及图像预处理的方法获源图像,用边缘跟踪中的方法确定红绿灯的各个灯的位置,把颜色形式从RGB红绿蓝颜色表示法转变成另外一种适当的表示方法,选择标准的RGB颜色表示法来得到红绿灯颜色。最后通过显示器显示红绿灯倒计时输出,倒计时到零的时候播报语音信息,提示驾驶员直接在车内观察红绿灯倒计时变化进而安全驾驶。
关键词:红绿灯 图像处理 定位系统 显示模块
Traffic light recognition system
(Henan University of Science and Technology Information engineering college )
Abstract:Discriminant system mainly aimed at the traffic light red green color blindness and lubricious weak or driving fatigue of the driver design system for a long time, to help them in the traffic very efficiently distinguish the traffic signal lamp, thereby reducing the occurrence of some of the traffic accident. Mainly adopts the method: first by image acquisition and image preprocessing method of source image, with the edge of the edge tracing method to determine the location of the traffic lights all light, the color form from red, green, blue RGB color representation into another appropriate representation method, choose standard RGB color representation to get traffic light colors. The final output through the display shows the traffic lights countdown, countdown to zero when the warning indicator will ring one to three, countdown to tip the driver in the car directly observe traffic lights change to safe driving.
Key words:The traffic lights The image processing positioning system Display module
引言
1.1交通指示灯的发展趋势
虽说正常情况下,色盲患者不能取得驾照,但对于色弱的患者国家没有做太严格的要求。但是近几年来因为这方面的交通事故发生很频繁。对交通信号灯状态的识别,将使世界上7%-8%的色盲、色弱患者驾驶汽车成为可能,红绿灯多处于交通枢纽地带,负责指挥交通,不仅对于红绿色盲及色弱患者,而且对于正常驾驶员红绿灯识别都尤其重要。本文通过图像处理及颜色判别而设计的红绿灯自主识别系统可以很好地提醒驾驶员注意红绿灯变化,继而有望降低事故发生率。
1.2总体设计思路
本系统设计主要采用图像采集、图像预处理、红绿灯定位、颜色判别及输出显示倒计时和提醒系统等模块组成,首先用安装在车顶或者车内的摄像机对前方的场景进行实时图像采集,由于摄像机跟随汽车一起运动,因此采集到的图像要进行图像预处理以便于之后的目标提取。设计编码程序从采集到的图像中定位提取出红绿灯的位置,再定位出各个灯的坐标,然后对提取的目标进行颜色判定,将结果通过显示器输出。结果输出的形势多元化,可以用数字显示结果然后倒计时,还可以直接用声音的方式报出来来提醒驾驶员。这里可以两个方法同时使用,不仅可以让驾驶员直接清楚地看到红绿灯时间的跳变,而且当驾驶员不注意时间时用声音提醒的方式提醒驾驶员有效的转变车的启停。
总体流程图
1.2、CCD图像传感器
图像传感器是利用光电器件的光——电转换功能,将其感
显示全部