Links

Enhanced Smart Polygon with SAM

Generate more precise polygons with SAM-powered Smart Polygon.
Roboflow offers an enhanced Smart Polygon experience powered by Segment Anything (SAM), a state-of-the-art image segmentation model. To use SAM, enable Smart Polygon in Roboflow Annotate from the annotation tool sidebar:
Select "Enhanced" from the pop up that asks what Smart Polygon mode you want to enable:
Smart Polygon is now running SAM in the browser. You’ll notice you can hover over objects and see a preview of the mask that will be generated with your initial click. These previews help save time because you can see masks before you apply them and navigate the image to find the best initial mask to create.
When you create an initial mask, you'll be able to select the complexity of your polygon (toggle between them to see the difference!) and then accept the initial mask by pressing Enter.
You can interactively edit the initial mask by clicking outside of the mask to expand the mask, or click inside the mask where it may have included more than your desired object.
For larger objects or objects where masks aren’t created properly in one click, you can click and drag to draw a box around the full object. The method you use depends on your data so experiment with what works best for you.
Last modified 8mo ago