hello@andreastumbrink.com
Back to logs

Software

CorridorKey: Building My Own Green-Screen Tool

I got tired of fighting Keylight and Primatte. So I started building my own keyer. It's called CorridorKey and it actually works now.

Published

Feb 18, 2026

Status

In Progress

Tags

corridorkeygreen-screenpythonmachine-learning
CorridorKey: Building My Own Green-Screen Tool cover

Why

Every keyer I've used makes me want to throw the monitor out the window. Keylight is 20 years old. Primatte costs money and still can't handle hair. DaVinci's qualifier is fine for clean plates but falls apart the moment you have spill on a miniature with reflective surfaces.

I shoot miniatures on green screen. Tiny models with chrome, glass, and paint that catches everything. Standard keyers weren't built for this.

So I started writing my own.

What it does

CorridorKey runs BiRefNet for matte refinement and uses a custom despill pipeline that actually understands what green contamination looks like on practical miniature surfaces. It's Python, it runs on my Mac via MPS, and I can process a full shot from the command line.

The pipeline now goes: raw plate → MatAnyone2 for hints → CorridorKey inference → post-refinement with BiRefNet → comp.

Where it's at

It works. Like, actually works. I ran my first real green-screen shot through it last week and the matte was better than anything I got out of Nuke's IBK in half the time. Hair detail is solid. Edge contamination is minimal.

I also built a live dashboard so I can watch the processing in real time. Because staring at a terminal while frames render is not how I want to spend my evenings.

What's next

Conservative vs aggressive refine profiles. Per-shot quality scoring. And then I need to actually use it on KORETH footage instead of test clips.