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