First Non Empty Or Default¶
Version v1
¶
Takes input data which may not be present due to filtering or conditional execution and fills with default value to make it compliant with further processing.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/first_non_empty_or_default@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
The unique name of this step.. | ❌ |
default |
Any |
Default value that will be placed whenever there is no data found. | ❌ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Check what blocks you can connect to First Non Empty Or Default
in version v1
.
- inputs:
Color Visualization
,Continue If
,Detections Filter
,Detections Consensus
,Image Preprocessing
,Mask Visualization
,Model Comparison Visualization
,Image Slicer
,Byte Tracker
,Keypoint Detection Model
,OCR Model
,Label Visualization
,Time in zone
,Relative Static Crop
,Polygon Visualization
,Camera Focus
,Detections Classes Replacement
,Florence-2 Model
,LMM For Classification
,Crop Visualization
,Dimension Collapse
,Multi-Label Classification Model
,Line Counter
,Line Counter
,Google Vision OCR
,Clip Comparison
,Roboflow Dataset Upload
,Barcode Detection
,Circle Visualization
,SIFT Comparison
,JSON Parser
,Path deviation
,CogVLM
,Anthropic Claude
,OpenAI
,Object Detection Model
,Image Convert Grayscale
,Pixel Color Count
,Line Counter Visualization
,Perspective Correction
,Background Color Visualization
,Detections Stitch
,Bounding Box Visualization
,Polygon Zone Visualization
,Dynamic Zone
,Pixelate Visualization
,Triangle Visualization
,Bounding Rectangle
,VLM as Classifier
,Blur Visualization
,Image Contours
,Path deviation
,Dot Visualization
,Corner Visualization
,Detection Offset
,Clip Comparison
,Image Blur
,Expression
,Dynamic Crop
,YOLO-World Model
,Halo Visualization
,Segment Anything 2 Model
,First Non Empty Or Default
,Image Threshold
,QR Code Detection
,SIFT
,LMM
,OpenAI
,SIFT Comparison
,VLM as Detector
,Google Gemini
,Byte Tracker
,Size Measurement
,Stability AI Inpainting
,Detections Transformation
,Absolute Static Crop
,Distance Measurement
,Property Definition
,Dominant Color
,Template Matching
,Ellipse Visualization
,Time in zone
,Roboflow Dataset Upload
,Instance Segmentation Model
,Single-Label Classification Model
,Roboflow Custom Metadata
,Stitch Images
- outputs:
Color Visualization
,Continue If
,Detections Filter
,Detections Consensus
,Image Preprocessing
,Mask Visualization
,Model Comparison Visualization
,Image Slicer
,Byte Tracker
,Keypoint Detection Model
,OCR Model
,Label Visualization
,Time in zone
,Relative Static Crop
,Polygon Visualization
,Camera Focus
,Florence-2 Model
,Detections Classes Replacement
,LMM For Classification
,Crop Visualization
,Dimension Collapse
,Multi-Label Classification Model
,Line Counter
,Line Counter
,Google Vision OCR
,Clip Comparison
,Roboflow Dataset Upload
,Barcode Detection
,Circle Visualization
,SIFT Comparison
,JSON Parser
,Path deviation
,CogVLM
,Anthropic Claude
,OpenAI
,Pixel Color Count
,Image Convert Grayscale
,Object Detection Model
,Line Counter Visualization
,Perspective Correction
,Background Color Visualization
,Detections Stitch
,Bounding Box Visualization
,Polygon Zone Visualization
,Pixelate Visualization
,Dynamic Zone
,Triangle Visualization
,Bounding Rectangle
,VLM as Classifier
,Blur Visualization
,Image Contours
,Path deviation
,Dot Visualization
,Corner Visualization
,Detection Offset
,Clip Comparison
,Image Blur
,Expression
,Dynamic Crop
,YOLO-World Model
,Halo Visualization
,Segment Anything 2 Model
,First Non Empty Or Default
,Image Threshold
,QR Code Detection
,SIFT
,LMM
,OpenAI
,SIFT Comparison
,VLM as Detector
,Google Gemini
,Byte Tracker
,Size Measurement
,Stability AI Inpainting
,Detections Transformation
,Absolute Static Crop
,Distance Measurement
,Property Definition
,Dominant Color
,Template Matching
,Ellipse Visualization
,Time in zone
,Roboflow Dataset Upload
,Instance Segmentation Model
,Roboflow Custom Metadata
,Single-Label Classification Model
,Stitch Images
The available connections depend on its binding kinds. Check what binding kinds
First Non Empty Or Default
in version v1
has.
Bindings
Example JSON definition of step First Non Empty Or Default
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/first_non_empty_or_default@v1",
"data": "$steps.my_step.predictions",
"default": "empty"
}