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:
Florence-2 Model,Detections Combine,Seg Preview,Segment Anything 2 Model,Bounding Rectangle,Line Counter,Clip Comparison,Byte Tracker,SAM 3,Detections Stabilizer,Path Deviation,Google Gemini,Dimension Collapse,Detections Classes Replacement,OpenAI,Moondream2,Keypoint Detection Model,Detection Offset,Detections Transformation,Google Vision OCR,Florence-2 Model,Camera Focus,Template Matching,Object Detection Model,Gaze Detection,Cosine Similarity,Clip Comparison,OpenAI,Time in Zone,Keypoint Detection Model,Instance Segmentation Model,Overlap Filter,Mask Area Measurement,EasyOCR,Anthropic Claude,Google Gemini,Perspective Correction,Object Detection Model,YOLO-World Model,Google Gemini,Detection Event Log,Instance Segmentation Model,Anthropic Claude,Time in Zone,VLM As Detector,Dynamic Zone,Path Deviation,Detections Filter,Byte Tracker,Size Measurement,Detections Stitch,OCR Model,Detections Consensus,Detections Merge,Motion Detection,Anthropic Claude,Velocity,Detections List Roll-Up,SAM 3,VLM As Detector,SAM 3,Llama 3.2 Vision,PTZ Tracking (ONVIF),Camera Focus,Identify Outliers,Identify Changes,Dynamic Crop,Time in Zone,Byte Tracker,Buffer,OpenAI - outputs:
Florence-2 Model,Detections Combine,Trace Visualization,Roboflow Dataset Upload,Seg Preview,Segment Anything 2 Model,Classification Label Visualization,Bounding Rectangle,Line Counter,Clip Comparison,Ellipse Visualization,Line Counter,Byte Tracker,SAM 3,Distance Measurement,Detections Stabilizer,Crop Visualization,Triangle Visualization,Path Deviation,Roboflow Dataset Upload,Stitch OCR Detections,Grid Visualization,Twilio SMS/MMS Notification,Google Gemini,Reference Path Visualization,VLM As Classifier,Detections Classes Replacement,Icon Visualization,OpenAI,Keypoint Detection Model,Detection Offset,Florence-2 Model,Detections Transformation,Pixelate Visualization,Model Comparison Visualization,Object Detection Model,Model Monitoring Inference Aggregator,Background Color Visualization,Clip Comparison,Color Visualization,Polygon Zone Visualization,OpenAI,Time in Zone,Halo Visualization,Keypoint Detection Model,Keypoint Visualization,Instance Segmentation Model,Overlap Filter,Mask Area Measurement,Polygon Visualization,Anthropic Claude,Google Gemini,LMM For Classification,Webhook Sink,Perspective Correction,Object Detection Model,Circle Visualization,Blur Visualization,Dot Visualization,YOLO-World Model,Heatmap Visualization,Google Gemini,Detection Event Log,Email Notification,Instance Segmentation Model,Anthropic Claude,Time in Zone,VLM As Detector,Mask Visualization,Dynamic Zone,Path Deviation,Detections Filter,Byte Tracker,Size Measurement,Halo Visualization,Detections Stitch,Label Visualization,Detections Consensus,Detections Merge,Stability AI Inpainting,Motion Detection,Anthropic Claude,Corner Visualization,Roboflow Custom Metadata,Stitch OCR Detections,Cache Set,Polygon Visualization,Velocity,Detections List Roll-Up,SAM 3,VLM As Detector,Line Counter Visualization,Bounding Box Visualization,SAM 3,Llama 3.2 Vision,PTZ Tracking (ONVIF),Camera Focus,VLM As Classifier,Email Notification,Dynamic Crop,Time in Zone,Byte Tracker,Buffer,OpenAI
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[keypoint_detection_prediction,instance_segmentation_prediction,object_detection_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
}