- All Implemented Interfaces:
- PipelineStep, TextConfig, Serializable
public class PerspectiveTransformStep
extends Object
implements PipelineStep
PerspectiveTransformStep: Applies a perspective transformation to Images, Points and Bounding Boxes.
The transformation is defined either statically with the Step definition or dynamically with a list of 4 points in an
input. If both are defined, an IllegalStateException will be thrown.
If only the source points are defined, the transformation will result in mapping those points to a rectangle.
If you want to apply a more specific transformation, you can also provide the target points yourself.
Note: supports both single values and lists. If the input is as single value,
the output will be a single value; if the input is a list, the output will be a list.
- See Also:
- Serialized Form