add calibration routine for camera