The invention relates to the technical field of
pesticide detection, in particular to a
pesticide residue detection method and
system based on
artificial intelligence, and the method comprises the following steps: obtaining an image and normalizing brightness difference, constructing a gradient trend labeling region, extracting features to generate a
label weight sequence, matching categories to calculate residue intensity, and outputting an identification result. According to the method, local brightness comparison is enhanced through difference value normalization of image region blocks, region attributes are labeled in combination with a multi-direction gradient change trend, the dynamic
perception capability of deposition features is improved, a multi-dimensional feature
system is constructed by fusing brightness, edge and density indexes, the screening precision of
pesticide residue salient regions is enhanced, and the screening precision of the
pesticide residue salient regions is improved. A
label dependency sequence is constructed based on
color difference path sorting, structural optimization of category judgment is achieved, the micro-difference recognition capacity is improved through texture and gray matrix double alignment, primary and secondary screening output is conducted according to the relation between
pesticide residue intensity and a threshold value, the classification guidance and
risk screening functions are achieved, and the capacity of adapting to supervision requirements is improved.