code: def get_fonts(fonts_path):
      """
      desc: get all fonts
      """
      font_files = os.listdir(fonts_path)
      fonts_list = []
      for font_file in font_files:
          font_path = os.path.join(fonts_path, font_file)
          fonts_list.append(font_path)
      return fonts_list
  
file_path: PaddleOCR/applications/PCB字符识别/gen_data/gen.py
imports: import os
  import random
  from PIL import Image, ImageDraw, ImageFont
  import json
  import argparse
label_desc: Use image node_id 4 for calling a global function with example usage: get_fonts(fonts_path) and returns: fonts_list