code: def parse_args():
      """Parse arguments"""
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--dataset_path",
          type=str,
          required=True,
          help="The directory of Magnetic-Tile dataset.",
      )
      parser.add_argument(
          "--output_path",
          type=str,
          default="dataset/MT_dataset/",
          help="The directory for saving output dataset.",
      )
      return parser.parse_args()
  
file_path: PaddleSeg/contrib/QualityInspector/tools/dataset/MT_dataset.py
imports: import argparse
  import os
  import os.path
  import shutil
  import cv2
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser