Real-Time 3D-Aware Portrait Video Relighting

Ziqi Cai, Kaiwen Jiang, Shu-Yu Chen, Yu-Kun Lai, Hongbo Fu +2 more
10/1/2024
32 citations

Official code: GhostCai/PortraitRelighting (67 stars, Python, Apache-2.0, last commit 2024-10-23).

Abstract

Synthesizing realistic videos of talking faces under custom lighting conditions and viewing angles benefits various downstream applications like video conferencing. However, most existing relighting methods are either time-consuming or unable to adjust the viewpoints.

Show full abstract

In this paper, we present the first real-time 3D-aware method for relighting in-the-wild videos of talking faces based on Neural Radiance Fields (NeRF). Given an input portrait video, our method can synthesize talking faces under both novel views and novel lighting conditions with a photo-realistic and disentangled 3D representation. Specifically, we infer an albedo tri-plane, as well as a shading tri-plane based on a desired lighting condition for each video frame with fast dual-encoders. We also leverage a temporal consistency network to ensure smooth transitions and reduce flickering artifacts. Our method runs at 32.98 fps on consumer-level hardware and achieves state-of-the-art results in terms of reconstruction quality, lighting error, lighting instability, temporal consistency and inference speed. We demonstrate the effectiveness and interactivity of our method on various portrait videos with diverse lighting and viewing conditions.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official PyTorch implementation of the CVPR 2024 Highlight Paper "Real-time 3D-aware Portrait Video Relighting"

6711PythonOct 23, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{cai2024realtime,
  title  = {Real-Time 3D-Aware Portrait Video Relighting},
  author = {Ziqi Cai and Kaiwen Jiang and Shu-Yu Chen and Yu-Kun Lai and Hongbo Fu and Boxin Shi and Lin Gao},
  year   = {2024},
  eprint = {2410.18355},
  archivePrefix = {arXiv},
  url    = {https://orca.cardiff.ac.uk/id/eprint/167661/1/3DAwarePortraitVideoRelighting_CVPR2024.pdf},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.18355.svg)](https://codeofpaper.com/paper/2410.18355)

Discussion