Skip to content

v5.4.0

Choose a tag to compare

@wkentaro wkentaro released this 31 Dec 05:19

LabelMe v5.4 adds an AI mask annotation mode and integrates EfficientSAM as a faster AI model option, alongside toolbar cleanups and several labelme2voc.py export improvements.

Changelog

Added

  • Added an AI mask annotation mode that generates shapes as masks using AI (#1358)
  • Integrated EfficientSAM as a faster AI model option (claimed ~20x faster than original SAM) (#1375)
  • Added a menu to toggle visibility of all shapes with keyboard shortcuts (#1381)
  • Added regex filename search in the file browser (#1384)
  • Included translation files in the package to enable localization everywhere (#1383)
  • Added an ai.default config key to set the default AI model in ~/.labelmerc

Changed

  • Increased resolution of polygon approximation for more accurate AI-generated polygons (#1363)
  • Cleaned up the toolbar: removed less common items and clarified distinction between actions and other controls (#1356)
  • Resized toolbar icons to 32x32 for consistent alignment (#1357)
  • Used a tight bounding box to represent the bounding box for mask shapes (#1379)
  • Exported original VOC format in labelme2voc.py (#1323)
  • Added support for comma-separated text for the --labels argument in labelme2voc.py (#1326)
  • Sorted JSON file processing order in labelme2voc.py for deterministic output (#1327)
  • Showed label names and image preview in draw_label_png.py (#1318)
  • Removed custom font override to stop interfering with system font rendering (#1355)
  • Cleaned up AI-generated masks by removing small noisy objects (smaller than 5% of the mask area) after SAM prediction

Fixed

  • Fixed file paths displaying incorrectly on Windows by normalizing path separators (#1362)
  • Fixed a crash caused by an incompatible onnxruntime version by pinning away from 1.16.0 (#1364)
  • Fixed a crash when an AI mode was activated before an image was loaded

Install

pip install -U labelme==5.4.0

Full Changelog: v5.3.1...v5.4.0