ReCAP: Real-Time Video Classification by Lighting Temperature

ReCAP — Real-time Content Analysis and Processing — is an EU-funded research initiative building automatic tooling for broadcast-quality video: metadata extraction, quality monitoring, face and logo recognition, and duplicate-content detection. Among its more curious classification targets sits the colour of the light itself, and the reasoning behind that choice is more practical than it first appears.

Every frame carries an invisible trace of the environment that produced it. A tungsten-lit studio at 2,000 kelvin looks nothing like a floodlit stadium at 6,000 kelvin, and neither resembles a flat overcast exterior at 8,000 kelvin. Reading that trace while the video is still moving turns a vague visual impression into a searchable, auditable label attached to a timecode.

Why the colour of the light is worth classifying

Colour temperature describes the tint of an illuminant rather than its brightness, and correlated colour temperature is the common shorthand, measured in kelvin. Lower values read warm and orange, higher values read cool and blue. Broadcast camera operators already work with these numbers: presets for 3200K tungsten, 5600K daylight, or 6300K overcast sit in the menus of every professional camera, with neutral-density and colour-temperature filters used to correct them in the field.

On its own, a colour temperature estimate is ambiguous. A modern LED panel and a cloudy sky can land within a few hundred kelvin of each other, and a camera's automatic white balance can shift the result frame by frame. The classification becomes useful when the estimate is fused with other measured properties — the contrast between shadow and highlight, how close highlights are to clipping, the ratio of specular to diffuse reflection, and the estimated illuminance band. Together those signals separate a soft interior from a shaded exterior and a genuinely mixed rig from a single-source one.

That distinction matters downstream. Lighting labels let an archive distinguish an interior night scene from a night exterior, group rushes by shooting conditions, and flag a contribution that has picked up daylight contamination because a remote camera was parked near a window. They also expose transitions in real time: stadium lights fading up after sunset, or a studio rig dimming between segments. Grading can disguise the original conditions, so the label is best treated as source evidence, not final look.

Inside a real-time analysis pipeline

The engineering challenge is doing this cheaply enough to run alongside a live feed. A typical ReCAP deployment ingests contribution video over SDI or IP, decodes it at broadcast resolutions in 10-bit 4:2:2, downsamples on a GPU, and runs a set of models concurrently: quality checks for freeze, black frames and clipping, face and logo recognition, perceptual hashing for duplication, and the lighting classifier. Outputs land in a sidecar record keyed to timecode, alongside confidence scores and the raw measurements behind each decision.

Latency budgets are tight. A live monitoring layer needs per-frame results within tens of milliseconds, which rules out round trips to distant data centres and favours hardware acceleration on a venue-local server or in an outside-broadcast position. The same models can be scheduled more loosely during archive ingest, where minutes of delay are acceptable but throughput across thousands of hours matters far more. Designing for both profiles is one of the recurring design problems the consortium works through.

The consortium behind the ReCAP project publishes its work packages, milestone dates and demonstration results, including the hardware configurations used for live trials. Public demonstrations have focused on exactly this kind of multi-model streaming analysis, with lighting classification serving as a low-cost example of how a physically grounded signal can enrich the metadata attached to every frame.

The signals behind each classification

The classifier does not read a single pixel. It aggregates robust statistics from broadcast-safe areas, excluding clipped highlights, skin regions and on-screen graphics that would skew the result. The reasoning can be summarised in two short lists: one describing what is measured per frame, the other describing what those measurements allow a production team to do.

Signals extracted per frame:

Decisions those signals support:

Every classification carries a confidence value rather than a hard verdict. A low-confidence frame is handed to a human review queue, which keeps a marginal lighting estimate from becoming a false alarm that interrupts a live rundown. The value of the signal is not that it is always right, but that it is right often enough, and honest enough about the rest, to be trusted alongside conventional quality checks.

Australian light, Australian rooms

Australian conditions give the idea an unusually rich test set. Summer arvo sun across the country can exceed 100,000 lux, while overcast coastal light in Melbourne or Sydney sits far lower and considerably bluer. Cricket is played under lights at the Gabba in Brisbane and the SCG in Sydney, and stadium rigs mix metal halide, LED and sodium-derived spill, producing a patchwork that is difficult to characterise with a single preset. AFL night fixtures at the MCG or Marvel Stadium add another layer, with towers that ramp up partway through play.

Interior lighting is equally varied. The national grid runs at 220–240 volts and 50 hertz, and many regional stations still carry older fluorescent fittings or partial LED retrofits, where a single studio ceiling can contain 3000K, 4000K and 5600K panels at once. Crews talk about it in familiar terms: someone might say the green room looks too warm, or that the afternoon light in the windows is chucking out colour. Search labels have to speak that language if they are to be used, which is why a tag set built around descriptions like sunnies, arvo or night run sits better with local crews than a purely technical taxonomy.

The market shape matters too. Publicly funded broadcasters, commercial networks in Melbourne and Sydney, pay-TV and streaming services all commission live coverage, while regional and remote operations rely on satellite and microwave contribution over long distances. A lighting tag that is wrong at a remote site is worse than no tag at all, because it quietly corrupts the archive. And with Perth three hours behind the eastern states, live scheduling and replay workflows already have to account for geography, which any production-grade tagging scheme has to respect.

Metadata, search and the duplicate problem

Metadata only earns its keep when it survives the journey into the asset management system. Lighting labels are most valuable when joined with the rest of ReCAP's outputs: recognised faces, detected sponsor logos, quality events and fingerprints for duplicated material. A producer can then search for a warm interior night scene and narrow it by logo, location or speaker, rather than scrubbing through timelines by eye.

Duplication is where lighting earns its keep again. Perceptual hashes are excellent at spotting identical files and re-encodes, but they struggle when the same content is re-shot, re-graded or lifted from one camera to another, because colour treatment changes the pixels. A lighting fingerprint acts as a complementary cue: the same interview recorded in a tungsten studio and re-shot at a different venue under fluorescent light is a different hash but a very similar environment profile, which is exactly the kind of near-duplicate that sneaks past a naive comparison.

Broadcast graphics introduce their own machine-readable objects. Sponsor slates, safety overlays and promotional codes appear in frame and travel through everyday communication channels at remarkable speed; a technical walkthrough of Telegram QR code sharing illustrates the range of formats in circulation. Detecting and cataloguing two-dimensional codes within live video lets compliance teams track which promotion aired when, and gives the duplicate detector a second reference point when the same slate is re-run across regional feeds.

Governance is simpler for lighting data than for faces. Biometric identifiers attract obligations under the Australian Privacy Principles and comparable European rules, while an illuminant estimate identifies a room or a time of day rather than a person, which makes it far easier to justify retaining in an archive and sharing across partners.

Proving accuracy before it meets air

Ground truth for lighting is straightforward to collect and easy to get wrong. A reference colour-temperature meter and a lux meter at the camera position, logged each time the rig changes state, turns a subjective label into a measurement. Annotators then bin the resulting video into coarse, operationally meaningful classes, because a production team rarely needs more precision than warm interior, cool interior, mixed or daylight.

Evaluation follows standard practice: precision and recall per class, an F1 score, and a confusion matrix that shows precisely which environments get confused. Two error types matter differently. A false positive on a mixed studio rig sends an operator chasing a problem that does not exist, and a false negative on a lighting transition lets a duplicate pass unnoticed into the archive. Thresholds are therefore tuned per site, not set once and forgotten, with the confusion matrix used to justify each adjustment in review.

Harder cases deserve early attention. Automatic white balance drift can move the estimate frame to frame, so the classifier needs temporal smoothing that does not erase genuine transitions. Graded footage may no longer reflect the source conditions at all. High dynamic range material using Rec. 2020 with PQ or HLG behaves differently from Rec. 709 SDR, and flicker from 50 hertz LED lighting can introduce banding that corrupts the very statistics being measured. Long-form stability testing, including codec and bitrate changes, matters as much as the headline accuracy figure.

A staged route from pilot to production

The sensible path runs from a controlled capture rig, to live venue trials with real contribution links, to integration with the asset library and quality dashboards used by operators daily. Each stage answers a different question: whether the model can estimate illuminant at all, whether it survives the messiness of a live feed, and whether anyone on the team actually uses the result. Consortium milestones and demonstrations are structured around that progression, and each Australian venue introduces conditions no European pilot site can replicate.

The immediate step is a capture session with a colour-reference card, a lux meter and a spectroradiometer at the camera position, covering one daylight studio session and one full floodlit match, producing a published ground-truth set with per-frame colour temperature labels and reference readings for Australian conditions.