code: def __init__(self, im, page_num, lang=None):
      self.healthy = True
      self.err = False
      self.page_num = page_num
      self.orig_im = im
      self.orig_shape = self.orig_im.shape
      self.lang = lang
  
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 1 to create a new Page object from inherited base classes: object with example: obj = Page(im, page_num, lang)