When you adjust the height of camera, pixel scale needs to be changed.
Camera view window resolution is 640 x 480. Please see below.
The best way is to put a ruller under the camera and measure actual length (mm) in the camera view. Then divid 640 pixel in X by actual length of X to calculate p/mm value.