// summary
CorridorKey is a neural network-based tool designed to solve the complex problem of unmixing foreground subjects from green or blue screen backgrounds. It reconstructs the true straight color and linear alpha channel for every pixel, effectively preserving fine details like hair and motion blur. The project supports high-fidelity VFX workflows by outputting 16-bit and 32-bit Linear float EXR files compatible with industry-standard compositing software.
// technical analysis
CorridorKey is a neural network-based green screen keying solution designed to solve the 'unmixing' problem, where traditional tools fail to accurately separate foreground subjects from background spill. By predicting the true straight color of the foreground and a clean linear alpha channel for every pixel, it preserves delicate details like motion blur and transparency that binary masks typically destroy. The project prioritizes high-fidelity VFX workflows by supporting 16-bit and 32-bit linear EXR outputs, offering a sophisticated alternative to manual rotoscoping and complex edge matte creation.
// key highlights
// use cases
// getting started
To begin, clone the repository and use the provided installation scripts for your operating system, which leverage 'uv' to automatically manage Python and dependencies. Once installed, use the command-line wizard by dragging your video clips onto the launcher script to organize your files and generate necessary Alpha Hints. Finally, configure your settings within the wizard to process your clips and export the resulting foreground and matte files.