code: def _bbox_decode(self, bbox, shape):
      h, w, ratio_h, ratio_w, pad_h, pad_w = shape
      if self.box_shape == "pad":
          h, w = pad_h, pad_w
      bbox[0::2] *= w
      bbox[1::2] *= h
      bbox[0::2] /= ratio_w
      bbox[1::2] /= ratio_h
      x, y, w, h = bbox
      x1, y1, x2, y2 = x - w // 2, y - h // 2, x + w // 2, y + h // 2
      bbox = np.array([x1, y1, x2, y2])
      return bbox
  
file_path: PaddleOCR/ppocr/postprocess/table_postprocess.py
imports: import numpy
  import paddle
  from .rec_postprocess import AttnLabelDecode
label_desc: Use image node_id 4 for calling the TableMasterLabelDecode obj's underlying member method code with example usage: obj._bbox_decode(bbox, shape) and returns: bbox