src/transformers/image_processing_utils.py/BaseImageProcessor/preprocess
class BaseImageProcessor:    def preprocess(self, images, **kwargs) -> BatchFeature:
        raise NotImplementedError("Each image processor must implement its own preprocess method")