All Projects → preddy5 → Im2Vec

preddy5 / Im2Vec

Licence: Apache-2.0 license
[CVPR 2021 Oral] Im2Vec Synthesizing Vector Graphics without Vector Supervision

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects

Projects that are alternatives of or similar to Im2Vec

Gerbolyze
Render high-resolution bitmap images to PCB gerber files
Stars: ✭ 169 (-26.2%)
Mutual labels:  computer-graphics, vector-graphics
cinema4d py sdk extended
The official Python API examples for Cinema 4D.
Stars: ✭ 95 (-58.52%)
Mutual labels:  computer-graphics
weekend-raytracer-zig
A Zig implementation of the "Ray Tracing in One Weekend" book
Stars: ✭ 74 (-67.69%)
Mutual labels:  computer-graphics
unity-raymarcher
Real-time ray marching shaders in Unity
Stars: ✭ 28 (-87.77%)
Mutual labels:  computer-graphics
BCNet
Deep Occlusion-Aware Instance Segmentation with Overlapping BiLayers [CVPR 2021]
Stars: ✭ 434 (+89.52%)
Mutual labels:  cvpr2021
Texturize
A unified framework for example-based texture synthesis, developed alongside my master's thesis.
Stars: ✭ 15 (-93.45%)
Mutual labels:  computer-graphics
blend2d-python
Cython wrapper for Blend2D
Stars: ✭ 13 (-94.32%)
Mutual labels:  vector-graphics
CondenseNetV2
[CVPR 2021] CondenseNet V2: Sparse Feature Reactivation for Deep Networks
Stars: ✭ 73 (-68.12%)
Mutual labels:  cvpr2021
RSCD
[CVPR2021] Towards Rolling Shutter Correction and Deblurring in Dynamic Scenes
Stars: ✭ 83 (-63.76%)
Mutual labels:  cvpr2021
ST-CGAN
Dataset and Code for our CVPR'18 paper ST-CGAN: "Stacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removal"
Stars: ✭ 64 (-72.05%)
Mutual labels:  computer-graphics
FunMirrors
This is a fun project I created to motivate computer vision enthusiasts and to highlight the importance of understanding fundamental concepts related to image formation in a camera.
Stars: ✭ 43 (-81.22%)
Mutual labels:  computer-graphics
Multimodal-Shape-Completion
code for our ECCV 2020 spotlight paper "Multimodal Shape Completion via Conditional Generative Adversarial Networks"
Stars: ✭ 73 (-68.12%)
Mutual labels:  computer-graphics
DeepSIM
Official PyTorch implementation of the paper: "DeepSIM: Image Shape Manipulation from a Single Augmented Training Sample" (ICCV 2021 Oral)
Stars: ✭ 389 (+69.87%)
Mutual labels:  computer-graphics
platonicgan
Escaping Plato’s Cave: 3D Shape from Adversarial Rendering [ICCV 2019]
Stars: ✭ 40 (-82.53%)
Mutual labels:  computer-graphics
Anime4K-rs
An attempt to write Anime4K in Rust
Stars: ✭ 104 (-54.59%)
Mutual labels:  computer-graphics
Volume-Unity-Plugin
A Unity3D plugin for rendering Volume assets
Stars: ✭ 68 (-70.31%)
Mutual labels:  computer-graphics
Monte-Carlo-Path-Tracer
A realistic Monte Carlo Path Tracer project for CS230 (Virtual Reality and Interactive 3D Graphics Display), ACM Class, SJTU
Stars: ✭ 19 (-91.7%)
Mutual labels:  computer-graphics
iconvg
IconVG is a compact, binary format for simple vector graphics: icons, logos, glyphs and emoji.
Stars: ✭ 626 (+173.36%)
Mutual labels:  vector-graphics
sdk
TinyVG software development kit
Stars: ✭ 135 (-41.05%)
Mutual labels:  vector-graphics
RainNet
[CVPR 2021] Region-aware Adaptive Instance Normalization for Image Harmonization
Stars: ✭ 125 (-45.41%)
Mutual labels:  cvpr2021

Im2Vec: Synthesizing Vector Graphics without Vector Supervision

Vector graphics are widely used to represent fonts, logos, digital artworks, and graphic designs. But, while a vast body of work has focused on generative algorithms for raster images, only a handful of options exists for vector graphics. One can always rasterize the input graphic and resort to image-based generative approaches, but this negates the advantages of the vector representation. The current alternative is to use specialized models that require explicit supervision on the vector graphics representation at training time. This is not ideal because large-scale high quality vector-graphics datasets are difficult to obtain. Furthermore, the vector representation for a given design is not unique, so models that supervise on the vector representation are unnecessarily constrained. Instead, we propose a new neural network that can generate complex vector graphics with varying topologies, and only requires indirect supervision from readily-available raster training images (i.e., with no vector counterparts). To enable this, we use a differentiable rasterization pipeline that renders the generated vector shapes and composites them together onto a raster canvas. We demonstrate our method on a range of datasets, and provide comparison with state-of-the-art SVG-VAE and DeepSVG, both of which require explicit vector graphics supervision. Finally, we also demonstrate our approach on the MNIST dataset, for which no groundtruth vector representation is available.

Website: http://geometry.cs.ucl.ac.uk/projects/2021/im2vec/

Usage

Training

CUDA_VISIBLE_DEVICES=1 python run.py -c configs/emoji.yaml

Inference

cd ./logs/VectorVAEnLayers/version_110
wget  http://geometry.cs.ucl.ac.uk/projects/2021/im2vec/paper_docs/epoch=667.ckpt
CUDA_VISIBLE_DEVICES=1 python eval_local.py -c configs/emoji.yaml

Note that I have an example of the training in the logs directory. The logs directory run is only for the sake of showing what to expect if everything is working.

Citation

@article{reddy2021im2vec,
  title={Im2Vec: Synthesizing Vector Graphics without Vector Supervision},
  author={Reddy, Pradyumna and Gharbi, Michael and Lukac, Michal and Mitra, Niloy J},
  journal={arXiv preprint arXiv:2102.02798},
  year={2021}
}
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].