Statistics for Anomaly detection and prediction of human actions in a video surveillance environment