Distributed Appearance Based Tracking using the EM algorithm