Detecting and counting people in surveillance applications | Synapse