code: def _build_bounding_box(open_dataset_box, image_width, image_height):
      """Builds and returns TFDS bounding box.
  
      Args:
        open_dataset_box: Bounding box center x,y coordinates and its length, width.
        image_width: Width of the Waymo images.
        image_height: Height of the Waymo images.
  
      Returns:
        tfds.features.BBox.
      """
  
      center_x = open_dataset_box.center_x
      center_y = open_dataset_box.center_y
      length = open_dataset_box.length
      width = open_dataset_box.width
  
      return tfds.features.BBox(
          ymin=max((center_y - (width / 2)) / image_height, 0.0),
          ymax=min((center_y + (width / 2)) / image_height, 1.0),
          xmin=max((center_x - (length / 2)) / image_width, 0.0),
          xmax=min((center_x + (length / 2)) / image_width, 1.0),
      )
  
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 3 for calling a global function with example usage: _build_bounding_box(open_dataset_box, image_width, image_height) and returns: tfds