code: def get_args():
      parser = argparse.ArgumentParser(
          description="Segment image with point promp or box"
      )
      # Parameters
      parser.add_argument(
          "--input_path",
          type=str,
          required=True,
          help="The directory of image.",
      )
      parser.add_argument(
          "--model-type",
          type=str,
          default="vit_l",
          required=True,
          help="The type of model to load, in ['vit_h', 'vit_l', 'vit_b', 'vit_t']",
      )
      parser.add_argument(
          "--point_prompt",
          type=int,
          nargs="+",
          default=None,
          help="point prompt.",
      )
      parser.add_argument(
          "--box_prompt",
          type=int,
          nargs="+",
          default=None,
          help="box prompt format as xyxy.",
      )
      parser.add_argument(
          "--output_path",
          type=str,
          default="./output/",
          help="The directory for saving the results",
      )
      return parser.parse_args()
  
file_path: PaddleSeg/contrib/SegmentAnything/scripts/promt_predict.py
imports: import os
  import sys
  import argparse
  import paddle
  import cv2
  import numpy
  import matplotlib.pyplot
  from segment_anything.predictor import SamPredictor
  from segment_anything.build_sam import sam_model_registry
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: parser