Welcome to the Neural Style Transfer app! This application allows you to apply artistic styles to your images using a deep learning model.
- 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.
-
Upload Content Image:
- Select an image that you want to apply the style to.
-
Upload Style Image:
- Select an image that provides the artistic style.
-
See the Result:
- The application will process the images and display the styled result.
- Python 3.x
- Streamlit
- TensorFlow
- TensorFlow Hub
- PIL (Pillow)
- NumPy
To set up the application, follow these steps:
-
Clone the Repository:
git clone https://github.com/alihassanml/Neural-Style-Transfer.git
-
Navigate to the Directory:
cd Neural-Style-Transfer
-
Install Dependencies:
pip install streamlit tensorflow tensorflow_hub pillow numpy
-
Run the Application:
streamlit run app.py
-
Open Your Browser:
- Visit
http://localhost:8501
to use the application.
- Visit
- Ensure that your images are in JPG, JPEG, or PNG format.
- The images will be displayed at a reduced size to fit the layout.
- Ali Hassan - alihassanml
This project is licensed under the MIT License - see the LICENSE file for details.