计算机应用 ›› 2017, Vol. 37 ›› Issue (1): 134-137.DOI: 10.11772/j.issn.1001-9081.2017.01.0134

• 2016年全国开放式分布与并行计算学术年会(DPCS2016)论文 • 上一篇    下一篇

基于CUDA的行车安全预警方法

赵永涛1, 陈庆奎1,2, 方玉玲2, 赵德玉2, 姬丽娜1   

  1. 1. 上海理工大学 光电信息与计算机工程学院, 上海 200093;
    2. 上海理工大学 管理学院, 上海 200093
  • 收稿日期:2016-08-11 修回日期:2016-08-23 出版日期:2017-01-10 发布日期:2017-01-09
  • 通讯作者: 赵永涛
  • 作者简介:赵永涛(1991-),男,河北邯郸人,硕士研究生,主要研究方向:模式识别、计算机视觉、并行计算;陈庆奎(1966-),男,上海人,教授,博士生导师,博士,主要研究方向:网络计算、并行计算、物联网;方玉玲(1990-),女,河南信阳人,博士研究生,主要研究方向:并行计算、低能耗优化;赵德玉(1978-),男,山东临沂人,博士研究生,主要研究方向:大规模人群行为分析、视频隐私保护;姬丽娜(1990-),女,河南信阳人,硕士研究生,主要研究方向:模式识别、并行计算。
  • 基金资助:
    国家自然科学基金资助项目(61572325,60970012);上海重点科技攻关项目(14511107902);上海市工程中心建设项目(GCZX14014);上海市一流学科建设项目(XTKX2012)。

Early warning method for driving safety based on CUDA

ZHAO Yongtao1, CHEN Qingkui1,2, FANG Yuling2, ZHAO Deyu2, JI Lina1   

  1. 1. School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China;
    2. Business School, University of Shanghai for Science and Technology, Shanghai 200093, China
  • Received:2016-08-11 Revised:2016-08-23 Online:2017-01-10 Published:2017-01-09
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61572325, 60970012), Shanghai Key Science and Technology Project (14511107902), Shanghai Engineering Research Center Project (GCZX14014), Shanghai Leading Academic Discipline Project (XTKX2012).

摘要: 为了提高机动车驾驶时的安全性,提出了基于计算机视觉的行车安全中车距估计与超车检测方法。首先,使用车辆阴影检测方法确定车辆位置,根据阴影位置和视觉中心点的距离建立车距估计函数;其次,对超车情况使用背景光流建模的方法建立光流估计方程,通过估计光流将行驶中的正常物体与非正常物体分开,从而辨识驾驶途中的超车现象。根据车距和超车情况的检测及时提醒驾驶员注意行车中可能存在的安全隐患。实验结果表明该方法可以较为准确地估计车距、检测超车情况。在统一设备架构(CUDA)下使用图形处理器(GPU) NVIDIA GeForce GTX680显卡对算法进行加速,可以达到48.9ms/帧的处理速率,基本满足了实时处理的要求。

关键词: 行车安全, 车距估计, 超车检测, 行车监控, 安全预警, 统一设备架构

Abstract: To improve the safety of vehicles while driving, a computer vision-based inter-vehicle distance estimation and warning method was proposed in this paper. First, shadow detection method was applied to detect shadow of cars ahead, and inter-vehicle distance estimation function was built based on the distance between shadow and vision center of a frame. Then, estimation equations for non-threatened background optical flow was built, and by judging optical flow with the estimation equations, the abnormal objects could be separated from others, thus the overtaking event could be recognized. Based on the inter-vehicle distance and detection of overtaking event, the driver could be timely warned of the potential safety hazard. The experimental results prove that the proposed method can estimate inter-vehicle distance and detect overtaking event accurately. Finally, NVIDIA GeForce GTX680 GPU (Graphic Processing Unit) was used to accelerate the algorithm on Compute Unified Device Architecture (CUDA) platform and achieve the processing speed of 48.9 ms per frame which basically meets the real-time processing demand.

Key words: driving safety, inter-vehicle distance estimation, overtaking detection, vehicle surveillance, safety warning, Compute Unified Device Architecture (CUDA)

中图分类号: