Detections Combine¶
Class: DetectionsCombineBlockV1
Source: inference.core.workflows.core_steps.transformations.detections_combine.v1.DetectionsCombineBlockV1
This block combines two sets of predictions into a single set of predictions.
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/detections_combine@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 Detections Combine in version v1.
- inputs:
Detections Consensus,Path Deviation,SAM 3,Perspective Correction,Velocity,Detections Transformation,Segment Anything 2 Model,Dynamic Crop,Dynamic Zone,SAM 3,Time in Zone,Moondream2,Time in Zone,Object Detection Model,OCR Model,Google Vision OCR,VLM as Detector,EasyOCR,Line Counter,VLM as Detector,Detections Combine,Detections Filter,Byte Tracker,Overlap Filter,Object Detection Model,Detections Stabilizer,Detections Merge,Byte Tracker,Instance Segmentation Model,Seg Preview,Motion Detection,Byte Tracker,PTZ Tracking (ONVIF).md),Detections Classes Replacement,Instance Segmentation Model,Detections Stitch,YOLO-World Model,Template Matching,Path Deviation,Bounding Rectangle,SAM 3,Time in Zone,Detection Offset - outputs:
Line Counter,Detections Consensus,Path Deviation,Model Monitoring Inference Aggregator,Roboflow Dataset Upload,Blur Visualization,Dot Visualization,Detections Merge,Perspective Correction,Byte Tracker,Bounding Box Visualization,Pixelate Visualization,Distance Measurement,Trace Visualization,Roboflow Custom Metadata,Velocity,Byte Tracker,Detections Transformation,Segment Anything 2 Model,PTZ Tracking (ONVIF).md),Polygon Visualization,Dynamic Crop,Icon Visualization,Detections Classes Replacement,Model Comparison Visualization,Dynamic Zone,Detections Stitch,Size Measurement,Florence-2 Model,Mask Visualization,Stitch OCR Detections,Stability AI Inpainting,Time in Zone,Circle Visualization,Florence-2 Model,Ellipse Visualization,Time in Zone,Path Deviation,Crop Visualization,Color Visualization,Bounding Rectangle,Line Counter,Detections Combine,Label Visualization,Byte Tracker,Roboflow Dataset Upload,Overlap Filter,Triangle Visualization,Background Color Visualization,Detections Filter,Time in Zone,Detection Offset,Halo Visualization,Detections Stabilizer,Corner Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Detections Combine in version v1 has.
Bindings
-
input
prediction_one(Union[instance_segmentation_prediction,object_detection_prediction]): First set of predictions..prediction_two(Union[instance_segmentation_prediction,object_detection_prediction]): Second set of predictions..
-
output
predictions(Union[object_detection_prediction,instance_segmentation_prediction]): Prediction with detected bounding boxes in form of sv.Detections(...) object ifobject_detection_predictionor Prediction with detected bounding boxes and segmentation masks in form of sv.Detections(...) object ifinstance_segmentation_prediction.
Example JSON definition of step Detections Combine in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/detections_combine@v1",
"prediction_one": "$steps.my_object_detection_model.predictions",
"prediction_two": "$steps.my_object_detection_model.predictions"
}