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:
Detections Filter,Absolute Static Crop,VLM As Classifier,Gaze Detection,Triangle Visualization,Byte Tracker,EasyOCR,Model Comparison Visualization,Detection Event Log,Track Class Lock,YOLO-World Model,OC-SORT Tracker,Heatmap Visualization,Stitch Images,Keypoint Visualization,Webhook Sink,Detections Stabilizer,QR Code Generator,Instance Segmentation Model,VLM As Detector,SAM2 Video Tracker,Twilio SMS/MMS Notification,Line Counter,Distance Measurement,Ellipse Visualization,Keypoint Detection Model,Pixelate Visualization,Detections Transformation,Corner Visualization,Template Matching,Bounding Rectangle,JSON Parser,Velocity,Per-Class Confidence Filter,Roboflow Visual Search,Morphological Transformation,Color Visualization,Roboflow Dataset Upload,Morphological Transformation,Camera Calibration,Motion Detection,Detection Offset,Google Vision OCR,Bounding Box Visualization,Halo Visualization,SAM3 Video Tracker,Object Detection Model,Identify Changes,Detections Combine,Contrast Equalization,Mask Area Measurement,Detections Classes Replacement,Instance Segmentation Model,Model Monitoring Inference Aggregator,MQTT Writer,PLC Reader,Image Threshold,Blur Visualization,Line Counter Visualization,Background Color Visualization,Microsoft SQL Server Sink,Background Subtraction,Identify Outliers,Object Detection Model,Twilio SMS Notification,OPC UA Writer Sink,Polygon Zone Visualization,Path Deviation,Instance Segmentation Model,SAM 3,Keypoint Detection Model,Reference Path Visualization,Image Stack,SAM 3 Interactive,Stability AI Inpainting,Crop Visualization,Image Convert Grayscale,Dynamic Zone,Camera Focus,Image Slicer,Overlap Filter,Polygon Visualization,Time in Zone,Dynamic Crop,Event Writer,Perspective Correction,Segment Anything 2 Model,Line Counter,Polygon Visualization,OCR Model,Roboflow Visual Search Classifier,Circle Visualization,Slack Notification,Contrast Enhancement,Grid Visualization,Mask Edge Snap,Time in Zone,Byte Tracker,Local File Sink,Roboflow Custom Metadata,SORT Tracker,Image Blur,Label Visualization,ByteTrack Tracker,Seg Preview,Path Deviation,Object Detection Model,Pixel Color Count,Roboflow Vision Events,Image Preprocessing,Trace Visualization,Email Notification,SIFT Comparison,Stability AI Outpainting,Detections Consensus,PTZ Tracking (ONVIF),Dot Visualization,Keypoint Detection Model,Roboflow Asset Library Attributes,Halo Visualization,SAM 3,Classification Label Visualization,Mask Visualization,Image Contours,Camera Focus,Moondream2,S3 Sink,Stability AI Image Generation,VLM As Detector,Relative Static Crop,Roboflow Dataset Upload,Image Slicer,Detections Merge,BoT-SORT Tracker,Email Notification,Byte Tracker,SAM 3,Detections Stitch,Text Display,Depth Estimation,Icon Visualization,Time in Zone,SIFT Comparison,SIFT,Instance Segmentation Model,PLC Writer,Detections List Roll-Up,VLM As Classifier - outputs:
Absolute Static Crop,VLM As Classifier,Qwen-VL,Gaze Detection,Triangle Visualization,EasyOCR,Model Comparison Visualization,OC-SORT Tracker,YOLO-World Model,Track Class Lock,Llama 3.2 Vision,Anthropic Claude,Heatmap Visualization,Stitch Images,Keypoint Visualization,Detections Stabilizer,Google Gemini,Dominant Color,MoonshotAI Kimi,GLM-OCR,Instance Segmentation Model,VLM As Detector,SAM2 Video Tracker,Multi-Label Classification Model,Twilio SMS/MMS Notification,Ellipse Visualization,Single-Label Classification Model,SmolVLM2,Keypoint Detection Model,Pixelate Visualization,Corner Visualization,Buffer,Template Matching,Llama 3.2 Vision,Qwen2.5-VL,Qwen 3.5 API,LMM,Semantic Segmentation Model,Roboflow Visual Search,Morphological Transformation,Color Visualization,Roboflow Dataset Upload,Morphological Transformation,Camera Calibration,Motion Detection,Google Vision OCR,Clip Comparison,Bounding Box Visualization,OpenAI,Halo Visualization,SAM3 Video Tracker,Object Detection Model,Contrast Equalization,Instance Segmentation Model,Multi-Label Classification Model,Image Threshold,Blur Visualization,Line Counter Visualization,Google Gemini,Single-Label Classification Model,Background Subtraction,Object Detection Model,Instance Segmentation Model,SAM 3,QR Code Detection,Polygon Zone Visualization,Google Gemma API,Keypoint Detection Model,Image Stack,Reference Path Visualization,SAM 3 Interactive,Qwen3-VL,Stability AI Inpainting,Multi-Label Classification Model,Perception Encoder Embedding Model,Crop Visualization,Anthropic Claude,Image Convert Grayscale,Camera Focus,Image Slicer,Florence-2 Model,Polygon Visualization,MoonshotAI Kimi,Dynamic Crop,Qwen 3.6 API,Event Writer,Perspective Correction,Segment Anything 2 Model,Polygon Visualization,Clip Comparison,OCR Model,Roboflow Visual Search Classifier,Circle Visualization,CogVLM,Contrast Enhancement,Mask Edge Snap,Barcode Detection,Time in Zone,LMM For Classification,Qwen3.5-VL,Florence-2 Model,OpenAI,SORT Tracker,ByteTrack Tracker,Label Visualization,Image Blur,Seg Preview,Object Detection Model,Anthropic Claude,Pixel Color Count,Roboflow Vision Events,Image Preprocessing,Trace Visualization,Email Notification,SIFT Comparison,Stability AI Outpainting,Keypoint Detection Model,Dot Visualization,Halo Visualization,SAM 3,Classification Label Visualization,Mask Visualization,Image Contours,Camera Focus,Single-Label Classification Model,OpenRouter,Moondream2,Stability AI Image Generation,VLM As Detector,Google Gemma,CLIP Embedding Model,Relative Static Crop,Roboflow Dataset Upload,OpenAI,Image Slicer,Google Gemini,BoT-SORT Tracker,Byte Tracker,SAM 3,Detections Stitch,Semantic Segmentation Model,Text Display,Qwen3.5,Depth Estimation,Icon Visualization,OpenAI,GeoTag Detection,SIFT,Instance Segmentation Model,Background Color Visualization,VLM As Classifier
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[rle_instance_segmentation_prediction,instance_segmentation_prediction,keypoint_detection_prediction,object_detection_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
}