code: def parse_args():
      parser = argparse.ArgumentParser(description="Browse a dataset")
      parser.add_argument("config", help="train config file path")
      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)",
      )
      parser.add_argument(
          "--cfg-options",
          nargs="+",
          action=DictAction,
          help="override some settings in the used config, the key-value pair "
          "in xxx=yyy format will be merged into config file. If the value to "
          'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
          'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
          "Note that the quotation marks are necessary and that no white space "
          "is allowed.",
      )
      args = parser.parse_args()
      return args
  
file_path: mmdetection/tools/analysis_tools/browse_grounding_dataset.py
imports: import argparse
  import os.path
  import numpy
  from mmcv.image import imwrite
  from mmengine.config import Config, DictAction
  from mmengine.registry import init_default_scope
  from mmengine.utils import ProgressBar
  from mmdet.registry import DATASETS, VISUALIZERS
  from mmdet.structures.bbox import BaseBoxes
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args