Human Motion Detection and Tracking for Video Surveillance