code: def cv2_to_base64(image):
      return base64.b64encode(image).decode("utf8")
  
file_path: PaddleOCR/deploy/pdserving/pipeline_rpc_client.py
imports: import numpy
  import requests
  import json
  import cv2
  import base64
  import os
  import argparse
label_desc: Use image node_id 1 for calling a global function with example usage: cv2_to_base64(image) and returns: base64