Skip to content

Style transfer is the technique that allows us to apply the style of one image to the content of another image. Here we use image representations derived from Convolutional layers of the pre-trained model, which extracts certain features from the image helpful for style transfer.

Notifications You must be signed in to change notification settings

shreyasdhotrad/Style-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Style-transfer

Style transfer is the technique that allows us to apply the style of one image to the content of another image. Here we use image representations derived from Convolutional layers of the pre-trained model, which extracts certain features from the image helpful for style transfer.

The principle is to generate an image with the same "content" as a base image, but with the "style" of a different picture (typically artistic). This is achieved through the optimization of a loss function that has 3 components: "style loss", "content loss", and "total variation loss".

A simple to use android application to apply adaptive art filters on your photos. This app uses TFLite to run the neural style transfer MobileNet V3 model on edge device (Android).

App Demonstration


Steps-

  • Select Content Image from either camera or existing image from files
  • Crop the selected image
  • Choose from a list of 10 style images
  • Tap on Save image to save style transffered image

Drive link for Android source code https://drive.google.com/file/d/1Lf5SYc79olkEgJvCzFG8AXD449Ky8QaF/view?usp=sharing

About

Style transfer is the technique that allows us to apply the style of one image to the content of another image. Here we use image representations derived from Convolutional layers of the pre-trained model, which extracts certain features from the image helpful for style transfer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages