Split Masks
This layer (split_masks) takes one bitmap annotation and split it into few bitmap masks if it contain non-connected components.
1
{
2
"src": [
3
"$sample1"
4
],
5
"dst": "$sample2",
6
"action": "split_masks",
7
"settings": {
8
"classes": ["Bird", "Potato"]
9
}
10
}
Copied!

Settings

  • classes โ€” list of class names for split operation.

Visual example:

Before:
After:

Similar commands:

Last modified 1yr ago