Buffer¶
Class: BufferBlockV1
Source: inference.core.workflows.core_steps.fusion.buffer.v1.BufferBlockV1
Returns an array of the last length values passed to it. The newest
elements are added to the beginning of the array.
Useful for keeping a sliding window of images or detections for later processing, visualization, or comparison.
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/buffer@v1to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
length |
int |
The number of elements to keep in the buffer. Older elements will be removed.. | ❌ |
pad |
bool |
If True, the end of the buffer will be padded with None values so its size is always exactly length.. |
❌ |
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 Buffer in version v1.
- inputs:
VLM as Detector,Byte Tracker,Google Vision OCR,SAM 3,Overlap Filter,Detections Stabilizer,Image Preprocessing,LMM For Classification,Ellipse Visualization,Stitch Images,Triangle Visualization,Detections Combine,QR Code Generator,VLM as Classifier,Image Slicer,Background Color Visualization,Model Monitoring Inference Aggregator,Segment Anything 2 Model,Template Matching,Distance Measurement,Dot Visualization,EasyOCR,Halo Visualization,Data Aggregator,Slack Notification,Byte Tracker,Color Visualization,JSON Parser,Llama 3.2 Vision,QR Code Detection,Expression,Line Counter,Size Measurement,Email Notification,Delta Filter,Corner Visualization,Mask Visualization,Continue If,Time in Zone,Roboflow Custom Metadata,Stability AI Outpainting,Barcode Detection,Dominant Color,Time in Zone,Crop Visualization,VLM as Detector,Grid Visualization,Perspective Correction,Clip Comparison,Single-Label Classification Model,Contrast Equalization,Polygon Zone Visualization,CLIP Embedding Model,Bounding Box Visualization,Camera Focus,Icon Visualization,Image Blur,Time in Zone,Path Deviation,Environment Secrets Store,Anthropic Claude,Cosine Similarity,Multi-Label Classification Model,Dynamic Crop,Bounding Rectangle,Path Deviation,Detections Consensus,Model Comparison Visualization,Rate Limiter,Cache Get,Local File Sink,Identify Changes,Classification Label Visualization,Circle Visualization,SIFT Comparison,Image Contours,Relative Static Crop,Detections Filter,VLM as Classifier,Stability AI Inpainting,Moondream2,Velocity,OCR Model,Florence-2 Model,SIFT,Morphological Transformation,Detections Transformation,Reference Path Visualization,Gaze Detection,SIFT Comparison,Buffer,Polygon Visualization,Florence-2 Model,Image Slicer,Detection Offset,Clip Comparison,Perception Encoder Embedding Model,Image Convert Grayscale,OpenAI,Instance Segmentation Model,Line Counter,PTZ Tracking (ONVIF).md),Keypoint Detection Model,Object Detection Model,Google Gemini,Label Visualization,Email Notification,Byte Tracker,Trace Visualization,Dynamic Zone,YOLO-World Model,OpenAI,CogVLM,Detections Stitch,Stitch OCR Detections,Cache Set,Blur Visualization,CSV Formatter,Single-Label Classification Model,OpenAI,Detections Classes Replacement,Twilio SMS Notification,Absolute Static Crop,Seg Preview,Roboflow Dataset Upload,Roboflow Dataset Upload,Property Definition,Stability AI Image Generation,Webhook Sink,Depth Estimation,Dimension Collapse,Line Counter Visualization,Instance Segmentation Model,Multi-Label Classification Model,Pixelate Visualization,Image Threshold,Detections Merge,Keypoint Detection Model,LMM,Google Gemini,Identify Outliers,Pixel Color Count,SmolVLM2,Qwen2.5-VL,First Non Empty Or Default,Camera Calibration,Keypoint Visualization,Object Detection Model - outputs:
VLM as Detector,SAM 3,Cache Set,Classification Label Visualization,Time in Zone,Circle Visualization,Crop Visualization,VLM as Detector,OpenAI,Grid Visualization,LMM For Classification,Perspective Correction,VLM as Classifier,Ellipse Visualization,Clip Comparison,Triangle Visualization,Seg Preview,Roboflow Dataset Upload,Roboflow Dataset Upload,VLM as Classifier,Polygon Zone Visualization,Webhook Sink,Dot Visualization,Florence-2 Model,Bounding Box Visualization,Line Counter Visualization,Instance Segmentation Model,Reference Path Visualization,Halo Visualization,Buffer,Polygon Visualization,Florence-2 Model,Time in Zone,Clip Comparison,Instance Segmentation Model,Path Deviation,OpenAI,Color Visualization,Line Counter,Keypoint Detection Model,Object Detection Model,Keypoint Detection Model,Google Gemini,Anthropic Claude,Email Notification,Label Visualization,Google Gemini,Trace Visualization,Llama 3.2 Vision,Path Deviation,Line Counter,Detections Consensus,YOLO-World Model,Size Measurement,Email Notification,Corner Visualization,Mask Visualization,Time in Zone,Keypoint Visualization,Object Detection Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Buffer in version v1 has.
Bindings
-
input
data(Union[image,*,list_of_values]): Reference to step outputs at depth level n to be concatenated and moved into level n-1..
-
output
output(list_of_values): List of values of any type.
Example JSON definition of step Buffer in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/buffer@v1",
"data": "$steps.visualization",
"length": 5,
"pad": true
}