code: def parse_args():
      parser = ArgumentParser()
      parser.add_argument(
          "inputs", type=str, help="Input image file or folder path."
      )
      parser.add_argument("config", help="config file")
      parser.add_argument("--checkpoint", help="checkpoint file")
      parser.add_argument("--detector", help="det checkpoint file")
      parser.add_argument("--reid", help="reid checkpoint file")
      parser.add_argument(
          "--device", default="cuda:0", help="device used for inference"
      )
      parser.add_argument(
          "--score-thr",
          type=float,
          default=0.0,
          help="The threshold of score to filter bboxes.",
      )
      parser.add_argument(
          "--out", help="output video file (mp4 format) or folder"
      )
      parser.add_argument(
          "--show",
          action="store_true",
          help="whether show the results on the fly",
      )
      parser.add_argument("--fps", help="FPS of the output video")
      args = parser.parse_args()
      return args
  
file_path: mmdetection/demo/mot_demo.py
imports: import os
  import os.path
  import tempfile
  from argparse import ArgumentParser
  import mmcv
  import mmengine
  from mmengine.registry import init_default_scope
  from mmdet.apis import inference_mot, init_track_model
  from mmdet.registry import VISUALIZERS
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args