class_docstr: Calculates TranslationTransformation between points.
  
  The camera movement is calculated as the mode of optical flow between the previous reference frame
  and the current.
  
  Comparing consecutive frames can make differences too small to correctly estimate the translation,
  for this reason the reference frame is kept fixed as we progress through the video.
  Eventually, if the transformation is no longer able to match enough points, the reference frame is updated.
  
  Parameters
  ----------
  bin_size : float
      Before calculatin the mode, optiocal flow is bucketized into bins of this size.
  proportion_points_used_threshold: float
      Proportion of points that must be matched, otherwise the reference frame must be updated.
code: def __init__(
      self,
      bin_size: float = 0.2,
      proportion_points_used_threshold: float = 0.9,
  ) -> None:
      self.bin_size = bin_size
      self.proportion_points_used_threshold = (
          proportion_points_used_threshold
      )
      self.data = None
  
imports: from abc import ABC, abstractmethod
  from typing import Optional, Tuple
  import numpy
label_desc: Use image node_id 1 to create a new TranslationTransformationGetter object from inherited base classes: TransformationGetter with example: obj = TranslationTransformationGetter(bin_size, proportion_points_used_threshold)