The invention discloses a pantograph foreign matter detection method, a storage medium and computer equipment, and relates to the technical field of pantograph-catenary detection. According to the invention, the method includes: carrying out binarization processing on an input image; carrying out morphological processing on the image after binarization processing; carrying out denoising processingon the image after morphological processing; and extracting a contour from the denoised image, calculating contour parameters, performing multi-dimensional threshold screening on the contour parameters, performing gray parameter threshold screening on an original gray image of the contour, thereby eliminating a part of non-foreign-matter images, performing SVM classification processing, and finally identifying a pantograph foreign-matter image. The pantograph foreign matter detection method provided by the invention can adapt to the diversity of foreign matters and the complexity of an imagebackground, the foreign matter candidate boxes are determined through an image processing method before an SVM model is trained, then part of the candidate boxes are filtered out through morphologicalscreening and gray feature screening, the low omission ratio is guaranteed, and the SVM classification efficiency and precision are improved.