For quality control of textiles, it is necessary to develop an objective method to evaluate fabric pilling, rather than subjective, to improve reliability and reproducibility. This paper presents a new method to extract pill features from fabric images. In this work, we apply a two-dimensional Gaussian fit theory to train a pill template using actual pill images for pill template matching, and determine a reasonable threshold for image segmentation using a histogram-fitting technique. We then extract five parameters to describe pill properties—pill number, mean area of pills. total area of pills. contrast. and density—and establish formulas to calculate objective grades with these parameters. The results show that a good correlation can be achieved between objective and subjective data.