Learning patterns of activity using real-time tracking | Synapse