github wkentaro/labelme v5.11.0

latest release: v5.11.1
9 hours ago

Features

  • Support square drawing for "Create Rectangle" (#1748) @kancheng
  • Use style "Fusion" for consistent appearance across platforms (#1751)
  • Introduce SAM3 (smart) model for text-to-rectangle (#1762)
  • Support "polygon" and "mask" in AI text-to-annotation (#1774)
  • Add "Preferences..." menu for config file editing (#1781)

Bug Fixes

  • Clear selectedShapes to avoid crash on loading new image (#1717)
  • Import onnxruntime before PyQt5 (#1723)
  • Use canCloseShape for double-click finalization (#1724)
  • Fix typo in variable name in shape.py (#1733) @minewilliam
  • Handle empty input in nms_bboxes (#1761)
  • Load OsamSession lazily for AI-assisted shapes (#1775)
  • Handle Windows-style paths in LabelFile (#1784)
  • Replace np.cross with manual 2D cross product (#1785)
  • Reflect file_search in config at start time (#1788)

UI Improvements

  • Show model selection in AI Prompt widget (#1752)
  • Disable "AI Prompt" widget when not in rectangle create mode (#1753)
  • Add info button to AI-assisted annotation widget (#1764)
  • Add tooltip for AI Text-to-Annotation info button (#1766)
  • Disable AI-Assisted Annotation widget when not in AI modes (#1767)
  • Add newline for Japanese translation of menu items (#1768)
  • Allow label editing when non-edit mode only from label list (#1769)

Internationalization

Build

  • Drop Python 3.9 support (#1746)
  • Migrate to ty for type checking (replacing mypy) (#1720)
  • Use hatch dynamic versioning (#1771)

Dependencies

  • Bump filelock from 3.17.0 to 3.20.3 (#1747)
  • Bump urllib3 from 2.3.0 to 2.6.3 (#1756)
  • Bump requests from 2.32.3 to 2.32.4 (#1757)
  • Bump protobuf from 5.29.3 to 5.29.5 (#1758)
  • Bump fonttools from 4.56.0 to 4.60.2 (#1759)

Refactoring

  • Add OsamSession class for osam model and embedding caching (#1754, #1760)
  • Extract and rename AiAssistedAnnotationWidget (#1763, #1765)
  • Use importlib.metadata to get version (#1770)
  • Reorganize tests into e2e and unit tests (#1786)

CI

  • Check version of pylupdate5 before generating .ts files (#1731)
  • Add Discord notification for merged PRs (#1755)

Contributors

Thanks to all contributors for this release! 🎉

Full Changelog: v5.10.1...v5.11.0

Don't miss a new labelme release

NewReleases is sending notifications on new releases.