code: def postprocess(self, outputs, with_score=False):
      preds = list(outputs.values())[0]
      try:
          preds = preds.numpy()
      except:
          pass
      preds_idx = preds.argmax(axis=2)
      preds_prob = preds.max(axis=2)
      text = self.label_ops.decode(
          preds_idx, preds_prob, is_remove_duplicate=True
      )
      return text
  
imports: import cv2
  import copy
  import numpy
  import math
  import re
  import sys
  import argparse
  import string
  from copy import deepcopy
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
  import yaml
label_desc: Use image node_id 4 for calling the OCRReader obj's underlying member method code with example usage: obj.postprocess(outputs, with_score) and returns: text