I am new to OpenCV and have got a project to detect and count the number of vehicles and people in a video taken from a still camera. From Google, I found out that background subtractor helps but have some queries though:
What is the use of background subtractor if I can detect (but could not count) vehicles and humans from the original video? Background subtractor makes the original video into a binary video.
Detection in the original video is inconsistent. If my Region of Interest (ROI) is a line then there is hardly any count. On the other hand, if my ROI is a rectangle then one vehicle gets count many times.
How to count the vehicles and people in a time frame? For eg.: No. of people (or vehicle) per minute. Store the number and count again after a minute. And the process continues.
Thank You.