Track objects in a video using OpenCV