A practical approach for counting and classifying vehicles using rising/falling edge thresholding in a virtual detection line

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

In this paper, we present a methodology for finding a set of useful parameters to identify traffic patterns. First, we perform motion detection in the scene by applying the background subtraction method. We compute the Euclidean distance of 3-dimensional pixels-vectors in the YCbCr color space and then apply thresholding to filter out small Euclidean distances that does not represent motion pixels. After that, we count the number of vehicles by implementing a detection line in one of the road lanes. We make sure that our system does not get false positive detections and counts the vehicles only when they completely pass through the detection line. Later, we determine the size of the vehicle by counting up all the pixels that passed through the detection line. According to the number of pixels, the vehicle is classified into two of the following categories: Big vehicle or Small vehicle. Finally, we determine the vehicle color by clustering the vehicle image into 7 different color categories. The color with the maximum number of occurrences in the image histogram is determined to be the vehicle color. Results show that our system reaches a 100% of accuracy when counting vehicles and determining their size. However, the color determination process tends to present problems when images of vehicles of two or more colors are presented, but obtaining good results overall.

Original languageEnglish
Title of host publication2018 IEEE International Autumn Meeting on Power, Electronics and Computing, ROPEC 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781538659359
DOIs
StatePublished - 2 Jul 2018
Event2018 IEEE International Autumn Meeting on Power, Electronics and Computing, ROPEC 2018 - Ixtapa, Guerrero, Mexico
Duration: 14 Nov 201816 Nov 2018

Publication series

Name2018 IEEE International Autumn Meeting on Power, Electronics and Computing, ROPEC 2018

Conference

Conference2018 IEEE International Autumn Meeting on Power, Electronics and Computing, ROPEC 2018
Country/TerritoryMexico
CityIxtapa, Guerrero
Period14/11/1816/11/18

Fingerprint

Dive into the research topics of 'A practical approach for counting and classifying vehicles using rising/falling edge thresholding in a virtual detection line'. Together they form a unique fingerprint.

Cite this