code: def __init__(self, *args, **kwargs):
      requires_backends(self, ["vision"])
      super().__init__(*args, **kwargs)
  
file_path: transformers/src/transformers/tools/image_captioning.py
imports: from typing import TYPE_CHECKING
  from ..models.auto import AutoModelForVision2Seq
  from ..utils import requires_backends
  from .base import PipelineTool
label_desc: Use image node_id 1 to create a new ImageCaptioningTool object from inherited base classes: PipelineTool with example: obj = ImageCaptioningTool()