18th April 2025

We’re excited to launch help for zero-shot segmentation labeling in Roboflow Annotate utilizing Meta AI’s Phase Something Mannequin (SAM).

Utilizing the Good Polygon characteristic, you’re accessing a cloud-hosted Phase Something mannequin enabling you to use polygon annotations quicker, simpler, and extra precisely than ever earlier than, proper contained in the Roboflow UI. No setup. No servers. No integrations. Create annotations with one click on.

Beginning at this time and ending April 20th, all customers can entry the brand new SAM powered Good Polygon characteristic without cost. Log in to offer it a strive.

Lowering the time and price to label information whereas rising the accuracy of labels means extra correct fashions operating in manufacturing.

This put up will present you easy methods to entry the brand new characteristic and finest practices for utilizing it to the fullest extent on your labeling wants. Let’s get began!

Including Information

You may add information to your Roboflow account in a number of methods. Frequent strategies are drag-and-drop within the Roboflow UI, through API or CLI, and Youtube video add. Moreover, you may make the most of any of the 200okay+ open supply datasets in Roboflow Universe to clone pictures (with or with out labels) into your account.

Utilizing Good Polygon with SAM

When you’re within the labeling interface, click on the cursor icon in the proper toolbar to allow Good Polygon and choose the free preview of Enhanced.

Good Polygon is now operating SAM within the browser. You’ll discover you may hover over objects and see a preview of the masks that can be generated together with your preliminary click on. These previews assist save time as a result of you may see masks earlier than you apply them and navigate the picture to search out the most effective preliminary masks to create.

While you create an preliminary masks, you can choose the complexity of your polygon (toggle between them to see the distinction!) after which settle for the preliminary masks by urgent Enter.

You may interactively edit the preliminary masks by clicking exterior of the masks to develop the masks, or click on contained in the masks the place it might have included greater than your required object.

For bigger objects or objects the place masks aren’t created correctly in a single click on, you may click on and drag to attract a field across the full object. The strategy you utilize relies on your information so experiment with what works finest for you.

Convert Bounding Bins to Polygons

With Good Polygon, you’re in a position to convert bounding field annotations into polygon annotations. Proper click on any bounding field then choose Convert to Good Polygon.

It’s also possible to convert polygons to effectively becoming bounding containers utilizing the identical proper click on technique.

Ideas for Labeling with SAM

We suggest utilizing actual world information out of your manufacturing surroundings to know how SAM performs with objects on your particular use case. The interactive Meta AI browser demo has top quality photographs which can have objects you’re desirous about labeling however your picture measurement or high quality might influence how effectively the mannequin creates annotations in observe.

As we’ve explored labeling with SAM, there are areas to bear in mind when labeling. Fantastic edges, corners, and small areas can require extra effort to seize. These edge instances are impacted by picture measurement and picture high quality.

Within the under instance, the highest left picture is the complete unique picture. Within the prime proper picture, when segmenting the carpet, there are numerous carpet pixels not captured by SAM.

Within the backside left, you may see SAM struggles to section the world between fingers. If we take the identical picture, crop the problematic space, and add, SAM handles the smaller areas a lot better. Take this into consideration when labeling and importing your information.

For added velocity, you may create a number of particular person masks of objects when deciding on areas to section.

Conclusion

SAM is a breakthrough basis mannequin for laptop imaginative and prescient and has broad applicability throughout domains. Learn extra in regards to the SAM structure or see our tutorial on easy methods to use SAM for exploring different methods you may leverage this new mannequin in your subsequent laptop imaginative and prescient challenge.

An effective way to familiarize your self with SAM and ideate on how you should utilize the mannequin is to expertise the way it interacts together with your information. All Roboflow accounts have entry till April 20th so give it a strive at this time without cost.

We’ve extra within the works and plan to launch many new options that can assist you construct with Roboflow and SAM!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.