a device comprising two cameras of which a first camera is sensitive in the visible spectral range and a second camera is sensitive in the infrared spectral range . the cameras are placed at a defined distance from one another in order to record images of an identical scene containing at least one object . the device also comprises a triangulation device that calculates a distance of the object from the cameras based on a defined distance and on the images recorded by the two cameras .