original_docstring: 
      Use tesseract api to get the text from the images directly.
  
      Keywords
      --------
      A dictionary of key, val that tesseract api can accept.
      
docstring: Use tesseract api to get the text from the images directly.
  Keywords
  
  A dictionary of key, val that tesseract api can accept.
docstring_tokens: Use tesseract api to get the text from the images directly . Keywords A dictionary of key val that tesseract api can accept .
code: def _get_tesseract_text(img_path, **kwargs):
      """
      Use tesseract api to get the text from the images directly.
  
      Keywords
      --------
      A dictionary of key, val that tesseract api can accept.
      """
      imcv = cv2.imread(img_path)
      height, width, depth = imcv.shape
      for key, val in kwargs.items():
          TESS.set_variable(key, val)
      TESS.set_image(imcv.ctypes, width, height, depth)
      gettext = TESS.get_text()
      return gettext
code_tokens: def _get_tesseract_text ( img_path , ** kwargs ) : imcv = cv2 . imread ( img_path ) height , width , depth = imcv . shape for key , val in kwargs . items ( ) : TESS . set_variable ( key , val ) TESS . set_image ( imcv . ctypes , width , height , depth ) gettext = TESS . get_text ( ) return gettext
short_docstring: Use tesseract api to get the text from the images directly.
short_docstring_tokens: Use tesseract api to get the text from the images directly .
comment: """
      Use tesseract api to get the text from the images directly.
  
      Keywords
      --------
      A dictionary of key, val that tesseract api can accept.
      """