code: def postprocess(fetch_dict, fetch_vars, draw_threshold=0.5):
      result = []
      if "conv2d_441.tmp_1" in fetch_dict:
          heatmap = fetch_dict["conv2d_441.tmp_1"]
          print(heatmap)
          result.append(heatmap)
      else:
          bboxes = fetch_dict[fetch_vars[0]]
          for bbox in bboxes:
              if bbox[0] > -1 and bbox[1] > draw_threshold:
                  print(
                      f"{int(bbox[0])} {bbox[1]} "
                      f"{bbox[2]} {bbox[3]} {bbox[4]} {bbox[5]}"
                  )
                  result.append(
                      f"{int(bbox[0])} {bbox[1]} "
                      f"{bbox[2]} {bbox[3]} {bbox[4]} {bbox[5]}"
                  )
      return result
  
file_path: PaddleDetection/deploy/serving/cpp/serving_client.py
imports: import os
  import glob
  import base64
  import argparse
  from paddle_serving_client import Client
  from paddle_serving_client.proto import general_model_config_pb2
  import google.protobuf.text_format
label_desc: Use image node_id 2 for calling a global function with example usage: postprocess(fetch_dict, fetch_vars, draw_threshold) and returns: result