Robust tracking of humans and vehicles in cluttered scenes with occlusions