A method of inspecting plants for contamination includes generating a first series of images of a plant using a camera mounted to a frame being moved along a planting bed by a harvester, identifying a region of interest displayed in the first series of images as a region of contamination on the plant based on a color criterion and a morphological criterion applied to the region of interest, and transmitting data including an instruction to increase a vertical distance between the plant and a cutter of the harvester to avoid harvesting the plant in response to identifying the region of interest as the region of contamination. The method further includes generating a second series of images of an additional plant as the frame continues to be moved along the planting bed by the harvester while the vertical distance between the plant and the cutter is being increased.