A packaging machine comprising an object measurement system, wherein the packaging machine is configured to wrap packaging trays with a film, wherein the object measurement system is configured to determine the dimensions of a base surface and a height of a packaging tray to be wrapped, wherein the object measurement system comprises: a reception space for the packaging tray, a first and second camera (21, 22) for recording electronic images of a respective packaging tray arranged in the reception space, wherein the first and second cameras (21, 22) are arranged with respect to one another and with respect to the reception space such that the detection directions of the two cameras (21, 22) extend transversely, in particular orthogonally, with respect to one another and such that the first camera detects a top view of the packaging tray and the second camera detects a side view of the packaging tray, wherein the reception space comprises at least a first boundary surface which is disposed opposite the first camera and which has, at least in a part region which can be detected by the first camera, a first two-dimensional material measure formed by a pattern, wherein, in addition to an image of the packaging tray, the top view also comprises an image of detected regions of the first material measure (41, 42) not covered by the packaging tray, and an evaluation device connected to the cameras (21, 22) for evaluating the images of the packaging tray recorded by the cameras (21, 22), wherein the evaluation device is configured to determine the dimensions of the base surface of the detected packaging tray on the basis of the region of the first material measure detected in the top view and to determine the height of the detected packaging tray on the basis of the side view. a reception space for the packaging tray, a first and second camera (21, 22) for recording electronic images of a respective packaging tray arranged in the reception space, wherein the first and second cameras (21, 22) are arranged with respect to one another and with respect to the reception space such that the detection directions of the two cameras (21, 22) extend transversely, in particular orthogonally, with respect to one another and such that the first camera detects a top view of the packaging tray and the second camera detects a side view of the packaging tray, wherein the reception space comprises at least a first boundary surface which is disposed opposite the first camera and which has, at least in a part region which can be detected by the first camera, a first two-dimensional material measure formed by a pattern, wherein, in addition to an image of the packaging tray, the top view also comprises an image of detected regions of the first material measure (41, 42) not covered by the packaging tray, and an evaluation device connected to the cameras (21, 22) for evaluating the images of the packaging tray recorded by the cameras (21, 22), wherein the evaluation device is configured to determine the dimensions of the base surface of the detected packaging tray on the basis of the region of the first material measure detected in the top view and to determine the height of the detected packaging tray on the basis of the side view.