code: def create_blank_frame(frame=None, text="", logging=False):
      """
      ## create_blank_frame
  
      Create blank frames of given frame size with text
  
      Parameters:
          frame (numpy.ndarray): inputs numpy array(frame).
          text (str): Text to be written on frame.
      **Returns:**  A reduced numpy ndarray array.
      """
      # check if frame is valid
      if frame is None or not (isinstance(frame, np.ndarray)):
          raise ValueError("[Helper:ERROR] :: Input frame is invalid!")
      # grab the frame size
      (height, width) = frame.shape[:2]
      # create blank frame
      blank_frame = np.zeros(frame.shape, frame.dtype)
      # setup text
      if text and isinstance(text, str):
          logging and logger.debug("Adding text: {}".format(text))
          # setup font
          font = cv2.FONT_HERSHEY_SCRIPT_COMPLEX
          # get boundary of this text
          fontScale = min(height, width) / (25 / 0.25)
          textsize = cv2.getTextSize(text, font, fontScale, 5)[0]
          # get coords based on boundary
          textX = (width - textsize[0]) // 2
          textY = (height + textsize[1]) // 2
          # put text
          cv2.putText(
              blank_frame,
              text,
              (textX, textY),
              font,
              fontScale,
              (125, 125, 125),
              6,
          )
  
      # return frame
      return blank_frame
  
imports: import os
  import re
  import sys
  import cv2
  import types
  import errno
  import stat
  import shutil
  import importlib
  import requests
  import numpy
  import logging
  import platform
  import socket
  from tqdm import tqdm
  from contextlib import closing
  from pathlib import Path
  from colorlog import ColoredFormatter
  from pkg_resources import parse_version
  from requests.adapters import HTTPAdapter, Retry
  from ..version import __version__
label_desc: Use image node_id 16 for calling a global function with example usage: create_blank_frame(frame, text, logging) and returns: blank_frame