Learning object motion patterns for anomaly detection and improved object detection | Synapse