code: def run(self):
      random.seed()
      np.random.seed()
      try:
          while True:
              self._handle()
      except (EOFError, BrokenPipeError, ConnectionResetError):
          # queue closed, stop the process
          return
  
file_path: calamari/calamari_ocr/ocr/dataset/datareader/generated_line_dataset/dataset.py
imports: import logging
  import random
  from multiprocessing import Process, Queue, Manager
  import numpy
  from tfaip.data.pipeline.definitions import PipelineMode
  from calamari_ocr.ocr.dataset.datareader.base import CalamariDataGenerator, InputSample, SampleMeta
  from calamari_ocr.ocr.dataset.datareader.generated_line_dataset.params import GeneratedLineDatasetParams
  from calamari_ocr.ocr.dataset.datareader.generated_line_dataset.line_generator import LineGenerator
  from calamari_ocr.ocr.dataset.datareader.generated_line_dataset.text_generation.text_generator import TextGenerator
label_desc: Use image node_id 3 for calling the LineGeneratorProcess obj's underlying member method code with example usage: obj.run() without return types