code: def cv2_to_base64(image):
      return base64.b64encode(image).decode("utf8")
  
file_path: PaddleSeg/test_tipc/serving_cpp/serving_client.py
imports: import sys
  import base64
  import io
  import argparse
  import numpy
  from PIL import Image
  from paddle_serving_client import Client
label_desc: Use image node_id 2 for calling a global function with example usage: cv2_to_base64(image) and returns: base64