In textile industry, defects that occur in fabrics during production processes cause the producers to suffer large losses of money. Various studies have been carried out to minimize these losses. There are two types of defect detection methods, that are human-focused and machine-focused defect defect detection. In human-focused systems, defect detection is performed after the production phase. This does not provide an advantage for the manufacturer. Defect detection with machine-focused systems have better results. In this study widely used machine-oriented fabric defect detection approaches have been analyzed and a method is proposed based on using Fourier transform with bandpass filter. The Vortex Optimization Algorithm (GOA) is used to obtain the most suitable parameters of the bandpass filter better.