File size: 773 Bytes
1dd0c67
a36fe68
 
 
 
1dd0c67
 
 
 
 
a36fe68
 
 
 
0671f7e
a36fe68
 
 
0671f7e
91a2959
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
title: CCTV Frame Restoration (Diffusion)
emoji: 🎥
colorFrom: blue
colorTo: purple
sdk: gradio
app_file: app.py
pinned: false
---

# CCTV Frame Restoration with Diffusion Model

This demo is an AI-assisted development using **Claude Sonnet 5**.

Restores low-resolution, noisy, low-light CCTV/security camera frames using the pretrained **Stable Diffusion x4 Upscaler** (`stabilityai/stable-diffusion-x4-upscaler`). 

Upload a low-quality frame, adjust the prompt/steps if you like, and get a 4x upscaled, denoised, sharpened result.

**Note:** Input images are resized so their longest side is ≤128px before upscaling, matching the resolution the model was trained on. For CPU inference, it may take 1-3 minutes per image.

**UI snapshot**
![alt text](app_ui.png)