Turn AI masks into polygons you can edit
A mask is saved as pixels, and a polygon as points. When a mask from AI-Segment is a few pixels off along one edge, there is no point on it to drag.
In Labelme v7.10.0, Convert To turns the mask into a polygon. Switch to Select, click the mask, right-click it, and choose Convert To, then Polygon…. A slider sets the Polygon Detail while the canvas previews the polygon. Click Convert, and you can drag its points.
Polygon Detail, with a preview
A mask can become many different polygons, so Labelme asks for the Polygon Detail first (#3058). The slider runs from Smoother to More detail. The canvas redraws the preview as the slider moves, and nothing changes until you click Convert. Cancel leaves the mask as it was.
What the polygon keeps
The polygon keeps the mask's Label, Group, Shape Flags and description (#3054). One undo brings the mask back.
A mask in several separate pieces can become several polygons, one per piece, and a small piece can drop out at a lower detail (#3058). The preview shows the polygons you will get. Two or more polygons from one mask share its Group, or a new Group when the mask had none. Holes in a mask are not kept.
The rest of the menu
Convert To is in the Edit menu and in the menu that a right-click on a Shape opens. It lists every Shape kind and dims the ones the selection cannot become (#3054).
A circle becomes a polygon after the same Polygon Detail dialog (#3057). The other conversions have one result and happen at once. A rectangle becomes a polygon (#3054). An oriented rectangle becomes a polygon, and a circle or a mask becomes a Rectangle, its bounding box, which Labelme clips to the Image by default (#3055). A polygon becomes a mask (#3058).
To get polygons from AI-Segment without converting, set its Output to Polygon before you click.