FlashReFocus (CPU)
This version runs on a free CPU and refocuses photographs that are already sharp. For blurred photographs, restoration needs a GPU: use the GPU demo.
Ching-Heng Cheng1* · Chia-Ming Lee2,3* ·
Ming-Ching Chang2 ·
Xin Li2 ·
Yu-Lun Liu3 ·
Chih-Chung Hsu1,3†
1National Cheng Kung University · 2State University of New York at Albany · 3National Yang Ming Chiao Tung University · * equal contribution · † corresponding author
1National Cheng Kung University · 2State University of New York at Albany · 3National Yang Ming Chiao Tung University · * equal contribution · † corresponding author
⚡ GPU demo (with restoration)
🎥 Video spotlight demo
🌐 Project page
📄 Paper
💻 Code
🎬 Video
🗂️ 3CReal dataset
👉 Try this first: pick the aquarium example → Estimate depth → choose
👥 Two focal planes → click the face, then the shark. Every click runs only the 1.3M-parameter renderer, which
takes a few seconds on this CPU (a fraction of a second on a GPU).
① Upload a sharp photo and estimate its depth once
Examples (Unsplash portraits and our own photographs)
384 1024
③ Depth map
0.4 2.5
0.02 0.3
② Click the image to focus
0 1.5
Upload a sharp photo or pick an example, then press ✨ Estimate depth.