Blur Visualization¶
Class: BlurVisualizationBlockV1
Source: inference.core.workflows.core_steps.visualizations.blur.v1.BlurVisualizationBlockV1
Apply blur effects to detected objects in an image, obscuring their details while preserving the background, useful for privacy protection, content filtering, or visual emphasis.
How This Block Works¶
This block takes an image and detection predictions and applies a blur effect to the detected objects, leaving the background unchanged. The block:
- Takes an image and predictions as input
- Identifies detected regions from bounding boxes or segmentation masks
- Applies a blur effect (using average pooling) to the detected object regions
- Preserves the background and areas outside detected objects unchanged
- Returns an annotated image where detected objects are blurred, while the rest of the image remains sharp
The block works with both object detection predictions (using bounding boxes) and instance segmentation predictions (using masks). When masks are available, it blurs the exact shape of detected objects; otherwise, it blurs rectangular bounding box regions. The blur intensity is controlled by the kernel size parameter, where larger kernel sizes create stronger blur effects. This creates a visual effect that obscures or anonymizes detected objects while maintaining context from the surrounding image, making it ideal for privacy protection, content filtering, or focusing attention on the background.
Common Use Cases¶
- Privacy Protection and Anonymization: Blur faces, people, license plates, or other sensitive information in images or videos to protect privacy, comply with data protection regulations, or anonymize content before sharing or publishing
- Content Filtering and Moderation: Obscure inappropriate or sensitive content in images or videos for content moderation workflows, safe content previews, or user-generated content filtering
- Visual Emphasis and Focus: Blur detected objects to draw attention to other parts of the image, create visual contrast between blurred foreground objects and sharp backgrounds, or emphasize specific elements in composition
- Product Photography and E-commerce: Blur detected distracting elements or secondary products in images to keep the main subject sharp and prominent for product photography, catalog creation, or e-commerce image preparation
- Security and Surveillance: Anonymize people, vehicles, or other identifiable elements in security footage or surveillance images while preserving scene context for analysis, reporting, or public sharing
- Documentation and Reporting: Create anonymized or censored versions of images for reports, documentation, or case studies where sensitive information needs to be obscured but overall context should remain visible
Connecting to Other Blocks¶
The annotated image from this block can be connected to:
- Other visualization blocks (e.g., Label Visualization, Bounding Box Visualization, Polygon Visualization) to add additional annotations on top of blurred objects for comprehensive visualization or to indicate what was blurred
- Data storage blocks (e.g., Local File Sink, CSV Formatter, Roboflow Dataset Upload) to save blurred images for documentation, reporting, or archiving privacy-protected content
- Webhook blocks to send blurred images to external systems, APIs, or web applications for content moderation, privacy-compliant sharing, or anonymized analysis
- Notification blocks (e.g., Email Notification, Slack Notification) to send blurred images as privacy-protected visual evidence in alerts or reports
- Video output blocks to create annotated video streams or recordings with blurred objects for live monitoring, privacy-compliant video processing, or post-processing analysis
Type identifier¶
Use the following identifier in step "type" field: roboflow_core/blur_visualization@v1to add the block as
as step in your workflow.
Properties¶
| Name | Type | Description | Refs |
|---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | โ |
copy_image |
bool |
Enable this option to create a copy of the input image for visualization, preserving the original. Use this when stacking multiple visualizations.. | โ |
kernel_size |
int |
Size of the blur kernel used for average pooling. Larger values create stronger blur effects, making objects more obscured. Smaller values create subtle blur effects. Typical values range from 5 (light blur) to 51 (strong blur). Must be an odd number for optimal blurring performance.. | โ |
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 Blur Visualization in version v1.
- inputs:
SAM 3,Circle Visualization,Roboflow Asset Library Attributes,Twilio SMS Notification,Path Deviation,Path Deviation,Image Blur,S3 Sink,Email Notification,Overlap Filter,Reference Path Visualization,Camera Focus,SIFT Comparison,PTZ Tracking (ONVIF),Event Writer,Identify Changes,Slack Notification,SAM2 Video Tracker,Halo Visualization,VLM As Classifier,Image Stack,Bounding Rectangle,Object Detection Model,Dot Visualization,Byte Tracker,SAM 3,Image Slicer,Label Visualization,Background Color Visualization,Email Notification,SAM 3 Interactive,OCR Model,Velocity,Pixelate Visualization,Mask Area Measurement,Heatmap Visualization,JSON Parser,Track Class Lock,Stitch Images,Identify Outliers,Time in Zone,Morphological Transformation,EasyOCR,YOLO-World Model,Blur Visualization,Trace Visualization,Detection Event Log,ByteTrack Tracker,Moondream2,Camera Focus,Detections List Roll-Up,Corner Visualization,Detections Stabilizer,Pixel Color Count,Model Comparison Visualization,MQTT Writer,SIFT Comparison,Webhook Sink,Model Monitoring Inference Aggregator,SAM 3,Google Vision OCR,Image Threshold,Image Contours,Local File Sink,Motion Detection,Byte Tracker,Instance Segmentation Model,Polygon Visualization,Polygon Visualization,SIFT,Segment Anything 2 Model,Time in Zone,Stability AI Image Generation,Classification Label Visualization,Line Counter Visualization,Mask Edge Snap,Line Counter,Relative Static Crop,Per-Class Confidence Filter,Instance Segmentation Model,Keypoint Detection Model,Grid Visualization,Image Preprocessing,Keypoint Visualization,Template Matching,Gaze Detection,OPC UA Writer Sink,Instance Segmentation Model,Icon Visualization,Color Visualization,Dynamic Zone,Detections Combine,Triangle Visualization,Seg Preview,QR Code Generator,Contrast Enhancement,Roboflow Dataset Upload,Absolute Static Crop,Dynamic Crop,Stability AI Inpainting,Background Subtraction,Object Detection Model,Bounding Box Visualization,Polygon Zone Visualization,Stability AI Outpainting,Detections Transformation,Crop Visualization,BoT-SORT Tracker,OC-SORT Tracker,Image Convert Grayscale,Byte Tracker,Mask Visualization,Halo Visualization,Image Slicer,Detections Stitch,Detection Offset,Distance Measurement,SORT Tracker,Perspective Correction,Twilio SMS/MMS Notification,Text Display,Morphological Transformation,Roboflow Vision Events,Microsoft SQL Server Sink,VLM As Classifier,Line Counter,Instance Segmentation Model,Roboflow Dataset Upload,VLM As Detector,Depth Estimation,Detections Consensus,Roboflow Custom Metadata,Contrast Equalization,Object Detection Model,Detections Filter,Camera Calibration,Ellipse Visualization,Detections Merge,Detections Classes Replacement,VLM As Detector,Keypoint Detection Model,SAM3 Video Tracker,Keypoint Detection Model,Time in Zone - outputs:
MoonshotAI Kimi,Image Blur,SmolVLM2,Reference Path Visualization,Event Writer,SAM2 Video Tracker,VLM As Classifier,Halo Visualization,CLIP Embedding Model,Image Stack,Clip Comparison,Google Gemma,Qwen 3.6 API,Object Detection Model,Dot Visualization,Label Visualization,Background Color Visualization,Llama 3.2 Vision,SAM 3 Interactive,Pixelate Visualization,Qwen3-VL,Google Gemini,Track Class Lock,Anthropic Claude,OpenAI,Trace Visualization,Llama 3.2 Vision,ByteTrack Tracker,Clip Comparison,Camera Focus,GLM-OCR,OpenAI,Qwen3.5,Buffer,QR Code Detection,SIFT Comparison,Image Contours,Motion Detection,Google Gemini,MoonshotAI Kimi,Polygon Visualization,SIFT,Classification Label Visualization,Multi-Label Classification Model,Instance Segmentation Model,Keypoint Detection Model,Template Matching,Keypoint Visualization,Instance Segmentation Model,Icon Visualization,Seg Preview,Dynamic Crop,Stability AI Inpainting,Bounding Box Visualization,BoT-SORT Tracker,Multi-Label Classification Model,Polygon Zone Visualization,Crop Visualization,Stability AI Outpainting,Image Convert Grayscale,Mask Visualization,Halo Visualization,Detections Stitch,SORT Tracker,Barcode Detection,Text Display,Anthropic Claude,Morphological Transformation,VLM As Classifier,Roboflow Dataset Upload,VLM As Detector,Object Detection Model,Ellipse Visualization,Keypoint Detection Model,SAM3 Video Tracker,SAM 3,Circle Visualization,Semantic Segmentation Model,Email Notification,Camera Focus,Single-Label Classification Model,SAM 3,Image Slicer,LMM For Classification,Dominant Color,OCR Model,Heatmap Visualization,Google Gemma API,OpenAI,Stitch Images,Morphological Transformation,EasyOCR,Single-Label Classification Model,YOLO-World Model,Blur Visualization,Moondream2,Florence-2 Model,Google Gemini,Corner Visualization,OpenRouter,Detections Stabilizer,Pixel Color Count,Model Comparison Visualization,SAM 3,Google Vision OCR,Byte Tracker,Image Threshold,Instance Segmentation Model,LMM,Single-Label Classification Model,Polygon Visualization,Segment Anything 2 Model,Time in Zone,Mask Edge Snap,Line Counter Visualization,Stability AI Image Generation,CogVLM,Relative Static Crop,Qwen3.5-VL,Image Preprocessing,Gaze Detection,Anthropic Claude,Color Visualization,Triangle Visualization,Roboflow Dataset Upload,Contrast Enhancement,Absolute Static Crop,Qwen 3.5 API,Background Subtraction,Multi-Label Classification Model,OC-SORT Tracker,OpenAI,Image Slicer,Semantic Segmentation Model,Qwen-VL,Florence-2 Model,Perspective Correction,Roboflow Vision Events,Twilio SMS/MMS Notification,Perception Encoder Embedding Model,Instance Segmentation Model,Depth Estimation,Contrast Equalization,Camera Calibration,VLM As Detector,Qwen2.5-VL,Keypoint Detection Model,Object Detection Model
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Blur Visualization in version v1 has.
Bindings
-
input
image(image): The image to visualize on..copy_image(boolean): Enable this option to create a copy of the input image for visualization, preserving the original. Use this when stacking multiple visualizations..predictions(Union[object_detection_prediction,keypoint_detection_prediction,rle_instance_segmentation_prediction,instance_segmentation_prediction]): Model predictions to visualize..kernel_size(integer): Size of the blur kernel used for average pooling. Larger values create stronger blur effects, making objects more obscured. Smaller values create subtle blur effects. Typical values range from 5 (light blur) to 51 (strong blur). Must be an odd number for optimal blurring performance..
-
output
image(image): Image in workflows.
Example JSON definition of step Blur Visualization in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/blur_visualization@v1",
"image": "$inputs.image",
"copy_image": true,
"predictions": "$steps.object_detection_model.predictions",
"kernel_size": 15
}