code: def _convert_labels(raw_labels, image_width, image_height):
      """Convert labels to bounding boxes.
  
      Args:
        raw_labels: Raw label data.
        image_width: Width of the Waymo images.
        image_height: Height of the Waymo images.
  
      Returns:
        List of dicts with the label type and the corresponding bounding boxes.
      """
      return [
          {  # pylint: disable=g-complex-comprehension
              "type": raw_label.type,
              "bbox": _build_bounding_box(
                  raw_label.box, image_width, image_height
              ),
          }
          for raw_label in raw_labels.labels
      ]
  
file_path: datasets/tensorflow_datasets/object_detection/waymo_open_dataset.py
imports: from __future__ import annotations
  import os
  from absl import logging
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.proto import waymo_dataset_pb2
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling a global function with example usage: _convert_labels(raw_labels, image_width, image_height) and returns: unknown