code: def _parse_annotations(
      original_annotations, img_height: int, img_width: int
  ):
      """Parses annotations to the TFDS format."""
      annotations = []
      for annotation in original_annotations:
          annotation["bbox"] = _normalize_bbox(
              annotation["bbox"], img_height, img_width
          )
          annotation["crop_box"] = _normalize_bbox(
              annotation["crop_box"], img_height, img_width
          )
          annotations.append(annotation)
      return annotations
  
file_path: datasets/tensorflow_datasets/datasets/segment_anything/segment_anything_dataset_builder.py
imports: import csv
  import json
  from typing import Dict, List
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling a global function with example usage: _parse_annotations(original_annotations, img_height, img_width) and returns: annotations