v5.3.0
LabelMe v5.3 integrates the Segment Anything Model (SAM) for AI-assisted polygon annotation: click to segment, refine with positive and negative point clicks, and choose from selectable AI models.
Changelog
Added
- Integrated Segment Anything Model (SAM) for AI-assisted polygon annotation (
Create AI-Polygonmode) (#1262) - Added support for positive and negative point clicks (Shift+click to exclude regions) for SAM annotation (#1262)
- Added support for 1-click annotation in
ai_polygonmode (#1262) - Added real-time polygon preview while placing SAM points (#1262)
- Added a dropdown to select AI models (#1262)
- Added an image embedding cache to speed up repeated SAM annotations on the same image (#1262)
- Added a zoom level label to the UI (#1262)
Changed
- Breaking: Renamed command-line tool
labelme_json_to_datasettolabelme_export_json(#1308) - Moved the toolbar to the top by default (#1262)
- Enabled Ctrl+Shift key combination for annotation interactions (#1262)
- Set shape fill color to black and enabled fill by default (#1262)
Fixed
- Fixed polygon contour detection at image borders (#1262)
- Fixed uninitialized AI model image when annotating consecutive images (#1262)
- Fixed
double_click="close"behavior requiring fewer than 4 points to close a polygon (#1262) - Fixed duplicate last point in polygon computed from AI points (#1262)
- Treated zero-length lines as lines to avoid unintuitive behavior (#1262)
- Fixed portrait-orientation image handling in Segment Anything Model (#1262)
Install
pip install -U labelme==5.3.0Full Changelog: v5.2.1...v5.3.0