src/transformers/pipelines/depth_estimation.py/DepthEstimationPipeline/preprocess
class DepthEstimationPipeline:    def preprocess(self, image):
        image = load_image(image)
        self.image_size = image.size
        model_inputs = self.image_processor(images=image, return_tensors=self.framework)
        return model_inputs