Texture analysis plays an important role in the automated visual inspection of textured images to detect their defects. For this purpose, model-based and feature-based methods are implemented and tested for textile images in a laboratory environment. The methods are compared in terms of their success rates in determining the defects. The Markov Random Field model is applied on different DSP systems for real-time inspection.