You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the Ultralytics YOLO Flutter plugin! Integrate cutting-edge [Ultralytics YOLO](https://docs.ultralytics.com/)[computer vision](https://www.ultralytics.com/glossary/computer-vision-cv) models seamlessly into your Flutter mobile applications. This plugin at https://pub.dev/packages/ultralytics_yolosupports both Android and iOS platforms, offering APIs for [object detection](https://docs.ultralytics.com/tasks/detect/), [image classification](https://docs.ultralytics.com/tasks/classify/), [instance segmentation](https://docs.ultralytics.com/tasks/segment/), [pose estimation](https://docs.ultralytics.com/tasks/pose/), and [oriented bounding box detection](https://docs.ultralytics.com/tasks/obb/).
15
+
Ultralytics YOLO Flutter is the official plugin for running YOLO models in Flutter apps on iOS and Android. It supports [detection](https://docs.ultralytics.com/tasks/detect/), [segmentation](https://docs.ultralytics.com/tasks/segment/), [classification](https://docs.ultralytics.com/tasks/classify/), [pose](https://docs.ultralytics.com/tasks/pose/), and [OBB](https://docs.ultralytics.com/tasks/obb/) with two simple entry points:
16
16
17
-
**✨ Why Choose YOLO Flutter?**
17
+
-`YOLO` for single-image inference
18
+
-`YOLOView` for real-time camera inference
19
+
20
+
The main goal is simple integration: use an official model ID, or drop in your own exported model and let the plugin resolve task metadata for you.
21
+
22
+
## ✨ Why This Plugin
18
23
19
24
| Feature | Android | iOS |
20
25
| --------------- | ------- | --- |
@@ -24,114 +29,159 @@ Welcome to the Ultralytics YOLO Flutter plugin! Integrate cutting-edge [Ultralyt
24
29
| Pose Estimation | ✅ | ✅ |
25
30
| OBB Detection | ✅ | ✅ |
26
31
27
-
-**Official Ultralytics Plugin** - Direct from YOLO creators
28
-
-**Real-time Performance** - Up to 30 FPS on modern devices
29
-
-**5 AI Tasks** - Detection, Segmentation, Classification, Pose, OBB
30
-
-**Cross-platform** - iOS & Android with single codebase
| Fastest first integration | Official model ID like `yolo26n`|
110
+
| You trained or exported your own model | Custom asset or local file |
111
+
| You ship different models per customer or environment | Remote URL |
112
+
| You need the plugin to infer `task` automatically | Any export with metadata |
113
+
| You have an older or stripped export without metadata | Custom model plus explicit `task`|
85
114
86
-
1. Download from the [release assets](https://github.com/ultralytics/yolo-flutter-app/releases/tag/v0.2.0) of this repository
115
+
For official models, start with `YOLO.officialModels()`. For custom models, start with the exported file you actually plan to ship.
87
116
88
-
2. Get it from [Ultralytics HUB](https://www.ultralytics.com/hub)
117
+
## 📥 Drop Your Own Model Into an App
89
118
90
-
3. Export it from [Ultralytics/ultralytics](https://github.com/ultralytics/ultralytics) ([CoreML](https://docs.ultralytics.com/integrations/coreml/)/[TFLite](https://docs.ultralytics.com/integrations/tflite/))
119
+
For custom models, keep the app-side setup minimal.
91
120
92
-
For YOLO26, use the same steps and grab the `yolo26*` artifacts from the `v0.2.0` release (e.g., `yolo26n.tflite` / `yolo26n.mlpackage`).
121
+
- Android native assets: place `.tflite` files in `android/app/src/main/assets`
122
+
- Flutter assets on Android: place `.tflite` files in `assets/models/`
123
+
- iOS bundle: drag `.mlpackage` or `.mlmodel` into `ios/Runner.xcworkspace`
124
+
- Flutter assets on iOS: place `.mlpackage.zip` files in `assets/models/`
93
125
94
-
### Export Models for iOS
126
+
Then point `modelPath` at that file or asset path.
127
+
128
+
### iOS export note
129
+
130
+
Detection models exported to CoreML must use `nms=True`:
0 commit comments