Public safety and smart cities: How assistive AI will help