code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Generate training, validation and test set of IMGUR "
      )
      parser.add_argument("root_path", help="Root dir path of IMGUR")
      args = parser.parse_args()
  
      return args
  
file_path: mmocr/tools/dataset_converters/textrecog/imgur_converter.py
imports: import argparse
  import math
  import os
  import os.path
  import mmcv
  import mmengine
  import numpy
  from mmocr.utils import crop_img, dump_ocr_data
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args