A Survey of Intelligent Video Surveillance Systems: History, Applications and Future