andrewhou1 / GeomConsistentFR

Official Code for Face Relighting with Geometrically Consistent Shadows (CVPR 2022)
https://openaccess.thecvf.com/content/CVPR2022/html/Hou_Face_Relighting_With_Geometrically_Consistent_Shadows_CVPR_2022_paper.html
MIT License
122 stars 17 forks source link

transfer illumination from a reference image to target image #3

Closed wrainbow0705 closed 2 years ago

wrainbow0705 commented 2 years ago

Very wonderful research. I was wondering how do I transfer the lighting from a reference image to the target image? All I can find is the fixed lighting parameters from test_relight_single_image.py. Could you tell me what to do?Thanks.

andrewhou1 commented 2 years ago

Hi there,

Thanks for your interest in our work! I've uploaded the lighting transfer testing code and model as well as some updates to the instructions in the Testing section for how to run the lighting transfer code. The python file of interest is "test_relight_single_image_lighting_transfer.py". I will also upload the training code for lighting transfer, as it is a separately trained model from the model with fixed lighting parameters (target lightings).

wrainbow0705 commented 2 years ago

Thanks a lot!