Abstract—A vehicle detection and counting system plays an
important role in an intelligent transportation system, especially
for traffic management. This paper proposes a video-based
method for vehicle detection and counting system based on
computer vision technology. The proposed method uses
background subtraction technique to find foreground objects in a
video sequence. In order to detect moving vehicles more
accurately, several computer vision techniques, including
thresholding, hole filling and adaptive morphology operations,
are then applied. Finally, vehicle counting is done by using a
virtual detection zone. Experimental results show that the
accuracy of the proposed vehicle counting system is around 96%.