--- 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.