code: def extract_text(self):
      temp_path = "text_temp.png"
      cv2.imwrite(temp_path, self.image)
      self.text = pytesseract.image_to_string(
          Image.open(temp_path), lang=self.lang
      )
      os.remove(temp_path)
      return self.text
  
imports: import os
  import traceback
  import sys
  import cv2
  import numpy
  from PIL import Image
  from scipy.ndimage.filters import rank_filter
  import pytesseract
label_desc: Use image node_id 4 for calling the Page obj's underlying member method code with example usage: obj.extract_text() and returns: self