The invention relates to the technical field of image detection, in particular to a foreign matter detection method for a generator stator core steel sheet stacking platform, which specifically comprises the following steps: S1, arranging a plurality of high-definition cameras on the stacking platform, collecting a foreground image and a background image, and transmitting the foreground image andthe background image to a computer terminal; S2, the computer terminal reading the foreground image and the background image to draw the area range of the image mask; S3, performing feature detectionon the foreground image and the background image respectively to obtain a projection mapping matrix, and performing perspective transformation on the image mask and the mapping matrix to realize imageregistration; S4, calculating the contour of the registered image, and performing local illumination normalization processing on the foreground image; and S5, carrying out inter-frame difference processing on the foreground image, removing an image contour, and carrying out threshold processing, Gaussian blur and open operation processing on the image at the same time. The technical scheme has the beneficial effects that the detection accuracy is improved, and the cost input is reduced.