See Sketch Learning - SVG 生成 PNG 和坐标序列 for more details.(In Chinese)
Parse the svg file of sketch into coordinate sequences.
pip install svgwrite
pip install svgpathtools
pip install wand
- example.py
Parse a svg file
- svg_to_coord.py
Parse the svg file of Tu-Berlin sketch dataset. You should first decompression the svg files into ./data. You can download the data from http://cybertron.cg.tu-berlin.de/eitz/projects/classifysketch/sketches_svg.zip