Dynamic Zone¶
The DynamicZoneBlock
is a transformer block designed to simplify polygon
so it's geometrically convex and then reduce number of vertices to requested amount.
This block is best suited when Zone needs to be created based on shape of detected object
(i.e. basketball field, road segment, zebra crossing etc.)
Input detections should be filtered and contain only desired classes of interest.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/dynamic_zone@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
required_number_of_vertices |
int |
Keep simplifying polygon until number of vertices matches this number. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Check what blocks you can connect to Dynamic Zone
in version v1
.
- inputs:
Time in Zone
,Line Counter
,Time in Zone
,Image Contours
,Pixel Color Count
,Detections Filter
,Bounding Rectangle
,Path Deviation
,Instance Segmentation Model
,SIFT Comparison
,Detections Stitch
,Detections Classes Replacement
,Instance Segmentation Model
,Template Matching
,Detections Transformation
,Detections Stabilizer
,Distance Measurement
,Segment Anything 2 Model
,Path Deviation
,SIFT Comparison
,Detection Offset
,Line Counter
,Perspective Correction
- outputs:
Reference Path Visualization
,Line Counter
,Polygon Zone Visualization
,LMM For Classification
,Object Detection Model
,Triangle Visualization
,Trace Visualization
,Path Deviation
,Halo Visualization
,Clip Comparison
,Instance Segmentation Model
,Ellipse Visualization
,Email Notification
,Anthropic Claude
,Clip Comparison
,Dot Visualization
,Path Deviation
,VLM as Detector
,Classification Label Visualization
,Mask Visualization
,VLM as Classifier
,Perspective Correction
,Crop Visualization
,Grid Visualization
,VLM as Classifier
,Time in Zone
,Google Gemini
,Detections Consensus
,Line Counter Visualization
,Time in Zone
,Buffer
,Webhook Sink
,Florence-2 Model
,Keypoint Detection Model
,Color Visualization
,Bounding Box Visualization
,Cache Set
,Keypoint Detection Model
,YOLO-World Model
,Instance Segmentation Model
,VLM as Detector
,Polygon Visualization
,Florence-2 Model
,Object Detection Model
,Size Measurement
,OpenAI
,Circle Visualization
,Line Counter
,Label Visualization
,Corner Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Dynamic Zone
in version v1
has.
Bindings
-
input
predictions
(instance_segmentation_prediction
): .required_number_of_vertices
(integer
): Keep simplifying polygon until number of vertices matches this number.
-
output
zones
(list_of_values
): List of values of any type.
Example JSON definition of step Dynamic Zone
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/dynamic_zone@v1",
"predictions": "$segmentation.predictions",
"required_number_of_vertices": 4
}