code: def to_excel(html_table, excel_path):
      from tablepyxl import tablepyxl
  
      tablepyxl.document_to_xl(html_table, excel_path)
  
imports: import os
  import sys
  import cv2
  import copy
  import logging
  import numpy
  import time
  import tools.infer.predict_rec
  import tools.infer.predict_det
  import tools.infer.utility
  from tools.infer.predict_system import sorted_boxes
  from ppocr.utils.utility import get_image_file_list, check_and_read
  from ppocr.utils.logging import get_logger
  from ppstructure.table.matcher import TableMatch
  from ppstructure.table.table_master_match import TableMasterMatcher
  from ppstructure.utility import parse_args
  import ppstructure.table.predict_structure
label_desc: Use image node_id 2 for calling a global function with example usage: to_excel(html_table, excel_path) without return types