def METHOD_NAME(argv):
  """Parses args for the workflow."""
  parser = argparse.ArgumentParser()
  parser.add_argument(
      '--input',
      dest='input',
      required=True,
      help='Path to the text file containing image names.')
  parser.add_argument(
      '--output',
      dest='output',
      required=True,
      help='Path where to save output predictions.'
      ' text file.')
  parser.add_argument(
      '--engine_path',
      dest='engine_path',
      required=True,
      help='Path to the pre-built TFOD ssd_mobilenet_v2_320x320_coco17_tpu-8'
      'TensorRT engine.')
  parser.add_argument(
      '--images_dir',
      default=None,
      help='Path to the directory where images are stored.'
      'Not required if image names in the input file have absolute path.')
  return parser.METHOD_NAME(argv)