src/transformers/models/oneformer/image_processing_oneformer.py/OneFormerImageProcessor/__call__
class OneFormerImageProcessor:    def __call__(self, images, task_inputs=None, segmentation_maps=None, **kwargs) -> BatchFeature:
        return self.preprocess(images, task_inputs=task_inputs, segmentation_maps=segmentation_maps, **kwargs)