<p>To add to the answer above, another way of doing this is neural style transfer, where we feed two images to a CNN which then generates a new image combining the content from the second image and the style from the first. Check out this paper for further details, <a href="https://arxiv.org/abs/1508.06576" rel="nofollow noreferrer">https://arxiv.org/abs/1508.06576</a></p>

<p>We could of course always use <a href="https://arxiv.org/abs/1406.2661" rel="nofollow noreferrer">GAN</a>s to do achieve full perfection. </p>
CNN that generate a new image from input image
<p>CNN such that outputs the image with the feature added to the input image can be created?
For example, if an image of a person's face is input, outputs an image of the person's face wearing glasses.</p>