Multi-object tracking using dominant sets