code: def enqueue_output(out, queue):
      for line in iter(out.readline, b""):
          queue.put(line)
      out.close()
  
file_path: calamari/calamari_ocr/utils/multiprocessing.py
imports: import os
  import time
  import subprocess
  import logging
  import sys
  from threading import Thread
  from queue import Queue, Empty
label_desc: Use image node_id 2 for calling a global function with example usage: enqueue_output(out, queue) without return types