code: def testfile(fname, resize=False):
      n = nude.Nude(fname)
      if resize:
          n.resize(maxheight=800, maxwidth=600)
      n.parse()
      return n.result
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import imp
  import os
  import multiprocessing
label_desc: Use image node_id 1 for calling a global function with example usage: testfile(fname, resize) and returns: n