The invention belongs to the technical field of agricultural product quality analysis, and particularly relates to a near-
infrared detection method for the peanut quality and application. The method comprises the following steps that peanut samples are collected, physical and chemical testing is performed on the peanut samples, near-
infrared scanning is performed on the peanut samples, denoising
processing and preprocessing are performed on obtained light absorption values, obtained preprocessed light absorption values are analyzed, near-
infrared spectrum characteristic wavelengths are obtained through screening, and a prediction model of the peanut quality is built through a
stepwise regression method. According to the near-infrared detection method for the peanut quality and the application, the obtained information is intuitive and reliable, the characteristic wavelengths of the peanut quality are determined and are few in number, and the analytical method that the model is built through the characteristic wavelengths is applied, so that the model precision is improved; on the condition of the same prediction precision, the prediction speed is high; meanwhile, through the built near-infrared prediction
model method for the
moisture,
protein, fat, total
sugar and ash content of peanuts, the peanut quality can be analyzed more comprehensively, and usage and popularization are easy.