code: def parse_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--in-path", help="input json path with coco format"
      )
      parser.add_argument(
          "--out-path", help="output txt path with line-json format"
      )
  
      args = parser.parse_args()
      return args
  
imports: import argparse
  import json
  import mmengine
  from mmocr.utils import list_to_file
label_desc: Use image node_id 3 for calling a global function with example usage: parse_args() and returns: args