code: def update(self, label_trues, label_preds):
      # print label_trues.dtype, label_preds.dtype
      for lt, lp in zip(label_trues, label_preds):
          try:
              self.confusion_matrix += self._fast_hist(
                  lt.flatten(), lp.flatten(), self.n_classes
              )
          except:
              pass
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/utils/metrics.py
imports: import numpy
label_desc: Use image node_id 3 for calling the runningScore obj's underlying member method code with example usage: obj.update(label_trues, label_preds) without return types