Bayesian-competitive Consistent Labeling for People Surveillance