# transformers 5.24.1 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

        segmentation_maps (`ImageInput`, *optional*):
            The segmentation maps to process.
        input_points (`list[list[list[list[float]]]]`, `torch.Tensor`, *optional*):
            The points to add to the frame.
        input_labels (`list[list[list[int]]]`, `torch.Tensor`, *optional*):
            The labels for the points.
        input_boxes (`list[list[list[float]]]`, `torch.Tensor`, *optional*):
            The bounding boxes to add to the frame.
        original_sizes (`list[list[float]]`, `torch.Tensor`, *optional*):
            The original sizes of the images.

        Returns:
            A [`BatchEncoding`] with the following fields:
            - `pixel_values` (`torch.Tensor`): The processed image(s).
            - `original_sizes` (`list[list[float]]`): The original sizes of the images.
            - `labels` (`torch.Tensor`): The processed segmentation maps (if provided).
            - `input_points` (`torch.Tensor`): The processed points.
            - `input_labels` (`torch.Tensor`): The processed labels.
            - `input_boxes` (`torch.Tensor`): The processed bounding boxes.
        
=== parse google
short_description: 'segmentation_maps (`ImageInput`, *optional*):'
long_description: |
      The segmentation maps to process.
  input_points (`list[list[list[list[float]]]]`, `torch.Tensor`, *optional*):
      The points to add to the frame.
  input_labels (`list[list[list[int]]]`, `torch.Tensor`, *optional*):
      The labels for the points.
  input_boxes (`list[list[list[float]]]`, `torch.Tensor`, *optional*):
      The bounding boxes to add to the frame.
  original_sizes (`list[list[float]]`, `torch.Tensor`, *optional*):
      The original sizes of the images.
blank_after_short_description: False
blank_after_long_description: True
style: google
- DocstringReturns
  description: |
    A [`BatchEncoding`] with the following fields:
    - `pixel_values` (`torch.Tensor`): The processed image(s).
    - `original_sizes` (`list[list[float]]`): The original sizes of the images.
    - `labels` (`torch.Tensor`): The processed segmentation maps (if provided).
    - `input_points` (`torch.Tensor`): The processed points.
    - `input_labels` (`torch.Tensor`): The processed labels.
    - `input_boxes` (`torch.Tensor`): The processed bounding boxes.
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
segmentation_maps (`ImageInput`, *optional*):
    The segmentation maps to process.
input_points (`list[list[list[list[float]]]]`, `torch.Tensor`, *optional*):
    The points to add to the frame.
input_labels (`list[list[list[int]]]`, `torch.Tensor`, *optional*):
    The labels for the points.
input_boxes (`list[list[list[float]]]`, `torch.Tensor`, *optional*):
    The bounding boxes to add to the frame.
original_sizes (`list[list[float]]`, `torch.Tensor`, *optional*):
    The original sizes of the images.

Returns:
    A [`BatchEncoding`] with the following fields:
    - `pixel_values` (`torch.Tensor`): The processed image(s).
    - `original_sizes` (`list[list[float]]`): The original sizes of the images.
    - `labels` (`torch.Tensor`): The processed segmentation maps (if provided).
    - `input_points` (`torch.Tensor`): The processed points.
    - `input_labels` (`torch.Tensor`): The processed labels.
    - `input_boxes` (`torch.Tensor`): The processed bounding boxes.
