code: def __init__(self, params: ImageLoaderParams):
      self.params = params
  
file_path: calamari/calamari_ocr/utils/image.py
imports: from dataclasses import dataclass, field
  import numpy
  from PIL import Image
  from paiargparse import pai_dataclass, pai_meta
  import cv2
label_desc: Use image node_id 1 to create a new ImageLoader object  with example: obj = ImageLoader(params)