What changed in MediaPipe from 0 to 1
6 releases numbered after v0.10.35 up to and including v1.2.3, stable releases only. v0.10.35 and v1.2.3 are the newest stable releases of 0 and 1 we track; this page follows them as new ones ship.
- 4 remove or deprecate something
165 changes across 6 releases
- Add NPU dispatch library directory to C MpBaseOptions
- Forward BaseOptions app telemetry in C++ tasks and Swift wrappers
- Support string input tensors in the MediaPipe LiteRT inference runner
- Add C API classifier options conversion to MPPClassifierOptions+Helpers
- Add pure Swift microphone audio recording for MediaPipe Tasks iOS
- Add pure Swift vision running mode, image processing options, and segmentation mask for MediaPipe Tasks iOS
- Add pure Swift vision image input container for MediaPipe Tasks iOS
- Add C API image conversion and ScopedMpImage to MPPImage+Utils
- Add C API task runner helpers and VisionCallbackPool to MPPVisionTaskRunner
- Support incremental TextToSpeech stream input on the web
- Expose BooleanQuestion and ChoiceQuestion examples in the Decision Maker C API and Python
- Add support for configuring Qualcomm HTP PD session
- Add MpBaseOptionsFree to C API base_options
- Add TaskRunnerOptions::memory_manager to register a shared MemoryManager as kMemoryManagerService on the task's CalculatorGraph before initialization
- Add MPPCommonUtils helpers for C API conversion
- Add C API options conversion to MPPBaseOptions+Helpers
- Add C API classification result conversion to MPPClassificationResult+Helpers
- Add C API embedding conversion to MPPEmbedding+Helpers
- Add C API embedding result conversion to MPPEmbeddingResult+Helpers
- Add C API detection conversion to MPPDetection+Helpers
- Add C API landmark conversion to MPPLandmark+Helpers
- Support Web Worker platform detection and Flutter Web telemetry overrides
- Add support for F16 formats in ImageFrame
- Expose the remaining MlDriftDelegateOptions in InferenceCalculatorOptions
- Enable F16 cv::Mat support in OpenCV conversions
- Add MediaPipe Tasks Android Kotlin TextToSpeech SDK and JNI bridge
- Add LiteRT service support to InteractiveSegmenter on Android
- Open source the MediaPipe text proofreader and summarizer tasks on iOS
- Add Apple Privacy Manifest (PrivacyInfo.xcprivacy) to MediaPipe Tasks iOS Swift Package Manager package
- Add per-domain C libraries for Flutter SDK
- Add Flutter and Flutter Web host environments to MediaPipe Tasks C API
- Add C API for intercepting Abseil logs in MediaPipe Tasks
- Enable LiteRT delegate for Interactive Segmenter on Android
- Add Python 3.13 and 3.14 support to the MediaPipe Bazel build
- Add MediaPipe Universal Embedder, Semantic Retriever, and LiteRT-LM integration across C++, C, Python, and Android/Maven APIs
- Add EmbeddingGemma 1 and 2 decision backend with multimodal state and option support to MediaPipe Decision
- Add LiteRT-LM based C++ Audio Embedder
- Add C API for MediaPipe AudioEmbedder
- Expose LiteRT and NPU delegate options to MediaPipe Tasks
- Add support for specifying a signature key for LiteRT inference
- Python API for MediaPipe AudioEmbedder
- Gecko support is added to the MediaPipe Text Embedder Task.
- Builds support the DRISHTI_DISABLE_GL_COMPUTE define.
- Gecko support is added to the TextEmbedder C API.
- AddAudioHeaderCalculator is added.
- webgpu::Instance is added to WebGpuDeviceAttachmentManager.
- SpectrogramFloatCalculator and InverseSpectrogramFloatCalculator are added to support float precision.
- Embedding Gemma models are supported in TextEmbedder.
- Methods are added to create and access Matrix packets using Direct ByteBuffers.
- Extra base options and corresponding conversion/get functions are introduced.
- gpu_postprocessing option is added for TensorsToSegmentationCalculator.
- Text chunking utility is added.
- vImageExtractChannelAndConvertToFloat function is added.
- Documentation is added for LiteRT Inference Calculator accelerators.
- A prefer_ahwb flag is added to MemoryManager.
- Builder v2 and v3 APIs are added to change the node name.
- Verbose debug logging for buffer pooling is added.
- EXIF orientation support is added to MpImageCreateFromFile and the Python Task API.
- BaseOptions to proto::BaseOptions conversion utilities are introduced for Android.
- TextSummarizer and summarization_200m model are released for Android.
- TextProofreader and proofread_200m model are released for Android.
- Gecko support is added to the iOS Text Embedding API.
- TextProofreader and TextSummarizer are added to MediaPipe Tasks iOS.
- AudioToolbox framework is added to the MediaPipeTasksCommon podspec.
- Gecko support is added to the MediaPipe Text Embedder for Web.
- A Module.BAZEL is added to MediaPipe and JS dependencies are migrated to Aspect JS.
- A dummy logging framework is added for JavaScript.
- MediaPipe Tasks Privacy Notice is added.
- IIFE bundles for web task modules are added.
- MP Web LLM Inference can load .litertlm files containing web-formatted LLMs.
- An experimental disableRewinding flag is added to MP Web LLM Inference for testing long-context support.
- Gecko support is added to the Python Text Embedder API.
- TextSummarizer Python API is open-sourced.
- TextProofreader Python API is open-sourced.
- TextSummarizer and TextProofreader are exposed in the MediaPipe Python Text API.
- Missing types and enums are added to the public Python Text API.
- Migrate mediapipe::NoDestructor to absl::NoDestructor in mediapipe/framework and remove the obsolete mediapipe/framework/deps/no_destructor.h
- Resolve file-path media parts in SemanticRetriever::Retrieve before embedding
- Register only the CPU accelerator in LiteRT environments for CPU-only runners
- Unify util/endian.h using absl/numeric/bits.h and remove deps/endian.h
- Unify MediaPipe Tasks option, method, and result names across Python, Web, Android, and iOS while preserving deprecated compatibility aliases, and update DevSite guides and code snippets
- Migrate iOS TextClassifier, TextEmbedder, LanguageDetector, TextSummarizer, and TextProofreader to the MediaPipe Tasks C API
- Migrate iOS AudioClassifier and UniversalEmbedder to the MediaPipe Tasks C API
- Migrate iOS ImageClassifier, ImageEmbedder, FaceDetector, and ObjectDetector to the MediaPipe Tasks C API
- Migrate iOS FaceLandmarker, HandLandmarker, PoseLandmarker, and HolisticLandmarker to the MediaPipe Tasks C API
- Migrate iOS GestureRecognizer, ImageSegmenter, InteractiveSegmenter, and InteractiveSegmenterLegacy to the MediaPipe Tasks C API
- Clarify in the HandLandmarkerResult and GestureRecognizerResult documentation across C, C++, iOS, Java, Python, and Web that Left and Right handedness correspond to the subject's hands rather than the viewer's, and that passing a horizontally mirrored image inverts these outputs
- Attach the model's output quantization to LiteRT inference runner outputs
- Release LiteRT CPU output views early unless the output is AHWB-backed
- Migrate mediapipe::StatusBuilder callers to absl::StatusBuilder
- Migrate statusor.h and StatusOr<T> to absl::StatusOr<T>
- Migrate canonical_errors.h to absl/status/status.h
- Migrate DRISHTI_CHECK_OK macros to ABSL_CHECK_OK
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* across framework, gpu, calculators, tasks, and util/modules/examples
- Run face blendshapes on CPU when using the GPU delegate
- Optimize Parakeet ASR streaming latency and decoder/runtime performance
- Replace status_macros.h includes with absl/status/status_macros.h in mediapipe/framework, mediapipe/calculators, and remaining mediapipe tasks, modules, and utilities
- Upgrade OpenCV to 4.10
- Return topK distinct documents from SemanticRetriever when results are chunked on Android
- Bump MediaPipe version to 1.1.1
- Migrate to use new LiteRT GetOptions<T>() API
- Migrate remaining NPU option callers to GetOptions<T>()
- Update WASM and SPM files for 1.1.1 release
- Update Retrieval SDK's code snippets for JavaScript
- Upgrade LiteRT dependency to v2.3.0 in MediaPipe WORKSPACE
- Remove the dependency on internal Bazel Apple rules resources.bzl in mediapipe/metal.bzl, using the metal rule provided by Bazel Apple rules
- Upgrade LiteRT dependency to v2.2.0 in MediaPipe WORKSPACE
- Replace LiteRT delegate with use_litert option in MediaPipe BaseOptions
- Only use public LiteRT API in LiteRT inference calculator
- Retain MTLCommandQueue directly instead of DrishtiMetalHelper in InferenceRunnerLiteRt
- Allow size mismatched tensors for GPU execution
- iOS tests replace ITUIOSTestUtil with ITUTestRunEnvironment.
- Apple rules dependencies are migrated to MODULE.bazel.
- wgpu::Instance is stored in WebGpuService.
- Abseil (com_google_absl) is updated from 2023-10-18 to 2025-01-14.
- Running Mode uses standardized enum constants.
- Mat type is reported in debug logging.
- wgpu::Instance is made a member of WebGpuAsyncFuture.
- Namespacing conventions are enforced for MediaPipe Tasks C and Python APIs.
- MediaPipe Python build Dockerfiles are updated.
- Base options and host environment are updated.
- Error message for option_value problems is improved.
- LiteRtService is expanded to support system runtime on Android.
- Code is compiled with OpenCV 5 features.
- GraphRunner is re-formatted.
- TextSummarizer on Android loads from file descriptor.
- appId, appVersion, and osVersion are moved to a common utility on iOS.
- InteractiveSegmenter is made a legacy API on iOS in preparation for v2.
- InteractiveSegmenter methods are exported for public visibility on web.
- Respect TensorBufferRequirements alignment in InferenceRunnerLiteRt
- Fix tensor view destruction deadlock on LiteRT run error
- Fix DecisionMaker Web SDK APIs, boolean scoring, and native in-memory CPU loading
- Fix the tensor shape for column-major matrices in ConvertMatrixToTensorOnCpu
- Use 'anonymous' instead of 'Anonymous' for HTMLImageElement.crossOrigin
- Fix Java builder calls and align Python option defaults in MediaPipe
- Fix GPU memory leaks when releasing AHWB-backed SSBOs and pooled textures
- Fix nullptr exception in ImageToTensorCalculator
- Fix MediaPipe Tasks telemetry fields and audio_classifier.h license
- Prevent possible lock-order-inversion deadlocks when locking input tensors in InferenceRunnerLiteRt
- Fix GPU interactive segmentation on macOS
- Fix xla llvm download URL by using the mediapipe-assets mirror
- Fix Windows build
- Fix race condition in GpuResources
- Fix HolisticLandmarker crash when face detections are missing
- Fix numpy_view() SIGABRT on non-contiguous float32 masks
- Fix wrist connection in HAND_PALM_CONNECTIONS
- Fix landmark drift in LandmarksSmoothingCalculator (OneEuroFilter) when stream resolution dynamically changes between preview and still capture
- MediaPipe nightly build failure is fixed and Bzlmod warnings are cleaned up.
- A null pointer access in Tensor::GetOpenGlTexture2dReadView() for AHWB-backed Tensors is fixed.
- AhwbGpuResources destructor cleans up OpenGL/EGL resources and forces AHWB usage completion.
- Models with empty tags are supported.
- Empty image checks are added to ScaleImageCalculator.
- A data race accessing GlContext::profiling_helper_ is fixed.
- The manylinux Dockerfile and related build scripts are updated to fix a build issue.
- Documents path fallback is added for MPPFileInfo on iOS.
- Running mode is cached in VisionTaskRunner for web.
- Text files are no longer loaded from GCS.
- Remove legacy iOS C++ task runners, packet creators, and protobuf helpers
- Remove on-disk cache options from the web audio LiteRT-LM tasks
- Remove non-SIMD WebAssembly builds from the MediaPipe Tasks Web SDK
- Remove legacy LITERT delegate flag from Android API
- MacOS prebuilts are removed from the build.
- run_llm_inference.sh is removed.
- iOS and Android LLM Inference Engine is removed from the release.
- MediaPipe Python GenAI components are removed.
Original release notes, newest first
The list above is our reading of these notes; the originals from Google are here, one fold per release.
v1.2.3MediaPipe v1.2.3
Bazel changes
- Migrate
mediapipe::NoDestructortoabsl::NoDestructor(absl/base/no_destructor.h) inmediapipe/frameworkand remove obsoletemediapipe/framework/deps/no_destructor.h. - Respect TensorBufferRequirements alignment in InferenceRunnerLiteRt
- Resolve file-path media parts in SemanticRetriever::Retrieve before embedding.
- [MediaPipe] Fix tensor view destruction deadlock on LiteRT run error.
- Register only the CPU accelerator in LiteRT environments for CPU-only runners.
- Add NPU dispatch library directory to C MpBaseOptions.
- Forward BaseOptions app telemetry in C++ tasks and Swift wrappers.
- Unify util/endian.h using absl/numeric/bits.h and remove deps/endian.h
- Format C++ code and fix includes in framework
- Format C++ code and fix includes in gpu
- Bump MediaPipe version to 1.2.3
- Support string input tensors in the MediaPipe LiteRT inference runner.
- Update Swift Package Manager files for the 1.2.3 iOS release.
- Added C API classifier options conversion to MPPClassifierOptions+Helpers
MediaPipe Tasks update
This section should highlight the changes that are done specifically for any platform and don't propagate to other platforms.
Android
- Unify MediaPipe Tasks option, method, and result names across Python, Web, Android, and iOS while preserving deprecated compatibility aliases, and update DevSite guides and code snippets.
iOS
- Add pure Swift microphone audio recording for MediaPipe Tasks iOS.
- Add pure Swift vision running mode, image processing options, and segmentation mask for MediaPipe Tasks iOS.
- Add pure Swift vision image input container for MediaPipe Tasks iOS.
- Add C API image conversion and ScopedMpImage to MPPImage+Utils.
- Add C API task runner helpers and VisionCallbackPool to MPPVisionTaskRunner.
- Remove legacy iOS C++ task runners, packet creators, and protobuf helpers.
- Migrate TextClassifier to MediaPipe Tasks C API.
- Migrate TextEmbedder to MediaPipe Tasks C API.
- Migrate LanguageDetector to MediaPipe Tasks C API.
- Migrate TextSummarizer to MediaPipe Tasks C API.
- Migrate TextProofreader to MediaPipe Tasks C API.
- Migrate AudioClassifier to MediaPipe Tasks C API.
- Migrate UniversalEmbedder to MediaPipe Tasks C API.
- Migrate ImageClassifier to MediaPipe Tasks C API.
- Migrate ImageEmbedder to MediaPipe Tasks C API.
- Migrate FaceDetector to MediaPipe Tasks C API.
- Migrate ObjectDetector to MediaPipe Tasks C API.
- Migrate FaceLandmarker to MediaPipe Tasks C API.
- Migrate HandLandmarker to MediaPipe Tasks C API.
- Migrate PoseLandmarker to MediaPipe Tasks C API.
- Migrate HolisticLandmarker to MediaPipe Tasks C API.
- Migrate GestureRecognizer to MediaPipe Tasks C API.
- Migrate ImageSegmenter to MediaPipe Tasks C API.
- Migrate InteractiveSegmenter to MediaPipe Tasks C API.
- Migrate InteractiveSegmenterLegacy to MediaPipe Tasks C API.
- Unify MediaPipe Tasks option, method, and result names across Python, Web, Android, and iOS while preserving deprecated compatibility aliases, and update DevSite guides and code snippets.
Javascript
- Remove on-disk cache options from the web audio LiteRT-LM tasks.
- Fix DecisionMaker Web SDK APIs, boolean scoring, and native in-memory CPU loading.
- Support incremental TextToSpeech stream input on the web.
Python
- Expose BooleanQuestion and ChoiceQuestion examples in the Decision Maker C API and Python.
MediaPipe Dependencies
- Explicitly include direct headers and BUILD dependencies.
- Update MediaPipe Tasks Web WASM files.
v1.2.2MediaPipe v1.2.2
Bazel changes
- Fix the tensor shape for column-major matrices in ConvertMatrixToTensorOnCpu.
- Use
'anonymous'instead of'Anonymous'forHTMLImageElement.crossOrigin. - Replace status_macros.h includes with absl/status/status_macros.h in mediapipe/gpu
- Replace status_macros.h includes with absl/status/status_macros.h in mediapipe/tasks/vision and benchmark
- Alias mediapipe::StatusBuilder and mediapipe::source_location to Abseil equivalents
- Migrate mediapipe::StatusBuilder callers to absl::StatusBuilder
- Migrate DRISHTI_CHECK_OK macros to ABSL_CHECK_OK
- Add C++ and C prerequisite fixes for audio and classifier options.
- Migrate statusor.h and StatusOr to absl::StatusOr
- Clarify in the
HandLandmarkerResultandGestureRecognizerResultdocumentation across C, C++, iOS, Java, Python, and Web thatLeftandRighthandedness correspond to the subject's hands rather than the viewer's, and that passing a horizontally mirrored image inverts these outputs. - Migrate canonical_errors.h to absl/status/status.h
- Modernize ret_check.h to use absl::StatusBuilder and absl::SourceLocation
- Bump MediaPipe version to 1.2.1.
- Add support for configuring Qualcomm HTP PD session
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in framework
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in gpu
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in calculators/tensor
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in calculators
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in tasks
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in util, modules, and examples
- Migrate RETURN_IF_ERROR and ASSIGN_OR_RETURN to ABSL_* in tasks/cc/vision and benchmark
- Add MpBaseOptionsFree to C API base_options.
- Attach the model's output quantization to LiteRT inference runner outputs.
- Add
TaskRunnerOptions::memory_managerto register a sharedMemoryManageraskMemoryManagerServiceon the task'sCalculatorGraphbefore initialization. - Bump MediaPipe to 1.2.2
- Release LiteRT CPU output views early unless the output is AHWB-backed.
- Update Swift Package Manager files for the 1.2.2 iOS release.
MediaPipe Tasks update
This section should highlight the changes that are done specifically for any platform and don't propagate to other platforms.
iOS
- Add MPPCommonUtils helpers for C API conversion.
- Add C API options conversion to MPPBaseOptions+Helpers.
- Add C API classification result conversion to MPPClassificationResult+Helpers.
- Add C API embedding conversion to MPPEmbedding+Helpers.
- Add C API embedding result conversion to MPPEmbeddingResult+Helpers.
- Add C API detection conversion to MPPDetection+Helpers.
- Add C API landmark conversion to MPPLandmark+Helpers.
Javascript
- Remove non-SIMD WebAssembly builds from the MediaPipe Tasks Web SDK.
Python
- Fix Java builder calls and align Python option defaults in MediaPipe.
v1.2.0MediaPipe v1.2.0
Bazel changes
- Bump MediaPipe version to 1.2.0
- Support Web Worker platform detection and Flutter Web telemetry overrides.
- Rollback due to breakage in gmscore.build.
- Fix GPU memory leaks when releasing AHWB-backed SSBOs and pooled textures.
- Fix nullptr exception in ImageToTensorCalculator
- Add support for F16 formats in ImageFrame
- Fix MediaPipe Tasks telemetry fields and audio_classifier.h license.
- Prevent possible lock-order-inversion deadlocks when locking input tensors in InferenceRunnerLiteRt
- Expose the remaining MlDriftDelegateOptions in InferenceCalculatorOptions
- Run face blendshapes on CPU when using the GPU delegate.
- Optimize Parakeet ASR streaming latency and decoder/runtime performance.
- Replace status_macros.h includes with absl/status/status_macros.h in mediapipe/framework
- Replace status_macros.h includes with absl/status/status_macros.h in mediapipe/calculators
- Replace status_macros.h includes with absl/status/status_macros.h in remaining mediapipe tasks, modules, and utilities
- Upgrade OpenCV to 4.10
- Enable F16 cv::Mat support in OpenCV conversions. OpenCV 4 was enabled in a previous CL.
- Update SPM files for 1.2.0
MediaPipe Tasks update
This section should highlight the changes that are done specifically for any platform and don't propagate to other platforms.
Android
- Add MediaPipe Tasks Android Kotlin TextToSpeech SDK and JNI bridge.
- Add LiteRT service support to InteractiveSegmenter on Android.
- Return topK distinct documents from SemanticRetriever when results are chunked.
iOS
- Open source the MediaPipe text proofreader and summarizer tasks.
- Add Apple Privacy Manifest (
PrivacyInfo.xcprivacy) to MediaPipe Tasks iOS Swift Package Manager package.
MediaPipe Dependencies
- Update WASM files for 1.2.0 release
- Update genai wasm
v1.1.1MediaPipe v1.1.1
Bazel changes
- Bump MediaPipe version to 1.1.1
- Add per-domain C libraries for Flutter SDK
- Fix GPU interactive segmentation on macOS.
- Add Flutter and Flutter Web host environments to MediaPipe Tasks C API.
- Add C API for intercepting Abseil logs in MediaPipe Tasks.
- mediapipe: Migrate to use new LiteRT GetOptions() API
- Migrate remaining NPU option callers to GetOptions()
- Update WASM and SPM files for 1.1..1 release
MediaPipe Tasks update
This section should highlight the changes that are done specifically for any platform and don't propagate to other platforms.
Android
- Enable LiteRT delegate for Interactive Segmenter on Android.
Javascript
- Update Retrieval SDK's code snippets
MediaPipe Dependencies
- Upgrade LiteRT dependency to v2.3.0 in MediaPipe WORKSPACE
v1.1.0MediaPipe v1.1.0
Build and Bazel changes
- Remove the dependency on internal Bazel Apple rules
resources.bzlinmediapipe/metal.bzl, using the metal rule provided by Bazel Apple rules. - Add Python 3.13 and 3.14 support to the MediaPipe Bazel build.
- Upgrade LiteRT dependency to v2.2.0 in MediaPipe
WORKSPACE. - Move up declaration of
kissfftin build configuration. - Fix
xla llvmdownload URL by usingmediapipe-assetsmirror. - Fix Windows build.
- Remove obsolete
unistd.hheader imports. - Configure MediaPipe for vendor/no-JNI Android builds.
Framework and core calculator improvements
- Bump MediaPipe version to 1.1.0.
- Add MediaPipe Universal Embedder, Semantic Retriever, and LiteRT-LM integration across C++, C, Python, and Android/Maven APIs.
- MediaPipe Decision: Add EmbeddingGemma 1 & 2 decision backend with multimodal state and option support.
- Implement core
TaskPartandEmbeddingProviderinterface. - Refactor
TextPart,AudioPart, andImagePartintotasks.coreand unify duplicates. - Refactor
TextEmbedderandImageEmbedderto use executor abstractions (TextEmbedderExecutor,ImageEmbedderExecutor). - Add
HasFile,GetBundleManifest, andGetBundleIdhelpers toModelAssetBundleResources. - Add
noexceptto move ctor/operator and addswaptoPacket. - Add method to create an empty packet in Java API.
- Use
ABSL_ASSIGN_OR_RETURNandABSL_RETURN_IF_ERRORin MediaPipe. - Rename
GeckoPreprocessorCalculatortoSentencePiecePreprocessorCalculator. - Add option to ignore missing
encoded_media_bytesinUnpackMediaSequenceCalculator. - Add LiteRT-LM based C++ Audio Embedder.
- C API for MediaPipe AudioEmbedder.
- Select the MediaPipe OpenGL device by Vulkan device UUID.
- Replace LiteRT delegate with
use_litertoption in MediaPipeBaseOptions. - Expose LiteRT and NPU delegate options to MediaPipe Tasks.
- Only use public LiteRT API in LiteRT inference calculator.
- Support passing
LiteRtSystemHandlesto Environment in LiteRT Inference Calculator. - Add support for specifying a signature key for LiteRT inference.
- Retain
MTLCommandQueuedirectly instead ofDrishtiMetalHelperinInferenceRunnerLiteRt. - Use runtime layout for rank-0 LiteRT model outputs in
InferenceRunnerLiteRt. - Check GPU service availability in
TensorsToDetectionsCalculator. - Improve MediaPipe Metal GPU delegate error messages for unsupported configurations.
- Allow size mismatched tensors for GPU execution.
- Fix race condition in
GpuResources. - Fix deprecated
CreateSourceTextureusage in desktop GPU example.
MediaPipe Tasks update
This section highlights the changes that are done specifically for each platform and don't propagate to other platforms.
Android
- Add plumbing needed for zero-copy
AHardwareBuffer(AHWB) output from the GPU. - Fix OpenGL ES and
AHardwareBuffersynchronization when converting between write and read views. - Wrap VC effects AHWB graph input as
AHardwareBuffer(kRGBA32). - Raise
MediaPipeExceptioninstead of crashing insurface_output_jnion Android EGL surface creation failure. - Fix crash in
PathToResourceAsFilewhenTEST_SRCDIRis not set on Android. - Made AppSearch vector store optional for SemanticRetriever Android SDK.
- Add Semantic Retriever Java API by prebuilding SQLite dependencies.
- Support in-memory audio and image representations in MediaPipe Tasks Android.
- Support multi-part multimodal embedding and vector store serialization in MediaPipe Tasks Android.
- Ensure that JNI methods are exported for Android Tasks.
- Remove legacy
LITERTdelegate flag from Android API.
iOS
- Update Swift Package Manager (SPM) manifest for MediaPipe Tasks iOS 1.1.0.
- Add iOS Retrieval SPM package (
MediaPipeTasksRetrieval). - Add missing
MPPAudioRecord.htoMediaPipeTasksRetrievalXCFramework headers. - Exclude MediaPipe C API (
_Mp*) symbols from the iOS symbol rename map. - Add
inference_calculator_litertdependencies to iOS Tasks targets. - Return standard
NSErrorinstead of crashing when universal embedder model path is invalid. - Support in-memory audio and image representations in MediaPipe Tasks iOS.
- Support multi-part multimodal embedding and vector store serialization in MediaPipe Tasks iOS.
Javascript
- Add retrieval to MediaPipe Tasks for Web (
UniversalEmbedder,SemanticRetriever). - Export public APIs for Web
SemanticRetriever. - Make the
DecisionMakerweb API usable from the minifieddecision_jsbundle. - Refactor task name discovery in MediaPipe Web Tasks.
- Expose per-landmark presence scores on the Web Tasks API.
- Enable GPU usage for
UniversalEmbedderon Web. - Prevent overlapping WASM embedding calls.
- Disable LiteRT-LM extensive logging for
UniversalEmbedderon Web. - Add stats logging to Web Tasks.
- Add unit tests for
ImageFrameandYUVImageconversions. - Add missing
awaitcalls toUniversalEmbedderexample in web retrieval documentation.
Python
- Python API for MediaPipe
AudioEmbedder. - Add
cosine_similarityutility method toUniversalEmbedder. - Cast all Python types to their explicit C type assignment for ABI stability.
- Add
cache_diroption and default to:nocache. - Add Semantic Retriever Python API with bundled SQLite vector store.
Bug fixes
- Fix
HolisticLandmarkercrash when face detections are missing. - Fix
HolisticLandmarkerAnyBuilder return type and empty packetMediaPipeExceptions. - Re-add
ImageEmbedder.close()method. - Fix
numpy_view()SIGABRT on non-contiguousfloat32masks. - Fix wrist connection in
HAND_PALM_CONNECTIONS. - Fix landmark drift in
LandmarksSmoothingCalculator(OneEuroFilter) when stream resolution dynamically changes between preview and still capture. - Correct parameter names in core calculators.
- Fix WAV decoder calculations in
audio_decoder_calculator_test.
MediaPipe Dependencies
- Upgrade LiteRT dependency to v2.2.0 in
WORKSPACE. - Update WASM asset binaries for 1.1.0 release.
v1.0.0MediaPipe v1.0.0
Build changes
- Remove MacOS prebuilts
- Replace ITUIOSTestUtil with ITUTestRunEnvironment in iOS tests.
Bazel changes
- Migrate Apple rules dependencies to MODULE.bazel.
Framework and core calculator improvements
- Add Gecko support to MediaPipe Text Embedder Task
- Store wgpu::Instance in WebGpuService.
- Supporting builds with DRISHTI_DISABLE_GL_COMPUTE define.
- Bump MediaPipe version to 0.10.36.
-
- Abseil (com_google_absl): Updated from (2023-10-18) to (2025-01-14).
- Add Gecko support to TextEmbedder C API.
- Use standardized enum constants for Running Mode
- Report Mat type in debug logging.
- Add AddAudioHeaderCalculator
- Remove run_llm_inference.sh
- Add webgpu::Instance to WebGpuDeviceAttachmentManager.
- Fix MediaPipe nightly build failure and cleanup Bzlmod warnings.
- Fix null pointer access in Tensor::GetOpenGlTexture2dReadView() for AHWB backed Tensor.
- Adds SpectrogramFloatCalculator and InverseSpectrogramFloatCalculator to support float precision.
- Add support for Embedding Gemma models in TextEmbedder.
- Make wgpu::Instance a member of WebGpuAsyncFuture.
- Enforce namespacing conventions for MediaPipe Tasks C and Python APIs.
- Add methods to create and access Matrix packets using Direct ByteBuffers.
- Ensure AhwbGpuResources destructor cleans up OpenGL/EGL resources and forces AHWB usage completion.
- Update MediaPipe Python build Dockerfiles.
- Update base options and host environment.
- Introducing extra base options and corresponding conversion/get functions.
- Improve error message for option_value problems
- Support models with empty tags
- Add empty image checks to ScaleImageCalculator.
- Add gpu_postprocessing option for TensorsToSegmentationCalculator.
- Add text chunking utility
- Expand LiteRtService to support system runtime on Android.
- Add
vImageExtractChannelAndConvertToFloatfunction. - Compile with OpenCV 5's features
- Add documentation for LiteRT Inference Calculator accelerators
- Fix data race accessing GlContext::profiling_helper_
- Add a "prefer_ahwb" flag to MemoryManager
- Add Builder v2 and v3 APIs to change the node name
- Add verbose debug logging for buffer pooling
- Updates the manylinux Dockerfile and related build scripts to fix the
- Re-format GraphRunner
- Add EXIF orientation support to MpImageCreateFromFile and the Python Task API
MediaPipe Tasks update
This section should highlight the changes that are done specifically for any platform and don't propagate to other platforms.
Android
- Revert Java switch statement syntax update
- Introducing utils to convert BaseOptions <-> proto::BaseOptions.
- Release TextSummarizer and summarization_200m model
- Release TextProofreader and proofread_200m model
- Update TextSummarizer to load from file descriptor
iOS
- Add Gecko support to iOS Text Embedding API
- Remove iOS and Android LLM Inference Engine from release
- appId/appVersion/osVersion to common utility.
- Makes InteractiveSegmenter a legacy one, in preparation of releasing v2 / new interface.
- Add Documents path fallback for MPPFileInfo.
- Add TextProofreader and TextSummarizer to MediaPipe Tasks iOS.
- Add AudioToolbox framework to MediaPipeTasksCommon podspec.
Javascript
- Add Gecko support to MP Text Embedder for Web
- Add a Module.BAZEL to MediaPipe and migrate JS depdendencies to Aspect JS
- Add dummy logging framework
- Add MediaPipe Tasks Privacy Notice
- Add IIFE bundles for web task modules.
- Export InteractiveSegmenter methods for public visibility
- Allow MP Web LLM Inference to load .litertlm files containing web-formatted LLMs
- MP Web LLM Inference: add new experimental 'disableRewinding' flag for testing long-context support
- Cache running mode in VisionTaskRunner.
Python
- Add Gecko support to the Python Text Embedder API
- Remove MediaPipe Python GenAI components f
- TextSummarizer Python API OSS
- TextProofreader Python API OSS
- Expose TextSummarizer and TextProofreader in MediaPipe Python Text API.
- Add missing types and enums to the public Python Text API.
MediaPipe Dependencies
- Do not load text files from GCS