Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sreeeswaran/nst-for-artistic-image-creation
This project focuses on Neural Style Transfer (NST), a technique that applies the style of one image to the content of another image, creating a new, stylized image. NST leverages deep learning models, particularly Convolutional Neural Networks (CNNs), to extract and combine the content and style features of images.
https://github.com/sreeeswaran/nst-for-artistic-image-creation
artificial-intelligence artificial-neural-networks cnn cnn-model convolutional-neural-networks deep-learning deep-neural-networks image-generation machine-learning models neural-networks neural-style-transfer nst
Last synced: about 1 month ago
JSON representation
This project focuses on Neural Style Transfer (NST), a technique that applies the style of one image to the content of another image, creating a new, stylized image. NST leverages deep learning models, particularly Convolutional Neural Networks (CNNs), to extract and combine the content and style features of images.
- Host: GitHub
- URL: https://github.com/sreeeswaran/nst-for-artistic-image-creation
- Owner: SreeEswaran
- License: mit
- Created: 2024-07-03T16:56:06.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T16:37:21.000Z (4 months ago)
- Last Synced: 2024-09-09T20:35:30.651Z (4 months ago)
- Topics: artificial-intelligence, artificial-neural-networks, cnn, cnn-model, convolutional-neural-networks, deep-learning, deep-neural-networks, image-generation, machine-learning, models, neural-networks, neural-style-transfer, nst
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NST for Artistic Image Creation
This project focuses on Neural Style Transfer (NST), a technique that applies the style of one image to the content of another image, creating a new, stylized image. NST leverages deep learning models, particularly Convolutional Neural Networks (CNNs), to extract and combine the content and style features of images. This project will guide you through setting up, training, and using a neural style transfer model to create beautiful artistic images.
## Features
- **Content and Style Image Processing**: Load and preprocess images.
- **Style Transfer Model**: A CNN model for NST.
- **Training Script**: Train the model with content and style images.
- **Image Generation Script**: Generate new stylized images.
- **Results Visualization**: Visualize and save stylized images.## How to use?
1. Clone the repository
```bash
git clone https://github.com/SreeEswaran/NST-for-Artistic-Image-Creation.git
cd NST-for-Artistic-Image-Creation
```2. Install the dependencies
```bash
pip install -r requirements.txt
```
## Train the model
```bash
python script/train.py
# or
python scripts/train.py --content_path data/content/content_image.jpg --style_path data/style/style_image.jpg --output_path outputs/stylized_images
```
## Generate the results
```bash
python scripts/generate.py
(or)
python scripts/generate.py --content_path data/content/content_image.jpg --style_path data/style/style_image.jpg --output_path outputs/stylized_images
```