code: def get_dict(character_dict_path):
      character_str = ""
      with open(character_dict_path, "rb") as fin:
          lines = fin.readlines()
          for line in lines:
              line = line.decode("utf-8").strip("\n").strip("\r\n")
              character_str += line
          dict_character = list(character_str)
      return dict_character
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import cv2
  import math
  import numpy
  from itertools import groupby
  from skimage.morphology._skeletonize import thin
label_desc: Use image node_id 1 for calling a global function with example usage: get_dict(character_dict_path) and returns: dict_character