Repository navigation
v0.7.2 - Release 0.7.2: use UltralyticsYOLO 8.9.19 annotation colors and model colors metadata (#620)
Latest
·
1 commit
to main
since this release
🌟 Summary
Ultralytics YOLO Flutter 0.7.2 brings model-specific annotation colors, faster Android overlays, and more consistent prediction defaults across Android, iOS, and Dart.
📊 Key Changes
- 🎨 Uses custom model colors: Android and iOS now read optional
colorsmetadata, so annotations can reflect class colors set on Ultralytics Platform. Models without this metadata keep the default palette. - 🍎 Shares iOS annotation code: The plugin now depends on UltralyticsYOLO 8.9.19 or newer and uses the shared package’s annotation and label styling instead of maintaining duplicate copies.
- ⚡ Improves Android overlay performance: Live detection, segmentation, and pose overlays reduce per-box work, and depth colorization is reported as about 40% faster.
- 🎯 Changes the default NMS IoU threshold to 0.5 across Android, iOS, and Dart, matching Ultralytics prediction defaults.
- 📱 Raises the minimum Flutter version to 3.41.0 to fix iOS Swift Package Manager dependency resolution.
- 📚 Updates benchmark and deployment guidance, including NPU measurements. These NPU results were collected with a prototype build and do not mean NPU execution is included in this release.
🎯 Purpose & Impact
- Custom-trained models can show their chosen class colors on-device, making results easier to recognize and consistent with their training or annotation setup.
- Faster overlay drawing should help make live camera results feel smoother, particularly for depth and tasks with many detections.
- The IoU default is more likely to suppress overlapping duplicate detections without requiring users to change a setting.
- iOS users benefit from one shared source for annotation behavior, while developers upgrading must use Flutter 3.41.0 or newer.
What's Changed
- Replace stale benchmark content and add LiteRT NPU results by @glenn-jocher in #608
- Bump actions/setup-java from v5 to v6 in /.github/workflows by @UltralyticsAssistant in #611
- Update the app preview image to current screenshots by @glenn-jocher in #612
- Fix FlutterFramework dependency in iOS Swift package by @FisherWL in #613
- Clarify Pixel Tensor AOT support by @glenn-jocher in #614
- Link Android deployment guides by @glenn-jocher in #616
- Use the macos-latest runner label by @glenn-jocher in #617
- Align annotation colors, label font and depth colormap with the Ultralytics spec and read model colors metadata by @glenn-jocher in #619
- Default NMS IoU to 0.5 to match Ultralytics predict by @glenn-jocher in #618
- Release 0.7.2: use UltralyticsYOLO 8.9.19 annotation colors and model colors metadata by @glenn-jocher in #620
New Contributors
Full Changelog: v0.7.1...v0.7.2