I am working on traffic monitoring system,which i want to detect moving objects in a highway cameras and count number of each category of vehicles in video frames.
videos acquired by a static camera in an unchanged illumination condition.
I want to classify outputs into four category such as: bus and truck ,car , minibus and motorcycle.
i used optical flow for moving object detection, HoG features for modeling objects and then stacking HoG features in a vector and use distance measure between each input query from motion detection step and dataset which i make it before.
I am resizing all dataset and query images into equal size which is mean size of all images and then extract features.
I don't know is it right way of using HoG features in this way and also can anyone suggest any solution for different size of images in dataset and query image other than resizing all image.