Use Condition to Build Computer Vision Pipelines and Applications

Workflows allows you to integrate Condition with models, logic, and applications.

Connect Condition to other blocks to build a custom workflow

Create a branch of logic that runs only when a specified condition is met. This block is the "if statement" in Workflows. This block is responsible for flow-control in execution graph based on the condition defined in its body. Right now, this block is only capable to make conditions based on output of binary operators that takes two operands. *The `Condition` block only works when a single image is provided to the input of the `workflow` (or more precisely, both `left` and `right` if provided with reference, then the reference can only hold value for a result of operation made against single input). This is to prevent a situation when evaluation of condition for multiple images yield different execution paths.*
Flow Control

Condition

Control the flow of a workflow based on the result of a step.

Build a Custom Vision AI Application

Connect pre-trained models, open source models, LLM APIs, advanced logic, and external applications. Deploy as an API endpoint, on-prem, or at the edge.
Get Started

Find Other Blocks in the Flow Control Category

No items found.
This is some text inside of a div block.

Explore Popular Combinations Using Condition

No items found.

Customize Your Pipeline

Connect models from OpenAI or Meta AI, applications like Slack or Pager Duty, and logic like filtering or cropping.
View All Blocks