code: def __init__(self, n_classes):
      self.n_classes = n_classes
      self.confusion_matrix = np.zeros((n_classes, n_classes))
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/utils/metrics.py
imports: import numpy
label_desc: Use image node_id 1 to create a new runningScore object from inherited base classes: object with example: obj = runningScore(n_classes)