Vehicle Counting in Video Sequences: An Incremental Subspace Learning Approach
Leonel Rosas-Arias,
Jose Portillo-Portillo,
Aldo Hernandez-Suarez,
Jesus Olivares-Mercado,
Gabriel Sanchez-Perez,
Karina Toscano-Medina,
Hector Perez-Meana,
Ana Lucila Sandoval Orozco,
Luis Javier García Villalba
Affiliations
Leonel Rosas-Arias
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Jose Portillo-Portillo
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Aldo Hernandez-Suarez
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Jesus Olivares-Mercado
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Gabriel Sanchez-Perez
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Karina Toscano-Medina
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Hector Perez-Meana
Instituto Politecnico Nacional, ESIME Culhuacan, Mexico City 04440, Mexico
Ana Lucila Sandoval Orozco
Group of Analysis, Security and Systems (GASS), Department of Software Engineering and Artificial Intelligence (DISIA), Faculty of Computer Science and Engineering, Office 431, Universidad Complutense de Madrid (UCM), Calle Profesor José García Santesmases, 9, Ciudad Universitaria, 28040 Madrid, Spain
Luis Javier García Villalba
Group of Analysis, Security and Systems (GASS), Department of Software Engineering and Artificial Intelligence (DISIA), Faculty of Computer Science and Engineering, Office 431, Universidad Complutense de Madrid (UCM), Calle Profesor José García Santesmases, 9, Ciudad Universitaria, 28040 Madrid, Spain
The counting of vehicles plays an important role in measuring the behavior patterns of traffic flow in cities, as streets and avenues can get crowded easily. To address this problem, some Intelligent Transport Systems (ITSs) have been implemented in order to count vehicles with already established video surveillance infrastructure. With this in mind, in this paper, we present an on-line learning methodology for counting vehicles in video sequences based on Incremental Principal Component Analysis (Incremental PCA). This incremental learning method allows us to identify the maximum variability (i.e., motion detection) between a previous block of frames and the actual one by using only the first projected eigenvector. Once the projected image is obtained, we apply dynamic thresholding to perform image binarization. Then, a series of post-processing steps are applied to enhance the binary image containing the objects in motion. Finally, we count the number of vehicles by implementing a virtual detection line in each of the road lanes. These lines determine the instants where the vehicles pass completely through them. Results show that our proposed methodology is able to count vehicles with 96.6% accuracy at 26 frames per second on average—dealing with both camera jitter and sudden illumination changes caused by the environment and the camera auto exposure.