code: def parse_args():
      parser = argparse.ArgumentParser(
          description="CrowdHuman to COCO Video format"
      )
      parser.add_argument(
          "-i",
          "--input",
          help="root directory of CrowdHuman annotations",
      )
      parser.add_argument(
          "-o",
          "--output",
          help="directory to save coco formatted label file",
      )
      return parser.parse_args()
  
file_path: mmdetection/tools/dataset_converters/crowdhuman2coco.py
imports: import argparse
  import json
  import os
  import os.path
  from collections import defaultdict
  import mmengine
  from PIL import Image
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser