A Deep Perceptual Measure for Lens and Camera Calibration