Skip to content

Neural style transfer is an optimization technique used to take two image and blend them together so the output image looks like the content image, but "painted" in the style of the reference image.

Notifications You must be signed in to change notification settings

nerdylabs/Neural-Style-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Neural-Style-Transfer

Neural style transfer is an optimization technique used to take two image and blend them together so the output image looks like the content image, but "painted" in the style of the reference image.

let's look at an example:

We consider the following image as our content image ("Nivin Pauly an Indian actor and producer. Known for his work in Malayalam cinema")

And the following is our style Image:

Using the Neural Style Transfer as explained in the paper we can get a generated image as the following Image:

As you can see it has taken the "content" from the content image and applied a "style" to it to generate a new image

If you have a look in the code due to computing restrictions I reduced the image size of the generated image to 356, you can change the same if you have good computational resourses(just change the value of img_size variable in the code)

If you want more information I highly recommend you to read the paper A Neural Algorithm of Artistic Style

Also following video also helped me alot

About

Neural style transfer is an optimization technique used to take two image and blend them together so the output image looks like the content image, but "painted" in the style of the reference image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages