Chemistry & Molecular Engineering College, East China University of Science & Technology, Shanghai 200237, China.
Sensors (Basel). 2023 Jan 14;23(2):983. doi: 10.3390/s23020983.
Aiming at guiding agricultural producers to harvest crops at an appropriate time and ensuring the pesticide residue does not exceed the maximum limit, the present work proposed a method of detecting pesticide residue rapidly by analyzing near-infrared microscopic images of the leaves of Shanghaiqing (Brassica rapa), a type of Chinese cabbage with computer vision technology. After image pre-processing and feature extraction, the pattern recognition methods of K nearest neighbors (KNN), naïve Bayes, support vector machine (SVM), and back propagation artificial neural network (BP-ANN) were applied to assess whether Shanghaiqing is sprayed with pesticides. The SVM method with linear or RBF kernel provides the highest recognition accuracy of 96.96% for the samples sprayed with trichlorfon at a concentration of 1 g/L. The SVM method with RBF kernel has the highest recognition accuracy of 79.16~84.37% for the samples sprayed with cypermethrin at a concentration of 0.1 g/L. The investigation on the SVM classification models built on the samples sprayed with cypermethrin at different concentrations shows that the accuracy of the models increases with the pesticide concentrations. In addition, the relationship between the concentration of the cypermethrin sprayed and the image features was established by multiple regression to estimate the initial pesticide concentration on the Shanghaiqing leaves. A pesticide degradation equation was established on the basis of the first-order kinetic equation. The time for pesticides concentration to decrease to an acceptable level can be calculated on the basis of the degradation equation and the initial pesticide concentration. The present work provides a feasible way to rapidly detect pesticide residue on Shanghaiqing by means of NIR microscopic image technique. The methodology laid out in this research can be used as a reference for the pesticide detection of other types of vegetables.
为了指导农业生产者在适当的时间收获作物,并确保农药残留不超过最大限量,本工作提出了一种利用计算机视觉技术分析上海青(Brassica rapa)叶片近红外微观图像快速检测农药残留的方法。在图像预处理和特征提取后,采用 K 最近邻(KNN)、朴素贝叶斯、支持向量机(SVM)和反向传播人工神经网络(BP-ANN)等模式识别方法评估上海青是否喷洒过农药。线性或 RBF 核 SVM 方法对浓度为 1 g/L 的三氯膦喷洒样本的识别准确率最高,可达 96.96%。RBF 核 SVM 方法对浓度为 0.1 g/L 的氯氰菊酯喷洒样本的识别准确率最高,为 79.16%~84.37%。对不同浓度氯氰菊酯喷洒样本建立的 SVM 分类模型的调查表明,模型的准确率随农药浓度的增加而提高。此外,通过多元回归建立了喷洒氯氰菊酯浓度与图像特征之间的关系,以估计上海青叶片上初始农药浓度。在此基础上,建立了基于一级动力学方程的农药降解方程。根据降解方程和初始农药浓度,可以计算出农药浓度降低到可接受水平所需的时间。本工作通过近红外微观图像技术为快速检测上海青上的农药残留提供了一种可行的方法。本研究中提出的方法可以为其他类型蔬菜的农药检测提供参考。