This repository will be home to the source code for the mediapipe_vision, mediapipe_audio, mediapipe_text, and mediapipe_genai plugins for Flutter.
Packages
| Package | Description | Version |
|---|---|---|
| mediapipe_core | Shared logic and utilities required by other MediaPipe Task packages. | |
| mediapipe_text | An implementation of the MediaPipe Text APIs | |
| mediapipe_genai | An implementation of the MediaPipe GenAI APIs |
Supported Tasks
| Task | Android | iOS | Web | Windows | macOS | Linux |
|---|---|---|---|---|---|---|
| Text | ||||||
| Classification | ✅ | ✅ | - | - | ✅ | - |
| Embedding | ✅ | ✅ | - | - | ✅ | - |
| Language Detection | ✅ | ✅ | - | - | ✅ | - |
| GenAI | ||||||
| Inference | ✅ | ✅ | - | - | ✅ | - |
| Audio | ||||||
| Vision | ||||||
Releasing
Updating MediaPipe SDKs
Anytime MediaPipe releases new versions of their SDKs, this package will need to be updated to incorporate those latest builds. SDK versions are pinned in the sdk_downloads.dart files in each package, which are updated by running the following command from the root of the repository:
The Google Cloud Storage bucket in question only gives read-list access to a specific list of Googlers' accounts, so this command must be run from such a Googler's corp machines.
After this, create and merge a PR with the changes and then proceed to Releasing to pub.dev.