code: def random_texts(
      self, text_len: int, text_change_nth: Optional[int]
  ) -> Iterator[List[float]]:
      def random_text(n):
          return [random.random() for _ in range(n)]
  
      iframe = 0
      if not text_change_nth:
          text = random_text(text_len)
      while True:
          if text_change_nth and iframe % text_change_nth == 0:
              text = random_text(text_len)
          # pyre-fixme[61]: `text` may not be initialized here.
          yield text
          iframe += 1
  
file_path: AugLy/augly/video/augmenters/cv2/text.py
imports: import pickle
  import random
  import string
  from typing import Any, Iterator, List, Optional, Tuple
  import cv2
  import numpy
  from augly.utils import pathmgr
  from augly.video.augmenters.cv2.base_augmenter import BaseCV2Augmenter
  from PIL import Image, ImageDraw, ImageFont
label_desc: Use image node_id 2 for calling the VideoDistractorByText obj's underlying member method code with example usage: obj.random_texts(text_len, text_change_nth) and returns: unknown