Traditional textile testing methods have problems of subjectivity and inefficiency,and the testing method based on artificial intelligence technology provides a new way to solve these problems.This paper first summarizes the traditional textile inspection methods,including visual inspection,manual inspection and traditional machine vision inspection technology.Then,the textile testing and analysis methods based on artificial intelligence technology are introduced,including data acquisition and preprocessing,feature extraction and selection,testing model design and training,and testing result analysis and evaluation.Through the application of artificial intelligence technology,the automation,efficiency and accuracy of the textile testing process can be achieved,which brings new possibilities for the quality control and production optimization of the textile industry.Experimental results show that the detection accuracy of the proposed method is improved by 23.5%compared with the traditional method.Therefore,the textile testing method based on artificial intelligence technology can be widely promoted and applied in practice.