You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 546B

123456789101112131415
  1. """OpenCV Transforms."""
  2. from transform import ImageTransform
  3. class ImageTransformOpenCV(ImageTransform):
  4. """OPENCV Image Transform class."""
  5. def __init__(self, input_index=(-1,), args=None,):
  6. """
  7. Image Transform OpenCV Constructor.
  8. :param input_index: <tuple> index where to take the inputs (default is (-1) for previous transformation)
  9. :param args: <dict> args parameter to run the image transformation (default use Conf.args)
  10. """
  11. super().__init__(args=args, input_index=input_index)