For the complete documentation index, see llms.txt. This page is also available as Markdown.

contours Kind

List of numpy arrays where each array represents contour points.

List of numpy arrays where each array represents contour points

Data representation

External

External data representation is relevant for Workflows clients - it dictates what is the input and output format of data.

Type: List[list]

Internal

Internal data representation is relevant for Workflows blocks creators - this is the type that will be provided by Execution Engine in runtime to the block that consumes input of this kind.

Type: List[np.ndarray]

Details

This kind represents a value of a list of numpy arrays where each array represents contour points.

Example:

[
    np.array([[10, 10],
              [20, 20],
              [30, 30]], dtype=np.int32),
    np.array([[50, 50],
              [60, 60],
              [70, 70]], dtype=np.int32)
]

Last updated

Was this helpful?