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:
VLM as Detector,Byte Tracker,Object Detection Model,Google Vision OCR,Seg Preview,Instance Segmentation Model,OCR Model,Dynamic Zone,Segment Anything 2 Model,Detections Classes Replacement,Detection Offset,Time in Zone,YOLO-World Model,Path Deviation,PTZ Tracking (ONVIF).md),Template Matching,Line Counter,Path Deviation,Time in Zone,Velocity,Instance Segmentation Model,Detections Stabilizer,Bounding Rectangle,Time in Zone,VLM as Detector,Object Detection Model,Overlap Filter,Moondream2,Dynamic Crop,Detections Consensus,Byte Tracker,Detections Combine,Detections Filter,Detections Merge,Detections Transformation,Perspective Correction,EasyOCR,Detections Stitch,Byte Tracker - outputs:
Size Measurement,Line Counter,Line Counter,Path Deviation,Velocity,Byte Tracker,Model Monitoring Inference Aggregator,Time in Zone,Polygon Visualization,Detections Stabilizer,Icon Visualization,Bounding Rectangle,Time in Zone,Blur Visualization,Trace Visualization,Color Visualization,Halo Visualization,Overlap Filter,Bounding Box Visualization,Dynamic Zone,Triangle Visualization,Background Color Visualization,Segment Anything 2 Model,Dynamic Crop,Dot Visualization,Pixelate Visualization,Stability AI Inpainting,Byte Tracker,Detections Consensus,Corner Visualization,Detections Classes Replacement,Ellipse Visualization,Detections Combine,Time in Zone,Detection Offset,Crop Visualization,Roboflow Custom Metadata,Detections Filter,Mask Visualization,Detections Merge,Florence-2 Model,Detections Transformation,Roboflow Dataset Upload,Stitch OCR Detections,Perspective Correction,Path Deviation,Distance Measurement,Label Visualization,PTZ Tracking (ONVIF).md),Model Comparison Visualization,Circle Visualization,Roboflow Dataset Upload,Detections Stitch,Florence-2 Model,Byte Tracker
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[object_detection_prediction,instance_segmentation_prediction]): First set of predictions..prediction_two(Union[object_detection_prediction,instance_segmentation_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"
}