Artificial intelligence has taken physical security from the reactive to the proactive era, especially in video surveillance and analytics.