The device has a photographic camera (6) that is directed on the result of work produced by an agricultural machine e.g. plough (1). The camera produces a treated soil image, from a seed and/or a crop. A control device (8) controls or regulates the agricultural machine and determines a control signal that is to be delivered based on a detected and evaluated image of the soil, the seed and/or the treated crop.