Omega Model for Human Detection and Counting for application in Smart Surveillance System