def __init__(
      self,
      image_id=-1,
      question_ids=None,
      questions=None,
      answers=None,
      captions=None,
      objects=None,
  ):
    """Initialization.

    Args:
      image_id: (optional) Identifier for the image.
      question_ids: (optional) List of unique identifiers for the questions.
      questions: (optional) List of question strings.
      answers: (optional) List of answer strings.
      captions: (optional) List of caption strings.
      objects: (optional) Filename of HDF5 file with R-CNN data. Could also be
        an open filehandle.
    """
    self.image_id = image_id
    length = self._get_length(question_ids, questions, answers, captions)
    self.question_ids = question_ids or [-1] * length
    self.questions = questions or ["_"] * length
    self.answers = answers or ["_"] * length
    self.captions = captions or ["_"] * length
    self.objects = objects
Initialization.

    Args:
      image_id: (optional) Identifier for the image.
      question_ids: (optional) List of unique identifiers for the questions.
      questions: (optional) List of question strings.
      answers: (optional) List of answer strings.
      captions: (optional) List of caption strings.
      objects: (optional) Filename of HDF5 file with R-CNN data. Could also be
        an open filehandle.
    
language/capwap/utils/image_utils.py