- All Implemented Interfaces:
ai.konduit.serving.pipeline.api.step.PipelineStep, ai.konduit.serving.pipeline.api.TextConfig, java.io.Serializable
public class ExtractBoundingBoxStep
extends java.lang.Object
implements ai.konduit.serving.pipeline.api.step.PipelineStep
ExtractBoundingBoxStep: Given one or more bounding boxes, and an input image, extract from the input region an image
that corresponds to the bounding box region.
i.e.: output as images the input image region covered by the bounding boxes
Note: supports both BoundingBox and List<BoundingBox> fields. 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.
Note: If the aspect ratio field is set, the image cropping will increase the smaller dimension to ensure the cropped
image complies with the requested aspect ratio.
Note: If resizeH and resizeW are specified, the cropped images will be resized to the specified size
- See Also:
- Serialized Form