Video anomaly detection framework design