Update README.md

This commit is contained in:
Chris Tsang
2021-03-01 20:57:12 +08:00
parent bcd3ffb40e
commit b2c95a50cd

View File

@@ -39,8 +39,9 @@ VTracer and its [core library](//github.com/visioncortex/visioncortex) is implem
![screenshot](docs/images/screenshot-02.png) ![screenshot](docs/images/screenshot-02.png)
## Command Line ## Command Line
```
visioncortex VTracer ```sh
visioncortex VTracer 0.3.0
A cmd app to convert images into vector graphics. A cmd app to convert images into vector graphics.
USAGE: USAGE:
@@ -56,6 +57,9 @@ OPTIONS:
-c, --corner_threshold <corner_threshold> Minimum momentary angle (degree) to be considered a corner -c, --corner_threshold <corner_threshold> Minimum momentary angle (degree) to be considered a corner
-f, --filter_speckle <filter_speckle> Discard patches smaller than X px in size -f, --filter_speckle <filter_speckle> Discard patches smaller than X px in size
-g, --gradient_step <gradient_step> Color difference between gradient layers -g, --gradient_step <gradient_step> Color difference between gradient layers
--hierarchical <hierarchical>
Hierarchical clustering `stacked` (default) or non-stacked `cutout`. Only applies to color mode.
-i, --input <input> Path to input raster image -i, --input <input> Path to input raster image
-m, --mode <mode> Curver fitting mode `pixel`, `polygon`, `spline` -m, --mode <mode> Curver fitting mode `pixel`, `polygon`, `spline`
-o, --output <output> Path to output vector graphics -o, --output <output> Path to output vector graphics