Precise Human Motion Detection and Tracking in Dynamic Environment