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@v1to 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:
Llama 3.2 Vision,SAM 3,Polygon Zone Visualization,Distance Measurement,Pixelate Visualization,Roboflow Custom Metadata,Trace Visualization,QR Code Detection,Detections Transformation,Image Threshold,Rate Limiter,Image Slicer,Icon Visualization,Stability AI Outpainting,Dynamic Zone,Clip Comparison,Model Comparison Visualization,Single-Label Classification Model,Cache Get,Stitch Images,Size Measurement,Florence-2 Model,Single-Label Classification Model,Environment Secrets Store,Relative Static Crop,Absolute Static Crop,SIFT Comparison,SAM 3,Moondream2,Florence-2 Model,LMM For Classification,Anthropic Claude,Image Blur,Stability AI Image Generation,Camera Calibration,Local File Sink,Keypoint Detection Model,VLM as Detector,First Non Empty Or Default,Detections Filter,Gaze Detection,Background Color Visualization,Keypoint Detection Model,Delta Filter,Multi-Label Classification Model,Google Gemini,Model Monitoring Inference Aggregator,Roboflow Dataset Upload,Byte Tracker,Instance Segmentation Model,VLM as Classifier,CSV Formatter,Motion Detection,Morphological Transformation,Data Aggregator,OpenAI,Barcode Detection,YOLO-World Model,JSON Parser,Clip Comparison,CogVLM,Expression,Identify Changes,CLIP Embedding Model,Path Deviation,Crop Visualization,Grid Visualization,Buffer,Bounding Rectangle,SIFT,SAM 3,Anthropic Claude,Time in Zone,Detection Offset,Qwen2.5-VL,SIFT Comparison,OpenAI,Line Counter,Detections Consensus,Cosine Similarity,Path Deviation,Blur Visualization,Perception Encoder Embedding Model,Dimension Collapse,Perspective Correction,Bounding Box Visualization,QR Code Generator,Velocity,Segment Anything 2 Model,Polygon Visualization,Dynamic Crop,Identify Outliers,LMM,OpenAI,Classification Label Visualization,Mask Visualization,Time in Zone,Google Gemini,Circle Visualization,Ellipse Visualization,Image Convert Grayscale,Time in Zone,Object Detection Model,OCR Model,SmolVLM2,Image Preprocessing,Color Visualization,Google Vision OCR,Keypoint Visualization,EasyOCR,Image Slicer,Property Definition,Line Counter,VLM as Detector,Email Notification,Detections Combine,Byte Tracker,Roboflow Dataset Upload,Overlap Filter,Triangle Visualization,Slack Notification,Halo Visualization,Detections Stabilizer,Corner Visualization,Object Detection Model,Dot Visualization,Image Contours,Detections Merge,Multi-Label Classification Model,Twilio SMS Notification,Seg Preview,Reference Path Visualization,Byte Tracker,Webhook Sink,PTZ Tracking (ONVIF).md),Detections Classes Replacement,Instance Segmentation Model,Detections Stitch,Contrast Equalization,Camera Focus,Stitch OCR Detections,Stability AI Inpainting,Line Counter Visualization,Cache Set,Template Matching,Email Notification,VLM as Classifier,OpenAI,Depth Estimation,Continue If,Background Subtraction,Label Visualization,Pixel Color Count,Dominant Color - 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"
}