Repository navigation
LucidFrame-v2.2.0
LucidFrame 2.2
LucidFrame can now repair a damaged image before and after upscaling, and the app has a new look. Blocky JPEGs and out-of-focus photos are cleaned up first, and small or damaged faces are rebuilt afterwards. Several models work together, all on your own machine, and the app decides by itself what each image needs.
Install
- Windows 10/11: download
LucidFrame-2.1.0-win-x64.exeand run it. It's a one-click, per-user install with no admin prompt. If SmartScreen warns about an unknown publisher, choose More info → Run anyway (builds are not code-signed yet). The installer contains every model and works offline. - macOS and Linux: no installers for this release. Run from source with
npm install && npm start(Node.js 22.12 or newer). The first start downloads the AI models (about 180 MB, hash-checked) and then works offline.
What's new
- Restore pipeline. Each image can go through three stages:
- Clean up blur and compression. A 1× repair model removes JPEG block artifacts and reduces blur before upscaling, so the upscaler doesn't enlarge the damage into mosaics.
- Upscale with the model you chose.
- Restore faces. YuNet finds faces, GFPGAN 1.4 rebuilds each one, and the result is colour-matched and blended back in. Small or blurry faces come out sharp, where the photo model alone often garbles them.
- It decides for you. In Auto, cleanup runs only on images it detects as blocky or soft, and face restoration acts on small or damaged faces and leaves large, already-detailed ones alone. Each stage can be set to Auto, On/Always or Off in the new Restore section, or with
--cleanupand--faceson the command line. - It tells you what it did. The result bar shows "Blur reduced", "Compression blocks removed" or "1 face restored", and the CLI prints the same.
- New interface. A cleaner, monochrome design with light and dark themes that follow your system:
- a header showing the current file, its status and your hardware (GPU or CPU)
- a card-based model chooser with a short description of the selected model
- an ⓘ next to Restore that explains the options instead of long paragraphs
- image thumbnails in the queue, a slimmer progress display, and a tidier before/after viewer
- the Geist font is bundled, so nothing is loaded from the web
- Easier to judge results. When the comparison is zoomed out, a hint offers one click to inspect the detail at 100%, since a 4× upscale looks almost identical to the original at fit-to-window size.
- Credits and licences are now under Help, and the licence texts ship in the installer.
- Command line. New
--cleanup auto|on|off,--faces auto|always|offand--face-strength. The self-check (npm run doctor, or Help → Run self-check…) now exercises each Restore stage.
How well does it work?
Perceptual distance to the original (LPIPS, lower is better) on the face region of a test portrait, 4× results:
| Input | Photo model only | With Restore (Auto) |
|---|---|---|
| Out of focus, JPEG q60 | 0.426 | 0.055 |
| 320 px wide, JPEG q15 | 0.109 | 0.079 |
| 192 px wide, JPEG q20 | 0.119 | 0.100 |
| 384 px wide, JPEG q70 (mild) | 0.032 | 0.029 |
The last row shows Auto leaving a lightly compressed image essentially alone. Side-by-side images and the full table are in the README.
Fixes
- Redo did nothing. The Redo button requeued the file but never started the queue, so you had to press Upscale again. It now runs immediately.
- Smaller downloads from git. Model files are no longer stored in the repository; they are release assets that source installs download and verify by SHA-256. A corrupt or partial download is never used.
- GPU safeguard. If a graphics driver returns an implausible face (garbage or NaNs), LucidFrame redoes the faces on the CPU instead of saving a broken result.
- Video with audio. Audio is now added in a separate step, which fixes clips being cut short on some FFmpeg builds.
Known limitations
- Face restoration invents plausible detail, so a person's likeness can change slightly. It is on Auto by default; switch it to Off if fidelity matters more than looks.
- Block-aligned pixel art can be mistaken for compression. Set cleanup to Off for it.
- The test results come from synthetic degradations of one public-domain portrait, plus checks on other photos. They are not a benchmark.
- GPU acceleration for the new stages is untested on real hardware. They use the same device selection and fall back to CPU. If something looks wrong on your GPU, run Help → Run self-check… and include the output in an issue.
- On CPU, face restoration takes about 2 to 3 seconds per face on a 4-core machine; Photo and Anime upscaling are as slow as before (roughly 90 to 105 seconds per input megapixel).
- The Windows installer is unsigned. macOS and Linux builds are paused for now.
Credits
Upscaling and cleanup models by Philip Hofmann (Phhofm), CC BY 4.0. Face restoration by GFPGAN (Tencent ARC Lab, Apache-2.0). Face detection by YuNet (Shiqi Yu et al., MIT). Typeface: Geist (SIL OFL 1.1). See NOTICES.md for every third-party component.
What's Changed
- Claude/relaxed babbage 1motig by @Cosmos-0118 in #8
Full Changelog: v2.1.0...v2.2.0