Skip to content

v0.7.2 - Release 0.7.2: use UltralyticsYOLO 8.9.19 annotation colors and model colors metadata (#620)

Latest

Choose a tag to compare

@UltralyticsAssistant UltralyticsAssistant released this 08 Nov 03:07
· 1 commit to main since this release
65a9137

🌟 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 colors metadata, 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

New Contributors

Full Changelog: v0.7.1...v0.7.2