code: def save_label(self):
      label_raw = ""
      label_home = os.path.join(self.output_dir, "label")
      if not os.path.exists(label_home):
          os.mkdir(label_home)
      for image_path in self.label_dict:
          label = self.label_dict[image_path]
          label_raw += "{}\t{}\n".format(image_path, label)
      label_file_path = os.path.join(
          label_home, "{}_label.txt".format(self.tag)
      )
      with open(label_file_path, "w") as f:
          f.write(label_raw)
      self.label_file_index += 1
  
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 3 for calling the SimpleWriter obj's underlying member method code with example usage: obj.save_label() without return types