flutter_face_detector 0.0.2
flutter_face_detector: ^0.0.2 copied to clipboard
A Flutter plugin that integrates Google Edge AI (MediaPipe Tasks Vision) to perform fast and offline face detection directly on Android devices.
flutter_face_detector #
A Flutter plugin that integrates Google Edge AI (MediaPipe Tasks Vision) for on-device face detection.
This package provides a simple and efficient interface for running real-time face detection directly on Android and iOS devices — no cloud connection required.
🆕 Release Notes #
0.0.2 – Stable Preview Update #
- Fixed package metadata and pubspec formatting for pub.dev compliance.
- Added full README, CHANGELOG, and LICENSE files.
- Updated Android Gradle and Kotlin versions for build stability.
- Integrated wechat_assets_picker example for custom image selection.
- Improved face detection API wrapper with more robust error handling.
- Verified compatibility with Flutter 3.24+ and Android 14 (API 34).
- Deprecated the previous misuploaded version
0.0.1.
✨ Features #
- 🚀 Edge AI powered: Uses MediaPipe Tasks Vision for high-performance local inference
- 📸 Detect faces from images (Uint8List or file input)
- 🧠 Returns detection confidence and inference time
- 💡 Fully offline, no data leaves the device
- 🔧 Easy integration with Flutter apps
- ⚙️ Works seamlessly with custom image pickers (e.g., wechat_assets_picker)
📱 Platform Support #
| Platform | Supported | Notes |
|---|---|---|
| Android | ✅ | Requires minSdkVersion: 24 |
| iOS | 🔜 Planned | Upcoming support for iOS MediaPipe Tasks |
| Web | ❌ | Not supported (requires native inference) |
| macOS / Windows / Linux | ❌ | Not supported |
🧩 Installation #
Add the following line to your pubspec.yaml:
dependencies:
flutter_face_detector: ^0.0.2