Bayesian Data Association for Temporal Scene Understanding