Skip to content

Welcome to the Neural Style Transfer app! This application allows you to apply artistic styles to your images using a deep learning model.

License

Notifications You must be signed in to change notification settings

alihassanml/Neural-Style-Transfer

Repository files navigation

Neural Style Transfer

Welcome to the Neural Style Transfer app! This application allows you to apply artistic styles to your images using a deep learning model.

Features

  • Upload Images: Choose a content image and a style image.
  • Style Transfer: Apply the style of the uploaded style image to the content image.
  • Visualize Results: View the styled output alongside the original images.

How to Use

  1. Upload Content Image:

    • Select an image that you want to apply the style to.
  2. Upload Style Image:

    • Select an image that provides the artistic style.
  3. See the Result:

    • The application will process the images and display the styled result.

Requirements

  • Python 3.x
  • Streamlit
  • TensorFlow
  • TensorFlow Hub
  • PIL (Pillow)
  • NumPy

Installation

To set up the application, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/alihassanml/Neural-Style-Transfer.git
  2. Navigate to the Directory:

    cd Neural-Style-Transfer
  3. Install Dependencies:

    pip install streamlit tensorflow tensorflow_hub pillow numpy
  4. Run the Application:

    streamlit run app.py
  5. Open Your Browser:

    • Visit http://localhost:8501 to use the application.

Notes

  • Ensure that your images are in JPG, JPEG, or PNG format.
  • The images will be displayed at a reduced size to fit the layout.

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Welcome to the Neural Style Transfer app! This application allows you to apply artistic styles to your images using a deep learning model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published