class_docstr: Class for image processing. Methods for detecting lines in an image and clustering them. Helper methods for
  drawing.
docstr: Get a base image for drawing: Either the input image if <use_orig> is True or an empty (black) image.
docstr_tok: ["Get","a","base","image","for","drawing",":","Either","the","input","image","if","<","use_orig",">","is","True","or","an","empty","(","black",")","image","."]
code: def _baseimg_for_drawing(self, use_orig):
      """
      Get a base image for drawing: Either the input image if <use_orig> is True or an empty (black) image.
      """
      if use_orig:
          return np.copy(self.input_img)
      else:
          return np.zeros((self.img_h, self.img_w, 3), np.uint8)
  
imports: from logging import warning
  from math import degrees
  import numpy
  import cv2
  from pdftabextract.common import ROTATION, SKEW_X, SKEW_Y, DIRECTION_HORIZONTAL, DIRECTION_VERTICAL
  from pdftabextract.geom import normalize_angle, project_polarcoord_lines
  from pdftabextract.clustering import zip_clusters_and_values, find_clusters_1d_break_dist, calc_cluster_centers_1d
label_desc: Use image node_id 12 for calling the ImageProc obj's underlying member method code with example usage: obj._baseimg_for_drawing(use_orig) and returns: np, np