class_docstr: Creates TFDS examples for the Detection track.
class_docstr_tok: ["Creates","TFDS","examples","for","the","Detection","track","."]
code: def __init__(
      self,
      image_labels_filepath,
      box_labels_filepath,
      hierarchy_filepath,
      classes_filepath,
  ):
      self._image_labels_filepath = image_labels_filepath
      self._box_labels_filepath = box_labels_filepath
      self._hierarchy_filepath = hierarchy_filepath
      self._classes_filepath = classes_filepath
      self._image2labels = None
      self._image2boxes = None
      self._hierarchy = None
      self._mid2int = None
  
imports: import collections
  import csv
  import io
  import json
  import os
  from absl import logging
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new CreateDetectionExampleFn object from inherited base classes: beam with example: obj = CreateDetectionExampleFn(image_labels_filepath, box_labels_filepath, hierarchy_filepath, classes_filepath)