code: def parse_args():
      parser = argparse.ArgumentParser(description="Browse a dataset")
      parser.add_argument("data_root")
      parser.add_argument("ann_file")
      parser.add_argument("img_prefix")
      parser.add_argument("--label-map-file", "-m", default=None)
      parser.add_argument(
          "--output-dir",
          "-o",
          default=None,
          type=str,
          help="If there is no display interface, you can save it",
      )
      parser.add_argument(
          "--not-show", default=False, action="store_true"
      )
      parser.add_argument("--show-num", "-n", type=int, default=30)
      parser.add_argument(
          "--shuffle", default=False, action="store_true"
      )
      parser.add_argument(
          "--show-interval",
          type=float,
          default=0,
          help="the interval of show (s)",
      )
      args = parser.parse_args()
      return args
  
file_path: mmdetection/tools/analysis_tools/browse_grounding_raw.py
imports: import argparse
  import json
  import os.path
  import cv2
  import numpy
  from mmcv.image import imfrombytes, imwrite
  from mmengine.fileio import get
  from mmengine.structures import InstanceData
  from mmengine.utils import mkdir_or_exist
  from mmdet.structures import DetDataSample
  from mmdet.visualization import DetLocalVisualizer
  from mmdet.visualization.palette import _get_adaptive_scales
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args