I would like to take an image of a boxed shipment or individual part and return the approximate dimensional data.
From one picture measurements are not possible without additional known dimensions.
See how it is done in forensics, they place some ruler so dimensions can be approximated. Also forensic software allows to do such measurements by calibrating the camera and then interpolating measurements from know data.