The purpose of AI in video surveillance is to enhance the ability of security systems to detect and respond to potential security threats in real-time.