Abstract: In the fast changing environment of smart cities, combining fog and edge computing with powerful IoT devices like Hikvision cameras is revolutionising urban administration and public safety.