Detections List Roll-Up¶
Class: DetectionsListRollUpBlockV1
Source: inference.core.workflows.core_steps.fusion.detections_list_rollup.v1.DetectionsListRollUpBlockV1
Rolls up dimensionality from children to parent detections
Useful in scenarios like: * rolling up results from a secondary model run on crops back to parent images * rolling up OCR results for dynamically cropped images
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/detections_list_rollup@v1to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
confidence_strategy |
str |
Strategy to use when merging confidence scores from child detections. Options are 'max', 'mean', or 'min'.. | ✅ |
overlap_threshold |
float |
Minimum overlap ratio (IoU) to consider when merging overlapping detections from child crops. A value of 0.0 merges any overlapping detections, while higher values require greater overlap to merge. Specify between 0.0 and 1.0. A value of 1.0 only merges completely overlapping detections.. | ✅ |
keypoint_merge_threshold |
float |
Keypoint distance (in pixels) to merge keypoint detections if the child detections contain keypoint data.. | ✅ |
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 Detections List Roll-Up in version v1.
- inputs:
Detections Classes Replacement,Byte Tracker,Instance Segmentation Model,ByteTrack Tracker,Google Vision OCR,PTZ Tracking (ONVIF),Identify Changes,Buffer,SAM 3,OCR Model,Time in Zone,Detections Stabilizer,VLM As Detector,SORT Tracker,OpenAI,OpenAI,Identify Outliers,Time in Zone,Mask Area Measurement,Time in Zone,EasyOCR,SAM 3,Path Deviation,Line Counter,Clip Comparison,Anthropic Claude,Google Gemini,OpenAI,Detections Stitch,Dynamic Zone,Velocity,Detections Consensus,Path Deviation,Detections Filter,Size Measurement,Detections Transformation,Dimension Collapse,Overlap Filter,Camera Focus,Anthropic Claude,Template Matching,SAM 3,Keypoint Detection Model,Detections Combine,Florence-2 Model,Motion Detection,Cosine Similarity,Google Gemini,Detections Merge,Bounding Rectangle,Detections List Roll-Up,Camera Focus,Detection Offset,Detection Event Log,Perspective Correction,Instance Segmentation Model,Gaze Detection,Florence-2 Model,Anthropic Claude,Moondream2,Google Gemini,Clip Comparison,Byte Tracker,YOLO-World Model,Seg Preview,Llama 3.2 Vision,Keypoint Detection Model,Object Detection Model,VLM As Detector,Object Detection Model,Byte Tracker,Dynamic Crop,OC-SORT Tracker,Segment Anything 2 Model - outputs:
Detections Classes Replacement,Byte Tracker,Email Notification,Instance Segmentation Model,PTZ Tracking (ONVIF),ByteTrack Tracker,Grid Visualization,Model Comparison Visualization,Roboflow Dataset Upload,Trace Visualization,Keypoint Visualization,Twilio SMS/MMS Notification,Buffer,SAM 3,Model Monitoring Inference Aggregator,Reference Path Visualization,Cache Set,Halo Visualization,VLM As Classifier,Time in Zone,Detections Stabilizer,VLM As Detector,SORT Tracker,Crop Visualization,OpenAI,OpenAI,Label Visualization,Pixelate Visualization,Classification Label Visualization,Email Notification,Stitch OCR Detections,Corner Visualization,Time in Zone,Mask Area Measurement,Time in Zone,Stitch OCR Detections,LMM For Classification,SAM 3,Path Deviation,Line Counter,Clip Comparison,Background Color Visualization,Anthropic Claude,Google Gemini,Halo Visualization,Roboflow Custom Metadata,OpenAI,Ellipse Visualization,Detections Stitch,Dynamic Zone,VLM As Classifier,Heatmap Visualization,Velocity,Detections Consensus,Triangle Visualization,Size Measurement,Detections Filter,Detections Transformation,Color Visualization,Overlap Filter,Anthropic Claude,Dot Visualization,SAM 3,Keypoint Detection Model,Detections Combine,Polygon Visualization,Florence-2 Model,Motion Detection,Circle Visualization,Blur Visualization,Google Gemini,Detections Merge,Bounding Rectangle,Icon Visualization,Detections List Roll-Up,Camera Focus,Stability AI Inpainting,Detection Offset,Line Counter,Polygon Visualization,Detection Event Log,Webhook Sink,Polygon Zone Visualization,Florence-2 Model,Perspective Correction,Instance Segmentation Model,Anthropic Claude,Mask Visualization,Google Gemini,Roboflow Dataset Upload,Distance Measurement,Byte Tracker,Dynamic Crop,Llama 3.2 Vision,Clip Comparison,YOLO-World Model,Seg Preview,Keypoint Detection Model,Object Detection Model,VLM As Detector,Object Detection Model,Byte Tracker,Line Counter Visualization,Path Deviation,OC-SORT Tracker,Bounding Box Visualization,Segment Anything 2 Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Detections List Roll-Up in version v1 has.
Bindings
-
input
parent_detection(Union[object_detection_prediction,keypoint_detection_prediction,instance_segmentation_prediction]): The parent detection the dimensionality inherits from..child_detections(list_of_values): A list of child detections resulting from higher dimensionality, such as predictions made on dynamic crops. Use the "Dimension Collapse" to reduce the higher dimensionality result to one that can be used with this. Example: Prediction -> Dimension Collapse -> Detections List Roll-Up.confidence_strategy(list_of_values): Strategy to use when merging confidence scores from child detections. Options are 'max', 'mean', or 'min'..overlap_threshold(float_zero_to_one): Minimum overlap ratio (IoU) to consider when merging overlapping detections from child crops. A value of 0.0 merges any overlapping detections, while higher values require greater overlap to merge. Specify between 0.0 and 1.0. A value of 1.0 only merges completely overlapping detections..keypoint_merge_threshold(float): Keypoint distance (in pixels) to merge keypoint detections if the child detections contain keypoint data..
-
output
rolled_up_detections(Union[instance_segmentation_prediction,object_detection_prediction,keypoint_detection_prediction]): Prediction with detected bounding boxes and segmentation masks in form of sv.Detections(...) object ifinstance_segmentation_predictionor Prediction with detected bounding boxes in form of sv.Detections(...) object ifobject_detection_predictionor Prediction with detected bounding boxes and detected keypoints in form of sv.Detections(...) object ifkeypoint_detection_prediction.crop_zones(list_of_values): List of values of any type.
Example JSON definition of step Detections List Roll-Up in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/detections_list_rollup@v1",
"parent_detection": "<block_does_not_provide_example>",
"child_detections": "<block_does_not_provide_example>",
"confidence_strategy": "min",
"overlap_threshold": 0.0,
"keypoint_merge_threshold": 0.0
}