flutter_gemma_mediapipe 1.0.1
flutter_gemma_mediapipe: ^1.0.1 copied to clipboard
MediaPipe (.task) on-device inference engine for flutter_gemma (Android/iOS/Web). Opt-in package; provides an InferenceEngineProvider. Bundles Google's MediaPipe Pod/Gradle deps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_gemma_mediapipeThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_gemma_mediapipe: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_gemma_mediapipe/flutter_gemma_mediapipe.dart';