google / flutter-mediapipe

Apache License 2.0
161 stars 7 forks source link

Flutter-MediaPipe

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. pub package
mediapipe_text An implementation of the MediaPipe Text APIs pub package
mediapipe_genai An implementation of the MediaPipe GenAI APIs pub package

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:

$ make sdks

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.