Integrating video and intelligence for safe cities