code: def _q2q_single(
      func, queue_in, queue_out, filterf=lambda x: True, timeout=1
  ):
      _q2q_batch(
          lambda b: [func(x) for x in b],
          queue_in,
          queue_out,
          filterf,
          1,
          timeout,
      )
  
imports: import types
  from studio.util import logs
  from PIL import Image
  from threading import Thread
  import numpy
  import itertools
  import six
label_desc: Use image node_id 3 for calling a global function with example usage: _q2q_single(func, queue_in, queue_out, filterf, timeout) without return types