yolo-flutter-app-desktop¶
yolo-flutter-app-desktop
| 项目信息 | |
|---|---|
| 仓库 | https://github.com/Maicarons/yolo-flutter-app-desktop |
| 在线体验 | https://pub.dev/packages/ultralytics_yolo |
| 主要语言 | C++ |
| Stars | 0 |
| 类型 | Fork(镜像 / 二次开发) |
| 许可证 | AGPL-3.0 |
| 最近更新 | 2026-06-05 |
ℹ️ 本仓库为 Fork,基于上游项目进行镜像或二次开发。
🚀 YOLO Flutter Desktop¶
Ultralytics YOLO Flutter plugin for desktop platforms (Windows, Linux, macOS, Web).
This is a fork of ultralytics/yolo-flutter-app adapted for desktop platforms using ONNX Runtime as the inference backend.
✨ Supported Platforms¶
| Platform | Inference Engine | Status |
|---|---|---|
| Windows | ONNX Runtime C++ | ✅ Working |
| Linux | ONNX Runtime C++ | ✅ Working |
| macOS | ONNX Runtime C++ | 🚧 Stub (needs ONNX Runtime binding) |
| Web | ONNX Runtime Web | 🚧 Stub (needs JS interop) |
⚡ Quick Start¶
import 'package:ultralytics_yolo/ultralytics_yolo.dart';
// Single image inference
final yolo = YOLO(modelPath: 'yolo26n');
await yolo.loadModel();
final results = await yolo.predict(imageBytes);
// Real-time camera inference
YOLOView(
modelPath: 'yolo26n',
onResult: (results) {
for (final r in results) {
print('${r.className}: ${r.confidence}');
}
},
)
📦 Model Assets¶
All desktop platforms use the same TFLite int8 models from the v0.3.5 release.
Models are automatically downloaded on first use and cached in the app's support directory.
🔨 Building¶
Windows¶
flutter build windows
Linux¶
flutter build linux
macOS¶
flutter build macos
Web¶
flutter build web
🎯 Features¶
- Single Image Inference:
YOLOclass for one-shot predictions - Real-time Camera Inference:
YOLOViewwidget for live camera feeds - 6 Task Types: Detection, Segmentation, Semantic Segmentation, Classification, Pose Estimation, OBB
- 5 Model Sizes: Nano, Small, Medium, Large, XLarge
- Auto Model Download: Models are downloaded and cached automatically
- Multi-instance Support: Run multiple YOLO instances simultaneously
📚 Documentation¶
See the original documentation for detailed API usage.
📄 License¶
AGPL-3.0 License - See LICENSE for details.