Exploiting long-term connectivity and visual motion in CRF-based multi-person tracking