The present invention relates to an equipment for eliminating grass seeds in farmland, comprising a self-propelled device, a power system connected to the self-propelled device for driving the self-propelled device to walk along a fixed path in a farmland, a rack connected to the self-propelled device, and plural focusing lenses disposed in the rack.