code: def parse_args():
      parser = argparse.ArgumentParser(description="Visualization")
      parser.add_argument(
          "--file_path",
          help="The file contains the path of origin and annotated images",
          type=str,
      )
      parser.add_argument(
          "--image_path",
          default="",
          help="images root path, default None if img path in file_path is absolute path",
          type=str,
      )
      parser.add_argument(
          "--pred_dir", help="the dir of predicted images", type=str
      )
      parser.add_argument(
          "--save_path",
          help="The directory for saving the visualized images",
          type=str,
          default="./output/visualize_annotation",
      )
      return parser.parse_args()
  
file_path: PaddleSeg/contrib/QualityInspector/tools/dataset/visualize_annotation.py
imports: import argparse
  import os
  import sys
  import shutil
  import cv2
  import numpy
  from PIL import Image
  from paddleseg import utils
  from paddleseg.utils import progbar, visualize
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser