anuj-kosambi / autosvg

Autosvg is tracing tool, which can convert image format like (jpg,png,gif) into vector
https://autosvg.now.sh
123 stars 22 forks source link
automatic autosvg convert image jpg jpg-to-svg png png-to-svg svg trace

AutoSvg

All Contributors

Autosvg is tracing tool, which can convert image format like (jpg,png,gif) into vector svg. You can check your result here (Live Demo)[https://autosvg.now.sh].

Results

Clipart tracing

Result-1

Logo tracing

Result-2

Image tracing

Result-3

Building AutoSVG-WASM.js

Prerequisite

Automatic Setup

> git submodule update --init

> sh build.sh

Manual Setup

#
# https://github.com/emscripten-core/emsdk.git
#
export EMSDK=< path to Emscripten SDK repo>
#
# https://github.com/opencv/opencv.git
#
export OPENCV_SDK=<path to opencv repo>
#
# https://github.com/dpilger26/NumCpp.git
#
export NUMCPP=<path to numcpp repo>
cd $OPENCV_SDK
python ./platforms/js/build_js.py build_wasm --build_wasm
cd ../..

Running AutoSVG-UI

> cd src/autosvg_ui/ && npm install
> npm run start 

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Abhas Tandon

💻

Prasoon

💻

This project follows the all-contributors specification. Contributions of any kind welcome!