docstr: get_img_data
docstr_tok: ["get_img_data"]
code: def get_img_data(self, value):
      """get_img_data"""
      if not value:
          return None
      imgdata = np.frombuffer(value, dtype="uint8")
      if imgdata is None:
          return None
      imgori = cv2.imdecode(imgdata, 1)
      if imgori is None:
          return None
      return imgori
  
imports: import numpy
  import os
  from paddle.io import Dataset
  import lmdb
  import cv2
  import string
  import six
  import pickle
  from PIL import Image
  from .imaug import transform, create_operators
label_desc: Use image node_id 2 for calling the LMDBDataSetTableMaster obj's underlying member method code with example usage: obj.get_img_data(value) and returns: imgori, None, None, None