docstr: Draw text at the specified position.
  Args:
      text (str): the text to draw on image.
      position (list of 2 ints): the x,y coordinate to place the text.
      font_size (Optional[int]): font of the text. If not provided, a font size
          proportional to the image width is calculated and used.
      color (str): color of the text. Refer to `matplotlib.colors` for full list
          of formats that are accepted.
      horizontal_alignment (str): see `matplotlib.text.Text`.
      vertical_alignment (str): see `matplotlib.text.Text`.
      box_facecolor (str): color of the box wrapped around the text. Refer to
          `matplotlib.colors` for full list of formats that are accepted.
      alpha (float): transparency level of the box.
docstr_tok: ["Draw","text","at","the","specified","position",".","Args",":","text","(","str",")",":","the","text","to","draw","on","image",".","position","(","list","of","2","ints",")",":","the","x",",","y","coordinate","to","place","the","text",".","font_size","(","Optional","[","int","]",")",":","font","of","the","text",".","If","not","provided",",","a","font","size","proportional","to","the","image","width","is","calculated","and","used",".","color","(","str",")",":","color","of","the","text",".","Refer","to","`","matplotlib.colors","`","for","full","list","of","formats","that","are","accepted",".","horizontal_alignment","(","str",")",":","see","`","matplotlib.text.Text","`",".","vertical_alignment","(","str",")",":","see","`","matplotlib.text.Text","`",".","box_facecolor","(","str",")",":","color","of","the","box","wrapped","around","the","text",".","Refer","to","`","matplotlib.colors","`","for","full","list","of","formats","that","are","accepted",".","alpha","(","float",")",":","transparency","level","of","the","box","."]
code: def draw_text(
      self,
      text,
      position,
      *,
      font_size=None,
      color="w",
      horizontal_alignment="center",
      vertical_alignment="bottom",
      box_facecolor="black",
      alpha=0.5,
  ):
      """
      Draw text at the specified position.
      Args:
          text (str): the text to draw on image.
          position (list of 2 ints): the x,y coordinate to place the text.
          font_size (Optional[int]): font of the text. If not provided, a font size
              proportional to the image width is calculated and used.
          color (str): color of the text. Refer to `matplotlib.colors` for full list
              of formats that are accepted.
          horizontal_alignment (str): see `matplotlib.text.Text`.
          vertical_alignment (str): see `matplotlib.text.Text`.
          box_facecolor (str): color of the box wrapped around the text. Refer to
              `matplotlib.colors` for full list of formats that are accepted.
          alpha (float): transparency level of the box.
      """
      if not font_size:
          font_size = self._default_font_size
      x, y = position
      self.output.ax.text(
          x,
          y,
          text,
          size=font_size * self.output.scale,
          family="monospace",
          bbox={
              "facecolor": box_facecolor,
              "alpha": alpha,
              "pad": 0.7,
              "edgecolor": "none",
          },
          verticalalignment=vertical_alignment,
          horizontalalignment=horizontal_alignment,
          color=color,
          zorder=10,
      )
  
imports: import itertools
  import logging
  import numpy
  import matplotlib.pyplot
  import torch
  from detectron2.utils.visualizer import Visualizer
  import slowfast.utils.logging
  from slowfast.utils.misc import get_class_names
label_desc: Use image node_id 2 for calling the ImgVisualizer obj's underlying member method code with example usage: obj.draw_text(text, position) without return types