📌

Getting started

📂

Data Organization

📝

Labeling

🤝

Collaboration

⚙

Data Manipulation

🔮

Neural Networks

🔧

Customization

👔

Enterprise Edition

Approx Vector

This layer (

`approx_vector`

) approximates vector figures: lines and polygons.The operation decreases number of vertices with Douglas-Peucker algorithm.

Example:

{

"action": "approx_vector",

"src": [

"$sample1"

],

"dst": "$sample2",

"settings": {

"classes": [

"my_line",

"interesting_poly"

],

"epsilon": 3

}

}

Settings

`classes`

— list of classes to apply transformation. Only classes with shape "line" or "polygon" are allowed.`epsilon`

— approximation accuracy (maximum distance between the original curve and its approximation).

Example

Last modified 2yr ago