The invention discloses a method and
system for identifying various foreign matters based on
deep learning, and relates to the technical field of
image identification, and the method comprises the steps: conveying a material through a
conveyor belt, and dynamically adjusting the illumination gear according to the speed of the
conveyor belt in an image collection process, so as to enable the same region to obtain an image sample under a multi-illumination condition; performing feature identification on each frame of
foreign matter by using a
feature extraction network, dividing feature subsets according to illumination gears, and identifying samples with incomplete features through consistency discrimination; an
open type authigenic
nucleus clustering structure is adopted, and a primary
nucleus formed by a standard sample and an authigenic
nucleus formed by a sample with incomplete characteristics jointly participate in clustering; performing category
inference on the authigenic nucleus through the
radiation effect of the native nucleus on the
feature dimension and multi-scale
pyramid generality analysis; and finally, obtaining a final recognition result of the
foreign matter based on multi-frame feature weighted fusion. According to the method, high-robustness
foreign matter recognition under multi-illumination, multi-scale and multi-frame fusion is realized.