CLIPasso: Semantically-Aware Object Sketching

Yael Vinker, Ehsan Pajouheshgar, Jessica Y. Bo, Roman Christian Bachmann, Amit Haim Bermano +3 more
2/11/2022
cs.GRcs.AIcs.CV

Official code: yael-vinker/CLIPasso (964 stars, Jupyter Notebook, last commit 2024-06-14).

Abstract

Abstraction is at the heart of sketching due to the simple and minimal nature of line drawings. Abstraction entails identifying the essential visual properties of an object or scene, which requires semantic understanding and prior knowledge of high-level concepts.

Show full abstract

Abstract depictions are therefore challenging for artists, and even more so for machines. We present CLIPasso, an object sketching method that can achieve different levels of abstraction, guided by geometric and semantic simplifications. While sketch generation methods often rely on explicit sketch datasets for training, we utilize the remarkable ability of CLIP (Contrastive-Language-Image-Pretraining) to distill semantic concepts from sketches and images alike. We define a sketch as a set of Bézier curves and use a differentiable rasterizer to optimize the parameters of the curves directly with respect to a CLIP-based perceptual loss. The abstraction degree is controlled by varying the number of strokes. The generated sketches demonstrate multiple levels of abstraction while maintaining recognizability, underlying structure, and essential visual components of the subject drawn.

View on arXivView PDF

Code Implementations(1)

964111Jupyter Notebook, PythonFeb 2, 20222 years agoNOASSERTION

Similar Papers

Cite this paper

@article{vinker2022clipasso,
  title  = {CLIPasso: Semantically-Aware Object Sketching},
  author = {Yael Vinker and Ehsan Pajouheshgar and Jessica Y. Bo and Roman Christian Bachmann and Amit Haim Bermano and Daniel Cohen-Or and Amir Zamir and Ariel Shamir},
  year   = {2022},
  eprint = {2202.05822},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05822}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.05822.svg)](https://codeofpaper.com/paper/2202.05822)

Discussion