code: def base64_to_cv2(b64str):
      data = base64.b64decode(b64str.encode("utf8"))
      data = np.fromstring(data, np.uint8)
      data = cv2.imdecode(data, cv2.IMREAD_COLOR)
      return data
  
file_path: PaddleHub/modules/image/classification/mobilenet_v2_animals/processor.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import base64
  import cv2
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: base64_to_cv2(b64str) and returns: data