Abstract:To improve the detecting accuracy and rate of anthocyanin content in flowering teas, a detection method was proposed based on near infrared spectroscopy combined with interval PLS and ant colony optimization. The flowering tea spectra were divided into 12 intervals, and three subsets of No. 1, 9 and 10 were selected to establish an iPLS model. The calibration and prediction correlation coefficients were 0.901 3 and 0.864 2, and the RMSECV and RMSEP were 0.160 0 and 0.202 0 mg?g-1, respectively. The results show that compared with conventional iPLS, the ACO-iPLS can effectively select wavelength regions of near infrared spectroscopy and improve accuracy and robustness.