code: def split_word_equal_gap(self, word_img_w, word_img_h, word):
      width = word_img_w
      height = word_img_h
  
      width_per_char = width / len(word)
      bboxes = []
      for j, char in enumerate(word):
          if char == " ":
              continue
          left = j * width_per_char
          right = (j + 1) * width_per_char
          bbox = np.array(
              [[left, 0], [right, 0], [right, height], [left, height]]
          )
          bboxes.append(bbox)
  
      bboxes = np.array(bboxes, np.float32)
      return bboxes
  
file_path: EasyOCR/trainer/craft/data/pseudo_label/make_charbox.py
imports: import os
  import random
  import math
  import numpy
  import cv2
  import torch
  from data import imgproc
  from data.pseudo_label.watershed import exec_watershed_by_version
label_desc: Use image node_id 7 for calling the PseudoCharBoxBuilder obj's underlying member method code with example usage: obj.split_word_equal_gap(word_img_w, word_img_h, word) and returns: bboxes