"""Trace Anything processor: ``TraceAnythingImageProcessor`` (infer.py _load_images) as its only part.""" from transformers.processing_utils import ProcessorMixin class TraceAnythingProcessor(ProcessorMixin): attributes = ["image_processor"] def __init__(self, image_processor=None, **kwargs): super().__init__(image_processor, **kwargs) def __call__(self, images=None, **kwargs): return self.image_processor(images, **kwargs) __all__ = ["TraceAnythingProcessor"]