code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "in_file", help="Annotation file for closeset."
      )
      parser.add_argument(
          "out_file", help="Annotation file for openset."
      )
      parser.add_argument(
          "--merge",
          action="store_true",
          help='Merge two classes: "background" and "others" in closeset '
          "to one class in openset.",
      )
      parser.add_argument(
          "--n_proc", type=int, default=10, help="Number of process."
      )
      args = parser.parse_args()
      return args
  
file_path: mmocr/tools/dataset_converters/kie/closeset_to_openset.py
imports: import argparse
  import json
  from functools import partial
  import mmengine
  from mmocr.utils import list_from_file, list_to_file
label_desc: Use image node_id 3 for calling a global function with example usage: parse_args() and returns: args