A Support Infrastructure for Machine Learning at the Edge in Smart City Surveillance