flutter_vision
3.0.2, released 4 weeks ago by yurihuallpa.com
YOLO object detection and instance segmentation for Flutter using LiteRT
What it does
Runs Ultralytics YOLO object detection and instance segmentation models on Android and iOS. Powered by LiteRT with CPU, GPU, and NPU acceleration.
AI-written summary of version 3.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need real-time object detection or instance segmentation in a mobile app.
- You want to run YOLO models (v5 to YOLO26) locally on device.
Skip it when
- You need non-YOLO SSD models with uint8 inputs.
- You are targeting Intel Macs for the iOS Simulator (arm64 only).
Strengths
- Supports multiple YOLO model versions and formats automatically.
- Provides hardware acceleration via CPU, GPU, and NPU with fallback.
- No OpenCV dependency, keeping native library size small.
Weaknesses
- iOS Simulator requires an Apple Silicon Mac.
- Does not support uint8-input models.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires minimum SDK 24 on Android and iOS 15+. Configure Swift Package Manager on iOS and declare camera permissions if capturing live frames.
final model = await YoloModel.load(modelPath: 'assets/yolo11n_float16.tflite', labelsPath: 'assets/labels.txt');
final result = await model.detectImage(imageBytes);
await model.dispose();Alternatives
Packages that do the same job and could replace flutter_vision.
- face_detection_tflite
Advanced face & landmark detection, embedding and segmentation using on-device LiteRT (formerly TensorFlow Lite) models.
80Compare - flutter_edge_ai_litertlm
LiteRT-LM on-device engine for flutter_edge_ai supporting .litertlm models and embeddings.
87Compare - pose_detection
Pose, person and landmark detection using on-device LiteRT (formerly TensorFlow Lite) models.
70Compare - hand_detection
On‑device hand detection, landmarks and gesture recognition using LiteRT models.
69Compare