Demo code of the paper: "Deep Image Harmonization", Y.-H. Tsai, X. Shen, Z. Lin, K. Sunkavalli, X. Lu and M.-H. Yang, CVPR 2017
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9aa4bf4 Dec 24, 2017
Failed to load latest commit information.
data release DeepHarmonization v1 Mar 26, 2017
model release DeepHarmonization v1 Mar 26, 2017 Update Dec 24, 2017
before_after.gif Add files via upload Dec 24, 2017 release DeepHarmonization v1 Mar 26, 2017

Deep Image Harmonization

Alt Text

Project webpage:
Contact: Yi-Hsuan Tsai (wasidennis at gmail dot com)


Deep Image Harmonization
Yi-Hsuan Tsai, Xiaohui Shen, Zhe Lin, Kalyan Sunkavalli, Xin Lu and Ming-Hsuan Yang
IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.

This is the authors' demo code described in the above paper. Please cite our paper if you find it useful for your research.

Installation and Usage

  • Download and unzip the code.

  • Install Caffe:

  • Download the pre-trained caffe model and move it under the model folder.

  • Run on real composite images (including our test set collected in the paper).

Evaluation Set

  • Download our complete set of real composite images, including our harmonization results here.


The model, code and dataset are available for non-commercial research purposes only.


  • 03/2017: demo code released
  • 05/2017: complete evaluation set released