Security and Surveillance: Security and surveillance systems use a network of video cameras monitored by a human operator. Manual analysis of video is labor intensive and prone to errors. Hence, security agencies are seeking vision-based solutions to these tasks, which can
replace or assist a human operator. Examples are Loitering detection, crowd counting, intrusion or trespassing detection, moving in wrong direction and tailgating detection [19].