A device for detecting an offending object such as weeds or insects, and addressing the offending object by removing or marking the same. The device has image acquisition and image recognition systems that captures images of plants and automatically responds by way of an action when a weed or insect is identified. The action head may grip the offending object or release a substance such a herbicide to eliminate a weed.