code: def build_option(args):
      det_option = fd.RuntimeOption()
  
      if args.device.lower() == "gpu":
          det_option.use_gpu(args.device_id)
  
      return det_option
  
imports: import fastdeploy
  import cv2
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: build_option(args) and returns: det_option