Skip to content

Merge Masks

This layer (merge_bitmap_masks) takes all bitmap annotations which has same class name and merge it into single bitmap annotation.

{
  "src": [
    "$sample1"
  ],
  "dst": "$sample2",
  "action": "merge_bitmap_masks",
  "settings": {
    "class": "Bird"
  }
}

Settings

  • class — name of class for merging.

Visual example:

Before:

After:

Similar commands: