Skip to content

Pixelate Visualization

Version v1

The PixelateVisualization block pixelates detected objects in an image using Supervision's sv.PixelateAnnotator.

Type identifier

Use the following identifier in step "type" field: roboflow_core/pixelate_visualization@v1to add the block as as step in your workflow.

Properties

Name Type Description Refs
name str The unique name of this step..
copy_image bool Duplicate the image contents (vs overwriting the image in place). Deselect for chained visualizations that should stack on previous ones where the intermediate state is not needed..
pixel_size int Size of the pixelation..

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 Pixelate Visualization in version v1.

The available connections depend on its binding kinds. Check what binding kinds Pixelate Visualization in version v1 has.

Bindings
Example JSON definition of step Pixelate Visualization in version v1
{
    "name": "<your_step_name_here>",
    "type": "roboflow_core/pixelate_visualization@v1",
    "predictions": "$steps.object_detection_model.predictions",
    "image": "$inputs.image",
    "copy_image": true,
    "pixel_size": 20
}