mediapipe_retrieval 0.5.0
mediapipe_retrieval: ^0.5.0 copied to clipboard
Google's MediaPipe retrieval tasks for Flutter: Universal Embedder, one embedding space for text, images and audio, and Semantic Retriever, an on-device vector index over them.
0.5.0 #
- Upgrade every mediapipe package to 0.5.0 together, so this package now
requires
mediapipe_core^0.5.0, which pins Google's Windows arm64 libraries. MediaPipe stays at 1.2.3. - Adds Windows arm64: Universal Embedder and Semantic Retriever run there on the CPU, as on Windows x64.
- CI runs both retrieval tasks on GitHub's
windows-11-armrunners. - This package's models already came from Hugging Face, where the other families' models now come from too.
0.4.1 #
- Upgrade every mediapipe package to 0.4.1 together, so this package now
requires
mediapipe_core^0.4.1. MediaPipe stays at 1.2.3. - No change to the retrieval tasks. On Linux arm64 a GPU request fails with a reason that names the task rather than every task, since four vision tasks now run on the GPU there.
0.4.0 #
- Upgrade every mediapipe package to 0.4.0 together, so this package now
requires
mediapipe_core^0.4.0, which pins Google's Linux arm64 libraries. MediaPipe stays at 1.2.3. - Adds Linux arm64 (aarch64): Universal Embedder and Semantic Retriever run there on the CPU.
- Linux arm64 needs glibc 2.27 or later (Raspberry Pi OS Bullseye,
Ubuntu 18.04 and later) and, even on the CPU, EGL and OpenGL ES:
sudo apt-get install libegl1 libgles2, which Raspberry Pi OS Lite lacks. Google's library uses Arm's LSE atomic and RCPC load instructions, so it needs a Raspberry Pi 5 (Cortex-A76, ARMv8.2) or newer: on a Pi 4 or older (Cortex-A72 or earlier) it stops with an illegal instruction. - CI runs both retrieval tasks on GitHub's
ubuntu-24.04-armrunners. - The package is now licensed under Apache 2.0, like the rest of the repository, in place of BSD-3-Clause. Releases up to 0.3.0 keep BSD-3-Clause.
0.3.0 #
- Upgrade every mediapipe package to 0.3.0 together. MediaPipe 1.2.3
changes the layout of the native option structs, so this package now
requires
mediapipe_core^0.3.0. - Runs Google's MediaPipe 1.2.3 instead of 1.2.2, with new SHA-256 pins for its native libraries.
- Accepts Flutter 3.44 and newer, down from 3.47. The package accepts the
dependency versions Flutter 3.44 resolves, from
hooks2.0.0 andcode_assets1.1.0. iOS and macOS builds with Xcode 27 need Flutter 3.47 or later. - CI tests the package on Flutter 3.50.0, the latest stable release, instead of 3.47.9.
0.2.1 #
- The README has samples for image and audio embeddings, an index that mixes
text, image and audio records, metadata filters,
minSimilarity, deleting records and an index kept in a database file. The samples dispose the embedder when the retriever fails to create, and take the delegate from the capability query, so they run on the GPU in browsers. SemanticRetrieverOptions.databasePath's doc comment says that in browsersSemanticRetriever.createthrows when it is set.- The README names MediaPipe 1.2.2 as the native runtime.
0.2.0 #
- Google's MediaPipe 1.2.2 native release (build of November 2, 2026)
replaces 1.2.0 on Android, iOS, macOS, Linux and Windows, and
@mediapipe/tasks-*1.2.2 replaces 1.2.0-rc.20261018 in browsers. - Binds the 1.2.2 retrieval C API: Semantic Retriever options now lead with Google's base options, which the retriever fills as the other tasks do, so Google's usage log records the host for it too. Universal Embedder takes Google's per-modality delegate fields, left at their default.
0.1.4 #
- Error messages and the README no longer refer to removed notes.
0.1.3 #
- The README has an installation section using
flutter pub add. - With
mediapipe_core0.1.3, downloads of models and native libraries wait out short network failures.
0.1.2 #
Release 0.1.2.
0.1.1 #
Adds Google's NOTICE at the package root.
0.1.0 #
The first release.
- Universal Embedder and Semantic Retriever on Android, iOS, macOS, Linux,
Windows and the web, through Google's official MediaPipe runtimes: its
per-family 1.2.0 retrieval C library natively and
@mediapipe/tasks-retrievalin browsers. - Universal Embedder and Semantic Retriever need 64-bit Android: 32-bit (armeabi-v7a) cannot hold their models, and their capability queries say so.
UniversalEmbedderembeds text, encoded images and audio samples into one space, withcosineSimilarity;SemanticRetrieverindexes documents, images, audio and mixed content with metadata and retrieves the nearest records, with the same results on every platform.RetrievalModelspins Google's EmbeddingGemma 2 models.- Neither task is offered in WebKit, where Google's browser runtime returns zeros for every input with both models.