This repository contains the authors' C++ implementation of the paper [Integer-Grid Sketch Simplification and Vectorization](https://repo-sam.inria.fr/d3/grid-vectorization/)(SGP 2020).
The code was developed on MacOS and tested on Fedora and Windows.
The code was developed on MacOS and tested on Linux (Ubuntu, Fedora) and Windows.
## Quick start
### Setup
Run the following to install the required packages on Ubuntu (tested on Ubuntu 20.04LTS):
cmake .. -DCMAKE_BUILD_TYPE=Release -GNinja# replace -GNinja by your favorite build system
ninja# replace ninja by your favorite build system
```
## Basic usage
...
...
@@ -25,10 +40,6 @@ The output will be written to `../data/fish.svg` and shown in gui:

### Local scale control using a mask
**TODO**
### Terminal mode
By default, the program will be run in gui mode. You can run the program in terminal-only mode using the `--no-gui` flag.
```shell
...
...
@@ -74,4 +85,4 @@ The code in this repository except for the external dependencies is provided und
The external dependencies (`ext/` folder) are provided under their respective licences.
## Contact
For any questions regarding the paper or the implementation, please contact Tibor Stanko ([tibor.stanko@inria.fr](tibor.stanko@inria.fr) or [tibor.stanko@gmail.com](tibor.stanko@gmail.com)). If you find a bug, please let us know, or submit a PR.
For any questions regarding the paper or the implementation, please contact [Tibor Stanko](http://tiborstanko.sk/). If you find a bug, please let us know, or submit a PR.