Giter Club home page Giter Club logo

neural-art's Introduction

Not another neural style implementation!

Recreate photos in in the style of famous artists with machine learning. CSCI3341 Artificial Intelligence Final Project.

Usage

Make sure to download models with the util/download_models.sh script first. Thanks @jcjohnson!

python art.py --help

Examples

Create a (low quality) version of the image below. The first positional argument is the content image and the image(s) after are the style images. The further options instruct the algorithm to run for 200 iterations and output an image with a 256px maximum width, which should be doable relatively quickly on a personal computer.

python art.py examples/gasson.jpg examples/starry.jpg -n 200 -w 256

Further options include using the entire oeuvre of an artist as a stylistic target (which never works well), scaling the stylistic features by a factor, specifying whether to initialize the candidate image from random noise or the content image, and more. See the script's help for details.

The best Gassongram ever:

gasson starry gasson_final

Where do I get all this art?

util/wikiart-scraper.py contains a neat script which will automatically scrape every painting for a given artist from wikiart. Simply specify the URL component of the artist's name (e.g. pablo-picasso) in the ARTISTS array in the script.

neural-art's People

Contributors

jayelm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.