The proposed method was implemented in C++ language
using OpenCV library [7]. An experiment was done to measure
the accuracy of vehicle detection. In particular, when an input
video was fed into the proposed method, the number of
vehicles detected by the proposed method would be shown and
be compared with those obtained by a manual counting
(ground truth). The experiment was done on a laptop powered
by an Intel(R) Core i5 (1.7-2.4 GHz) CPU and 4 GB RAM.