code: def parse_args():
      def str2bool(v):
          return v.lower() in ("true", "t", "1")
  
      parser = argparse.ArgumentParser()
      parser.add_argument("--image_path", type=str, default=None)
      parser.add_argument("--bin_path", type=str, default=None)
      parser.add_argument(
          "--mode",
          type=str,
          default="image2bin",
          help="conversion mode, image2bin or bin2image",
      )
      return parser.parse_args()
  
file_path: insightface/recognition/arcface_paddle/tools/convert_image_bin.py
imports: import os
  import sys
  import argparse
  import cv2
  from datasets.kv_helper import read_img_from_bin
  from datasets.kv_helper import trans_img_to_bin
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: parser, unknown