andreasjansson/portrait-blur 🖼️🔢✓ → ❓

▶️ 48 runs 📅 Aug 2025 ⚙️ Cog 0.14.0
blur-effect image-enhancement image-processing portrait-blur

About

Blur out-of-focus parts of an image

Example Output

Output

Performance Metrics

14.00s Prediction Time
14.70s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/Nb5sdr4GpsbJfMvG0IsnO0sVgW1YlFUxW97VbT6qmflgH3XR/IMG_8244.jpeg",
  "blur_strength": 10,
  "edge_averaging": 11,
  "return_debug_image": false
}
Input Parameters
image (required) Type: string
Input image to apply portrait mode blur effect
blur_strength Type: numberDefault: 10Range: 1 - 30
Blur strength (higher = more blur)
edge_averaging Type: integerDefault: 11Range: 1 - 31
Edge smoothing window size (higher = smoother transitions)
return_debug_image Type: booleanDefault: false
Return debug depth visualization
Output Schema
depth_debug Type: stringFormat: uri
Depth Debug
blurred_image Type: stringFormat: uri
Blurred Image
Example Execution Logs
detections [{'bbox': [1401, 931, 3073, 2606], 'confidence': 0.4927964508533478, 'label': 'person'}, {'bbox': [1402, 932, 3072, 2606], 'confidence': 0.2877204120159149, 'label': 'man'}, {'bbox': [2494, 1035, 3070, 1606], 'confidence': 0.36745485663414, 'label': 'face'}, {'bbox': [1402, 933, 3072, 2607], 'confidence': 0.4241909384727478, 'label': 'woman'}, {'bbox': [1402, 933, 3072, 2608], 'confidence': 0.2803356647491455, 'label': 'woman'}, {'bbox': [1400, 931, 3073, 2606], 'confidence': 0.21583585441112518, 'label': ''}, {'bbox': [268, 1546, 509, 1813], 'confidence': 0.245175302028656, 'label': ''}]
bbox_viz /tmp/cog-runner-tmp-3577462926/4d7fb9f68d625f23/result.png
Version Details
Version ID
d6a2581a9f1d208d35ea7f0caeed2d19337d31ba167f4608f2d052d1b6d36e8a
Version Created
August 25, 2025
Run on Replicate →