Delta Filter¶
Class: DeltaFilterBlockV1
Source: inference.core.workflows.core_steps.flow_control.delta_filter.v1.DeltaFilterBlockV1
The Delta Filter is a flow control block that triggers workflow steps only when an input value changes. It avoids redundant processing and optimizes system efficiency.
+----------------+ (value changes) +----------------+
| Previous Value | -----------------------> | Next Steps |
+----------------+ +----------------+
Key Features:
Change Detection: Tracks input values and only proceeds when a change is detected. Dynamic Value Support: Handles various input types (e.g., numbers, strings). Context-Aware Caching: Tracks changes on a per-video basis using video_identifier.
Usage Instructions: Input Configuration: Set "Input Value" to reference the value to monitor (e.g., counter). Next Steps Setup: Define steps to execute on value change.
Example Use Case:
A video analysis workflow counts people in the zone. When the count changes, Delta Filter triggers downstream steps (e.g., setting variable in OPC), minimizing redundant processing.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/delta_filter@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Delta Filter
in version v1
.
- inputs:
Crop Visualization
,SIFT
,Stitch OCR Detections
,Blur Visualization
,PTZ Tracking (ONVIF)
.md),Cache Set
,Property Definition
,Camera Focus
,Mask Visualization
,VLM as Classifier
,Object Detection Model
,Keypoint Detection Model
,Image Preprocessing
,Qwen2.5-VL
,Object Detection Model
,Bounding Rectangle
,Cache Get
,JSON Parser
,SmolVLM2
,LMM
,Polygon Zone Visualization
,QR Code Generator
,Size Measurement
,Florence-2 Model
,Moondream2
,Template Matching
,Label Visualization
,Pixel Color Count
,Segment Anything 2 Model
,Stability AI Image Generation
,Keypoint Detection Model
,Relative Static Crop
,Slack Notification
,Corner Visualization
,Multi-Label Classification Model
,Overlap Filter
,Image Blur
,Gaze Detection
,Model Comparison Visualization
,VLM as Detector
,Time in Zone
,Image Threshold
,Roboflow Dataset Upload
,CogVLM
,Byte Tracker
,Barcode Detection
,Single-Label Classification Model
,First Non Empty Or Default
,Polygon Visualization
,Stability AI Outpainting
,Keypoint Visualization
,Time in Zone
,Grid Visualization
,Delta Filter
,OpenAI
,Florence-2 Model
,Image Slicer
,Instance Segmentation Model
,Twilio SMS Notification
,Detections Stitch
,Identify Changes
,Continue If
,Dynamic Crop
,Anthropic Claude
,QR Code Detection
,Line Counter
,Line Counter
,Rate Limiter
,LMM For Classification
,Line Counter Visualization
,Color Visualization
,Image Contours
,Image Convert Grayscale
,Circle Visualization
,Google Gemini
,Data Aggregator
,Cosine Similarity
,Absolute Static Crop
,Expression
,Dynamic Zone
,Multi-Label Classification Model
,Environment Secrets Store
,Byte Tracker
,Detections Consensus
,Stitch Images
,Detections Filter
,Trace Visualization
,Roboflow Custom Metadata
,OCR Model
,Detections Transformation
,Clip Comparison
,YOLO-World Model
,CLIP Embedding Model
,Halo Visualization
,Perspective Correction
,Buffer
,Stability AI Inpainting
,Velocity
,Webhook Sink
,Distance Measurement
,VLM as Detector
,Perception Encoder Embedding Model
,Triangle Visualization
,Background Color Visualization
,Detections Stabilizer
,Byte Tracker
,Path Deviation
,Icon Visualization
,SIFT Comparison
,Pixelate Visualization
,CSV Formatter
,Instance Segmentation Model
,Llama 3.2 Vision
,Google Vision OCR
,Reference Path Visualization
,VLM as Classifier
,Image Slicer
,Identify Outliers
,Depth Estimation
,Roboflow Dataset Upload
,Detection Offset
,OpenAI
,Classification Label Visualization
,Dot Visualization
,Email Notification
,Local File Sink
,OpenAI
,Single-Label Classification Model
,Bounding Box Visualization
,Camera Calibration
,Detections Classes Replacement
,Ellipse Visualization
,Detections Merge
,Path Deviation
,Model Monitoring Inference Aggregator
,Dimension Collapse
,SIFT Comparison
,Dominant Color
,Clip Comparison
- outputs: None
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Delta Filter
in version v1
has.
Bindings
Example JSON definition of step Delta Filter
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/delta_filter@v1",
"image": "<block_does_not_provide_example>",
"value": "$steps.line_counter.count_in",
"next_steps": "$steps.write_to_csv"
}