code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Generate training and test set of IC11"
      )
      parser.add_argument("root_path", help="Root dir path of IC11")
      args = parser.parse_args()
      return args
  
imports: import argparse
  import os.path
  from mmocr.utils import dump_ocr_data
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: args