A png drawing to svg converter
Project description
sketch-vectorization
Goal
The goal of this project is to implement the following paper: https://www-sop.inria.fr/reves/Basilic/2016/FLB16/fidelity_simplicity.pdf
We also implemented several new ideas, such as a convolutional neural network with synthetic data augmentation for preprocessing.
Demo
Guess what: the entire library can run in your browser !
If you want a guided tour of how the library works, go here:
If you just want to test it for yourself, with your own drawings, go here:
Install
The library is also available as a pip package:
pip install "sketchy-svg[onnx]"
# or use uv: uv add "sketchy-svg[onnx]"
There is no command line interface. You can easily build your own, to get inspiration look at src/sketchy_svg/viz inside the class Demo
Use locally
To install the dependencies, install uv and run uv sync --extra onnx.
If you also want to train the neural network, run uv sync --extra onnx --extra train
To launch the notebooks, run uv run marimo edit ., it should open the notebooks in your browser.
Documentation
If you want, you can read the Presentation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sketchy_svg-0.2.1.tar.gz.
File metadata
- Download URL: sketchy_svg-0.2.1.tar.gz
- Upload date:
- Size: 269.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568385cdd0189205a420b22db7197645826c8c2aedd1f6a18bccd1bb447d85ec
|
|
| MD5 |
581ce7a3b8d25427b8505705512bf368
|
|
| BLAKE2b-256 |
12e5693550f30fd69ab67cb4c1b1529af6b4c1523473c10661081297f8022d03
|
Provenance
The following attestation bundles were made for sketchy_svg-0.2.1.tar.gz:
Publisher:
publish.yml on rambip/sketch-vectorization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sketchy_svg-0.2.1.tar.gz -
Subject digest:
568385cdd0189205a420b22db7197645826c8c2aedd1f6a18bccd1bb447d85ec - Sigstore transparency entry: 982768795
- Sigstore integration time:
-
Permalink:
rambip/sketch-vectorization@08afb51a12a0d556563c374525506b1dfcb562d2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rambip
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@08afb51a12a0d556563c374525506b1dfcb562d2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sketchy_svg-0.2.1-py3-none-any.whl.
File metadata
- Download URL: sketchy_svg-0.2.1-py3-none-any.whl
- Upload date:
- Size: 271.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd7aaf34280eafda43e2ccb9670b9354a2333ead6ca3bca8a2cb6ddcaebe894
|
|
| MD5 |
ffa5abd1c874a40ef2fd2e893df83b88
|
|
| BLAKE2b-256 |
21cc2be061dcd9b19a38166abded5cb36df43e75026041dbf387f56d35dd4bb9
|
Provenance
The following attestation bundles were made for sketchy_svg-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on rambip/sketch-vectorization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sketchy_svg-0.2.1-py3-none-any.whl -
Subject digest:
7bd7aaf34280eafda43e2ccb9670b9354a2333ead6ca3bca8a2cb6ddcaebe894 - Sigstore transparency entry: 982768802
- Sigstore integration time:
-
Permalink:
rambip/sketch-vectorization@08afb51a12a0d556563c374525506b1dfcb562d2 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rambip
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@08afb51a12a0d556563c374525506b1dfcb562d2 -
Trigger Event:
push
-
Statement type: