← Showcases

Photo Darkroom & Restoration Lab

5 MB Fast Pack 4 Chained ONNX Models 100% Local · 0 Uploads
Before Original
50%

1 · Quick-Start Neural Packs (Shared Cache Storage)

Drop any photo, paste with Ctrl/Cmd+V, take a photo, or click Download Fast Pack (5 MB) to restore immediately.

2 · Non-Destructive Recipe (0 ms Blend · No Re-Run Upstream)

Optional Sample Stress-Test (Auto-Off for Uploads)

3 · Production Export Deck (Live Compressed Size)

88%

—

Live Optical Diagnostics · RGB Luminance Histogram, Laplacian Sharpness & Stage Waterfall

Laplacian Sharpness—
Mean Luminance—
RMS Contrast—
Output Resolution—

Before · RGB + Rec.709 Luminance

0 · ShadowsMidtones255 · Highlights

After · RGB + Rec.709 Luminance

0 · ShadowsMidtones255 · Highlights

Neural Stage Millisecond Waterfall

Chained Local ONNX Workers · Shared Cache Storage (5 MB Fast Pack · ~102 MB All 4)

Each stage reuses its standalone ONNX Runtime Web worker directly with zero duplicate weights. Cached models auto-initialise on returning visits, and you can release any individual stage from memory at any time.

Stage 1 · IAT Low-Light (~1 MB · Apache-2.0)

Stage 2 · MicroDehazeNet (~4 MB · MIT)

Stage 3 · UVDoc Dewarp (~30 MB · Apache-2.0)

Stage 4 · Real-ESRGAN 4× (~67 MB · BSD-3-Clause)

Darkroom Architecture Highlights & Underlying Model Pages

Incremental Dependency Caching

planRecipeExecution() hashes each stage's upstream signature so scrubbing a stage's wet/dry blend or toggling a downstream stage re-composites in 0 ms without re-invoking unaffected ONNX workers.

FIFO Worker Isolation & Mid-Run Release

Every reused worker runs inside FifoStageClient with coalesced loading, loading-only progress forwarding, strict <= 1 in-flight ops, orphan ImageBitmap cleanup, and decoupled disposeSeq.

Real-Time Optics & Multi-Format Export

Dual Rec.709 RGB/luminance histograms and discrete Laplacian sharpness deltas quantify every stage live, while OffscreenCanvas / toBlob reports real compressed PNG, WebP, and AVIF byte sizes before download.

Inspect the Darkroom Pipeline, Optical Metrics & Hardened Worker Code

Show non-destructive stage dependency & cache planner (darkroom-core.mjs)
Show Rec.709 RGB + luminance histogram engine (darkroom-core.mjs)
Show discrete 4-neighbor Laplacian sharpness metric (darkroom-core.mjs)
Show hardened FIFO multi-worker client with decoupled disposeSeq (darkroom.js)
Show user-initiated camera capture controller with _startGen abort guard (darkroom.js)

Capture Local Photo

Privacy first: Your camera is only accessed after you click Enable Camera below. Every frame stays strictly inside your browser tab — zero pixels are ever sent to a server, and all camera tracks stop immediately after capture or when closing this dialog.