code: def __init__(self, config, tag):
      self.logger = get_logger()
      self.output_dir = config["Global"]["output_dir"]
      self.counter = 0
      self.label_dict = {}
      self.tag = tag
      self.label_file_index = 0
  
file_path: PaddleOCR/StyleText/engine/writers.py
imports: import os
  import cv2
  import glob
  from utils.logging import get_logger
label_desc: Use image node_id 1 to create a new SimpleWriter object from inherited base classes: object with example: obj = SimpleWriter(config, tag)