DRAW_SEGMENTATION
DrawSegmentationStep
is a pipeline step that configures how to draw a segmentation mask, optionally on an image.
Configs | Descriptions |
classColors | This is an optional field which specifies the list of colors to use for each class. The color can be a hex or HTML string like |
segmentArray | Name of the NDArray with the class indices, 0 to numClasses-1. In shape of |
image | An optional field, specifying the name of the image to draw the segmentation classes onto. If not provided, the segmentation classes are drawn onto a black background image. |
outputName | Name of the output image. Default is named as |
opacity | An optional field, that is used only used when |
backgroundClass | An optional field, specifying a class that's not to be drawn. If not set, all classes will be drawn. |
imageToNDArrayConfig | Used to account for the fact that n-dimensional array from |
Last updated