Added more image pre-processing for camera image