code: def reduce_noise_raw(im):
      bilat = cv2.bilateralFilter(im, 9, 75, 75)
      blur = cv2.medianBlur(bilat, 5)
      return blur
  
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 10 for calling a global function with example usage: reduce_noise_raw(im) and returns: blur