现代电子技术2017,Vol.40Issue(2):16-20,5.DOI:10.16652/j.issn.1004-373x.2017.02.004
基于OpenCV的公交客流计数方法
OpenCV-based counting method of bus passengers
摘要
Abstract
The bus passenger flow statistics is an important research direction in computer vision field. However,the influ?ence of dynamic texture factors such as shadow and illumination variation makes the construction of a real?time accurate bus pas?senger flow statistic algorithm difficult. To solve this problem,a bus passenger counting method based on OpenCV is presented. The obtained real?time image is preprocessed. The method of combining Codebook background model with morphological filtering is adopted to build the the background model to eliminate the influence of dynamic texture on the foreground. The improved Hough transform is used to extract the head region of the passengers for tracking counting. The experiment results show that the calculation accuracy of the algorithm can reach more than 88.6%,so it can be applied to the real?time passenger counting sys?tem.关键词
客流计数/Codebook/背景模型/形态学滤波/霍夫变换Key words
passenger counting/Codebook/background model/morphological filtering/Hough transform分类
信息技术与安全科学引用本文复制引用
张震,李进钢..基于OpenCV的公交客流计数方法[J].现代电子技术,2017,40(2):16-20,5.基金项目
河南省教育厅重点科技攻关计划项目智能信息采集系统的研究 ()