method performance in detecting and counting cars and motorcycles under heavy traffic
conditions. It is profound that by optimizing the minimum and maximum blob area in order to
obtain proper blob size from a video image's region of interest will also improve the accuracy
of system. The result shows that appropriate parameter settings can increase accuracy by
28.02% for motorcycles and 10.84% for cars.