A device for detection and determination of a composition of a bulk material, has an image recording unit, at least one control unit, at least one memory unit, and a selection unit to enable a qualified determination to be made, during a transfer of a crop material flow into a container of an agricultural harvesting machine, of a composition of a crop during processing of the crop material, so that adjustment parameters of working assemblies of the agricultural harvesting machine are changeable during the processing of the crop material, wherein the image recording unit has at least two image detectors for recording images or image series of the crop material flow at equidistant intervals or permanently, wherein one of the image detectors is disposed substantially perpendicularly to a top side of a surface of the crop material flow emerging from a grain elevator head or a discharge chute, and another one of the two image detectors is disposed substantially perpendicularly to an underside of a surface of the crop material flow.