Skip to content

Dynamic Zone

Version v1

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@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str The unique name of 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.

The available connections depend on its binding kinds. Check what binding kinds Dynamic Zone in version v1 has.

Bindings
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
}