Email Record: Machine learning methods for behaviour analysis and anomaly detection in video