Automatic Object Recoloring Using Adversarial Learning

Siavash Khodadadeh, Saeid Motiian, Zhe Lin, Ladislau Boloni, Shabnam Ghadar; Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2021, pp. 1488-1496


We propose a novel method for automatic object recoloring based on Generative Adversarial Networks (GANs). The user can simply give commands of the form ""recolor <object> to <color>"" which will be executed without any need of manual edit. Our approach takes advantage of pre-trained object detectors and saliency mask segmentation networks. The segmented mask of the given object along with the target color and the original image form the input to the GAN. The use of cycle consistency loss ensures the realistic look of the results. To our best knowledge, this is the first algorithm where the automatic recoloring is only limited by the ability of the mask extractor to map a natural language tag to a specific object in the image (several hundred object types at the time of this writing). For a performance comparison, we also adapted other state of the art methods to perform this task. We found that our method had consistently yielded qualitatively better recoloring results.

Related Material

[pdf] [supp]
@InProceedings{Khodadadeh_2021_WACV, author = {Khodadadeh, Siavash and Motiian, Saeid and Lin, Zhe and Boloni, Ladislau and Ghadar, Shabnam}, title = {Automatic Object Recoloring Using Adversarial Learning}, booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)}, month = {January}, year = {2021}, pages = {1488-1496} }