code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Generate PASCAL-Context dataset"
      )
      parser.add_argument(
          "--voc_path",
          dest="voc_path",
          help="pascal voc path",
          type=str,
      )
      parser.add_argument(
          "--annotation_path",
          dest="annotation_path",
          help="pascal context annotation path",
          type=str,
      )
  
      return parser.parse_args()
  
file_path: PaddleSeg/tools/data/convert_voc2010.py
imports: import argparse
  import os
  import tqdm
  import numpy
  from detail import Detail
  from PIL import Image
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser