File size: 914 Bytes
f7409e2
 
5ae84d8
 
 
f7409e2
5ae84d8
 
f7409e2
 
5ae84d8
f7409e2
 
5ae84d8
 
 
 
 
 
99c35c2
 
5ae84d8
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: FlashReFocus
emoji: 馃摲
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.50.0
python_version: "3.10"
app_file: app.py
pinned: false
short_description: Restore once, then refocus any photo interactively
---

# FlashReFocus: Interactive Image Refocusing in Seconds

Upload a photograph, restore its all-in-focus image once with one-step diffusion, then click anywhere to refocus.
Each click runs only a 1.3M-parameter renderer; two focal planes are supported by editing the depth.

[Project page](https://ming053l.github.io/FlashReFocus/) 路 [Code](https://github.com/ming053l/FlashReFocus) 路
[Video](https://youtu.be/g032M7moWQ4) 路
[3CReal dataset](https://huggingface.co/datasets/ming0531/3CReal)

Third-party code: PiSA-SR (Stage I backbone) and Depth Anything V2 (depth), see `third_party/*/LICENSE`.
Example portraits are from [Unsplash](https://unsplash.com) under the Unsplash License.