Class DrawGridStep

  • All Implemented Interfaces:
    ai.konduit.serving.pipeline.api.step.PipelineStep, ai.konduit.serving.pipeline.api.TextConfig, java.io.Serializable

    public class DrawGridStep
    extends java.lang.Object
    implements ai.konduit.serving.pipeline.api.step.PipelineStep
    Draw a grid on the specified image, based on the x/y coordinates of the corners, and the number of segments within the grid in both directions.
    The 4 corner coordinates are defined as points, and come from Data.getListPoint(name), in the following order: topLeft, topRight, bottomLeft, bottomRight
    gridX is the number of grid segments between (topLeft and topRight) and (bottomLeft and bottomRight).
    gridY is the number of grid segments between (topLeft and bottomLeft) and (topRight and bottomRight)
    The colors and line thicknesses can be configured.

    See also DrawFixedGridStep

    Author:
    Alex Black
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_COLOR  
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawGridStep()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface ai.konduit.serving.pipeline.api.step.PipelineStep

        name
      • Methods inherited from interface ai.konduit.serving.pipeline.api.TextConfig

        toJson, toYaml
    • Constructor Detail

      • DrawGridStep

        public DrawGridStep()