Algorithms and Dataset for Anomaly Detection in Smart Video Surveillance for Infrastructure Safety