Code Monkey home page Code Monkey logo

posterchild's Introduction

PosterChild

PosterChild: Blend‐Aware Artistic Posterization (EGSR 2021). Please read paper for more details.

[Cheng-Kang Ted Chao, Karan Singh, Yotam Gingold.]

License

This work is dual-licensed under Apache 2.0 and MIT.

SPDX-License-Identifier: Apache-2.0 and MIT

Installation

MacOS or Linux

Use Poetry. Install Poetry itself via pip install poetry or brew install poetry. Then:

poetry install --no-root
poetry shell

To create a double-clickable .app for macOS users, run (inside a poetry shell):

pyinstaller posterization_gui.spec

A double-clickable Posterization GUI.app will appear inside the dist/ directory.

Windows or MacOS

Install Anaconda or Miniconda. (Miniconda is faster to install.) Choose the 64-bit Python 3.x version. Launch the Anaconda shell from the Start menu and navigate to the posterization directory. Then:

conda env create -f environment.yml
conda activate posterization

To update an already created environment if the environment.yml file changes, first activate and then run conda env update --file environment.yml --prune.

Usage

Launch the GUI:

python src/gui.py

Command line example:

python src/cli.py [source-image-path] [output-image-path] [output-additive-mixing-path] [0 or 1 (indicating if using downsampled approach)]

posterchild's People

Contributors

tedchao avatar yig avatar

Watchers

James Cloos avatar  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.