code: def local_to_global_pos(self, x, params):
      (scale,) = params["scale_to_height"]
      return x / scale
  
file_path: calamari/calamari_ocr/ocr/dataset/imageprocessors/scale_to_height_processor.py
imports: from dataclasses import dataclass, field
  from typing import Type
  import cv2
  import numpy
  from paiargparse import pai_dataclass
  from tfaip.data.pipeline.processor.dataprocessor import DataProcessorParams
  from calamari_ocr.ocr.dataset.imageprocessors.data_preprocessor import ImageProcessor
label_desc: Use image node_id 2 for calling the ScaleToHeightProcessor obj's underlying member method code with example usage: obj.local_to_global_pos(x, params) and returns: unknown