Skip to content

This repository provides an easy-to-use implementation of neural style transfer, allowing you to apply the artistic style of one image to the content of another. Choose between the functional approach and the object-oriented programming (OOP) approach based on your preference and project requirements.

Notifications You must be signed in to change notification settings

mohamedamine99/Neural-Style-Transfer-with-Python

Repository files navigation

Neural Style Transfer with Python, TensorFlow and Keras

Image 1      Image 2      Image 3
Image 1      Image 2      Image 3

Welcome to the Neural Style Transfer repository! This project provides a powerful and user-friendly implementation of neural style transfer using Python and TensorFlow-Keras. Style transfer is a technique that allows you to apply the artistic style of one image (the "style image") to the content of another image (the "content image"). The result is a new image that combines the content of one image with the style of another, creating visually appealing and unique outputs.

Todo List

  • Task 1: Complete a first working example
  • Task 2: Implement Object-Oriented Programming (OOP) Paradigm
  • Task 3: Refactor code for better readability
  • Task 4: Write documentation

Implementation Approaches

We understand that developers have different preferences and project requirements, which is why we offer two implementation approaches within this repository: functional and object-oriented programming (OOP).

  • Functional Approach: The functional implementation provides a straightforward and easy-to-follow code structure. It is ideal for users who prefer a linear workflow and are focused on quickly applying style transfer to their images.

  • Object-Oriented Programming (OOP) Approach: The OOP implementation offers a more modular and extensible code structure. It is well-suited for developers who wish to build upon the style transfer functionality and create more complex applications or experiments.

Both approaches provide comparable results, so you can choose the one that aligns best with your coding style and project requirements.

Results visualization

Image 1      Image 2      Image 3
Image 1      Image 2      Image 3
Image 1      Image 2      Image 3
Image 1      Image 2      Image 3

About

This repository provides an easy-to-use implementation of neural style transfer, allowing you to apply the artistic style of one image to the content of another. Choose between the functional approach and the object-oriented programming (OOP) approach based on your preference and project requirements.

Topics

Resources

Stars

Watchers

Forks