Computer Vision Based Applications for Security and Surveillance