Flip
layer simply flips data (images + annotations) vertically or horizontally.
Supports flipping bitmap
, polygon
, rectangle
, point
, polyline
, graph
(keypoint
) geometry types.
- Axis - Choose the direction along which the images with annotations will be flipped (
vertical
orhorizontal
).
Select vertical
in layer settings.
Original image | Vertical flip |
Select horizontal
in layer settings.
Original image | Horizontal flip |
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" } }