The invention discloses a
metal appearance defect detection method and
system, and relates to the technical field of image
data processing, and the method comprises the following steps: collecting test image data of test
metal pieces in different dimensions; performing
image extraction processing on the test image data to obtain test
image extraction data; inputting the test
image extraction data into an image defect
processing model to obtain image result data; judging whether the category information in the image result data is a normal category or not, if so, indicating that the test
metal piece has no defect and outputting an OK
signal, and if not, indicating that the test metal piece has a defect and outputting an NG
signal; and storing and counting the output
signal type and the corresponding image result data. Manual detection is not needed, the influence of human factors is avoided, the detection efficiency, precision and stability are improved, the data collection efficiency is high, and the cost is low.