class_docstr: Support data that might occur in a towhee pipeline from json.
class_docstr_tok: ["Support","data","that","might","occur","in","a","towhee","pipeline","from","json","."]
code: def object_hook(self, dct):  # pylint: disable=method-hidden
      if "_NP" in dct:
          return NumpyFormat.from_dict(dct)
      if "_EMP" in dct:
          return EmptyFormat.from_dict()
      return dct
  
imports: import json
  import numpy
  from towhee.runtime.data_queue import Empty
label_desc: Use image node_id 2 for calling the TritonParser obj's underlying member method code with example usage: obj.object_hook(dct) and returns: dct, NumpyFormat, EmptyFormat