Coping with occlusions in visual tracking of multiple objects