The embodiment of the invention provides a visual sorting method which comprises the following steps: providing a
raw material belt, acquiring material information of the
raw material belt, and determining optical characteristics of the
raw material belt according to the material information; a recognition pattern is arranged on the raw material belt, and the pattern feature of the recognition pattern is determined by the optical characteristic; the raw material belt is subjected to
die cutting, so that the raw material belt forms a
die cutting part, and the
die cutting part is provided with an identification pattern; providing a visual module, and obtaining image data of the die
cutting component through the visual module; collecting image data, judging the position of an identification graph in the image data, marking the image data to form a good
product data set and a defective
product data set, and expanding the defective
product data set through a
generative adversarial network; and constructing a
deep learning model through the non-defective product
data set and the defective product
data set, and judging whether the die
cutting part is qualified or not through the
deep learning model. According to the visual sorting method provided by the embodiment of the invention, the
visual detection accuracy of the die
cutting part can be improved.