class_docstr: Resize images by scaling method.
  
  Args:
      target(int): Target image size.
      interpolation(Callable): Interpolation method.
code: def __call__(self, img, scale_search):
      scale = scale_search * self.target / img.shape[0]
      resize_img = cv2.resize(
          img,
          (0, 0),
          fx=scale,
          fy=scale,
          interpolation=self.interpolation,
      )
      return resize_img
  
imports: import os
  import math
  import base64
  from typing import Callable
  import cv2
  import numpy
  import matplotlib
  from matplotlib import pyplot
  from matplotlib.figure import Figure
  from matplotlib.backends.backend_agg import FigureCanvasAgg
label_desc: Use image node_id 2 for calling the ResizeScaling obj's underlying member method code with example usage: obj.__call__(img, scale_search) and returns: resize_img