DA3-LARGE / processing_depth_anything_3.py
bigshanedogg's picture
Upload DA3-LARGE (transformers port, original code)
456e761 verified
Raw History Blame Contribute Delete
515 Bytes
"""Depth Anything 3 processor: ``DepthAnything3ImageProcessor`` (the package API's InputProcessor) as its only part."""
from transformers.processing_utils import ProcessorMixin
class DepthAnything3Processor(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__ = ["DepthAnything3Processor"]