code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Convert PASCAL VOC annotations to mmdetection format"
      )
      parser.add_argument("devkit_path", help="pascal voc devkit path")
      parser.add_argument("-o", "--out-dir", help="output path")
      parser.add_argument(
          "--out-format",
          default="pkl",
          choices=("pkl", "coco"),
          help='output format, "coco" indicates coco annotation format',
      )
      args = parser.parse_args()
      return args
  
file_path: mmdetection/tools/dataset_converters/pascal_voc.py
imports: import argparse
  import os.path
  import xml.etree.ElementTree
  import numpy
  from mmengine.fileio import dump, list_from_file
  from mmengine.utils import mkdir_or_exist, track_progress
  from mmdet.evaluation import voc_classes
label_desc: Use image node_id 4 for calling a global function with example usage: parse_args() and returns: args