Video Face Replacement

Matlab implementation of our paper "Video Face Replacement System Using a Modified Poisson Blending Technique"
606 Downloads
Updated 14 Mar 2019

View License

This source code is the implementation of the paper under title:
Video Face Replacement System Using a Modified Poisson Blending Technique
http://ieeexplore.ieee.org/document/7024453/
So if you will use this code, please cite the original paper.
Watch the video:
https://www.youtube.com/watch?v=sVP5kSt8LuM
Run the demo of the software using
>>demo
Be sure, the dataset located in the root folder of the source code folder "../dataset".
If you need to apply the software to your own videos, you must:
1- Convert the videos into sequnce of frames, see the dataset.
2- Target video frames should be in the format %5d.jpg and start from frame 00000.jpg
3- Source video frames should be in the format %5d.png and start from frame 00000.png
4- Source video frames should be stabilized first using, stabilizing function
5- Convert the stabilized frames of the source actor into png frames that contain the interesting region of the actor.
Notes:
- The stabilized frames should have alpha channel to be used for extracting the mask.
- Adjust the cropped interesting region frames for getting your desirable results.
- See the dataset "target folders".

Citation
Afifi, Mahmoud; Hussain, Khaled F.; Ibrahim, Hosny M.; Omar, Nagwa M., “Video Face Replacement System Using a Modified Poisson Blending Technique,” Intelligent Signal Processing and Communication Systems (ISPACS), 2014 International Symposium on , vol., no., pp.205,210, 1-4 Dec. 2014

Cite As

Afifi, Mahmoud, et al. “Video Face Replacement System Using a Modified Poisson Blending Technique.” 2014 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), IEEE, 2014, doi:10.1109/ispacs.2014.7024453.

View more styles
MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.2

..

1.0.0.1

.

1.0.0.0

.
A correct link to the data was updated