code: def parse_args():
      parser = argparse.ArgumentParser(
          description="MMDetection webcam demo"
      )
      parser.add_argument("config", help="test config file path")
      parser.add_argument("checkpoint", help="checkpoint file")
      parser.add_argument(
          "--device",
          type=str,
          default="cuda:0",
          help="CPU/CUDA device option",
      )
      parser.add_argument(
          "--camera-id", type=int, default=0, help="camera device id"
      )
      parser.add_argument(
          "--score-thr",
          type=float,
          default=0.5,
          help="bbox score threshold",
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import cv2
  import torch
  from mmdet.apis import inference_detector, init_detector
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args