image Kind
Image in workflows.
Image in workflows
Data representation
External
External data representation is relevant for Workflows clients - it dictates what is the input and output format of data.
Type: dict
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: WorkflowImageData
Details
This is the representation of image in workflows. Underlying data type has different internal and external representation. As an input we support:
np.ndarrayimage when Workflows Execution Engine is used directly ininferencepython package (array can be provided in a form of dictionary presented below, ifvideo_metadatais intended to be injected)dictionary compatible with inference image utils:
Whe using Workflows Execution Engine exposed behind inference server, two most common type values are base64 and url.
Internally, WorkflowImageData is used. If you are a Workflow block developer, we advise checking out usage guide.
Last updated
Was this helpful?