All Projects → mtli → Photosketch

mtli / Photosketch

Licence: other
Code for Photo-Sketching: Inferring Contour Drawings from Images 🐶

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Photosketch

Svgo
Go Language Library for SVG generation
Stars: ✭ 1,779 (+539.93%)
Mutual labels:  graphics, sketch
Sprite
Sketch 3 Plugin that makes SpriteSheets for game developers to export or use
Stars: ✭ 23 (-91.73%)
Mutual labels:  graphics, sketch
Awesome Design
🌟 Curated design resources from all over the world.
Stars: ✭ 13,333 (+4696.04%)
Mutual labels:  graphics, sketch
Sketch
A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
Stars: ✭ 1,026 (+269.06%)
Mutual labels:  graphics, sketch
Lunacy Docs
Documentation for Lunacy, Graphic Design Software with built-in assets
Stars: ✭ 190 (-31.65%)
Mutual labels:  graphics, sketch
Ofelia
A real-time cross-platform creative coding tool for multimedia development
Stars: ✭ 269 (-3.24%)
Mutual labels:  graphics
Olivia
💁‍♀️Your new best friend powered by an artificial neural network
Stars: ✭ 3,114 (+1020.14%)
Mutual labels:  ai
Basic4ai
机器学习、深度学习、自然语言处理等人工智能基础知识总结。
Stars: ✭ 267 (-3.96%)
Mutual labels:  ai
Awesome Mlops
😎 A curated list of awesome MLOps tools
Stars: ✭ 258 (-7.19%)
Mutual labels:  ai
Liblava
🌋 A modern and easy-to-use library for the Vulkan API
Stars: ✭ 275 (-1.08%)
Mutual labels:  graphics
Sketch Connection Flow Arrows
Plugin for generating easy to use connection flow arrows in Sketch
Stars: ✭ 275 (-1.08%)
Mutual labels:  sketch
Detecting Fake Text
Giant Language Model Test Room
Stars: ✭ 271 (-2.52%)
Mutual labels:  ai
Ltfinderbuttons
My Finder buttons collection for macOS.
Stars: ✭ 269 (-3.24%)
Mutual labels:  sketch
Merge Duplicate Symbols
Sketch plugin to merge symbols and layer&text styles.
Stars: ✭ 272 (-2.16%)
Mutual labels:  sketch
Sketch Module Web View
A sketch module for creating an complex UI with a webview
Stars: ✭ 270 (-2.88%)
Mutual labels:  sketch
Sketch Gifme Plugin
Embed gifs and videos in your Sketch files!
Stars: ✭ 274 (-1.44%)
Mutual labels:  sketch
Rust Psp
Rust on PSP. Panic and allocation support. Access PSP system libraries.
Stars: ✭ 265 (-4.68%)
Mutual labels:  graphics
Sketchcontentsync
Sync sketch files with google docs.
Stars: ✭ 270 (-2.88%)
Mutual labels:  sketch
Rdsystem
Reaction-diffusion system with CustomRenderTexture.
Stars: ✭ 271 (-2.52%)
Mutual labels:  graphics
Machinelearningroguelike
A small Roguelike game that uses Machine Learning to power its entities. Originally used in talks by Ciro & Alessia.
Stars: ✭ 270 (-2.88%)
Mutual labels:  ai

Photo-Sketching: Inferring Contour Drawings from Images

Teaser

This repo contains the training & testing code for our sketch generator. We also provide a [pre-trained model].

For technical details and the dataset, please refer to the [paper] and the [project page].

Setting up

The code is now updated to use PyTorch 0.4 and runs on Windows, Mac and Linux. For the obsolete version with PyTorch 0.3 (Linux only), please check out the branch pytorch-0.3-obsolete.

Windows users should find the corresponding .cmd files instead of .sh files mentioned below.

One-line installation (with Conda environments)

conda env create -f environment.yml

Then activate the environment (sketch) and you are ready to go!

See here for more information about conda environments.

Manual installation

See environment.yml for a list of dependencies.

Using the pre-trained model

  • Download the pre-trained model
  • Modify the path in scripts/test_pretrained.sh
  • From the repo's root directory, run scripts/test_pretrained.sh

It supports a folder of images as input.

Train & test on our contour drawing dataset

  • Download the images and the rendered sketch from the project page
  • Unzip and organize them into the following structure:

File structure

  • Modify the path in scripts/train.sh and scripts/test.sh
  • From the repo's root directory, run scripts/train.sh to train the model
  • From the repo's root directory, run scripts/test.sh to test on the val set or the test set (specified by the phase flag)

Citation

If you use the code or the data for your research, please cite the paper:

@article{LIPS2019,
  title={Photo-Sketching: Inferring Contour Drawings from Images},
  author={Li, Mengtian and Lin, Zhe and M\v ech, Radom\'ir and and Yumer, Ersin and Ramanan, Deva},
  journal={WACV},
  year={2019}
}

Acknowledgement

This code is based on an old version of pix2pix.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].