A real-time system for defect detection and classification of web textile fabric is presented in this paper. Product inspection is an important aspect of modern industrial manufacturing. Compare every frame with the standard image. Compare it pixel by pixel. We are doing it in spatial domain. It take the pixel of standard image and match it with the pixel having the same location in the frame. If pixel value in the standard image does not match with frame pixel then over system will stop and show the image having defect.