Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 1.87 KB

File metadata and controls

69 lines (56 loc) · 1.87 KB

Flip

Flip layer simply flips data (images + annotations) vertically or horizontally.

Supports flipping bitmap, polygon, rectangle, point, polyline, graph (keypoint) geometry types.

Settings:

  • Axis - Choose the direction along which the images with annotations will be flipped (vertical or horizontal).

Example 1. Vertical flip

Select vertical in layer settings.

Original image Vertical flip
Original image vertical flip

Example 2. Horizontal flip

Select horizontal in layer settings.

Original image Horizontal flip
Original image horizontal flip

JSON views

JSON view for vertical flip
{
  "action": "flip",
  "src": ["$images_project_1"],
  "dst": "$images_project_2",
  "settings": {
    "axis": "vertical"
  }
}
JSON view for horizontal flip
{
  "action": "flip",
  "src": ["$images_project_1"],
  "dst": "$images_project_2",
  "settings": {
    "axis": "horizontal"
  }
}