Object tracking using active appearance models