Spaces:
Running on Zero
Download README.md from ming0531/FlashReFocus-Video: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/spaces/ming0531/FlashReFocus-Video/resolve/main/README.md
- Command line
-
hf download hf://spaces/ming0531/FlashReFocus-Video/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ming0531/FlashReFocus-Video/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.32.0
title: FlashReFocus Video Spotlight
emoji: 🎬
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.50.0
python_version: '3.10'
app_file: app.py
pinned: false
short_description: Keep one person sharp in a video and blur everyone else
FlashReFocus: Video Spotlight
Upload a short clip and click the person to keep sharp. SAM 3 tracks every person, Depth Anything V2 estimates each frame's depth, the depth is edited so that everyone but the chosen person is moved away from the focal plane, and the FlashReFocus renderer renders each frame. Video frames are already sharp, so restoration (Stage I) is not used.
The photo demo (restoration, click-to-focus, two focal planes, tilt-shift) is at ming0531/FlashReFocus.
Example clips (5 s excerpts, resized to 1280 px, no audio) are from Pexels under the Pexels License: friends on a street, three friends, stage dancers, dance troupe.
Third-party code and models: SAM 3 (facebook/sam3; see its model card for the licence) and Depth Anything V2 (depth), see
third_party/*/LICENSE.