code: def __init__(
      self, output_queue: Queue, text_generator, line_generator, name=-1
  ):
      super().__init__(daemon=True)
      self.text_generator = TextGenerator(text_generator)
      self.line_generator = LineGenerator(line_generator)
      self.output_queue = output_queue
      self.text_only = False
      self.name = "{}".format(name)
  
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 1 to create a new LineGeneratorProcess object from inherited base classes: Process with example: obj = LineGeneratorProcess(output_queue, text_generator, line_generator, name)