github google-ai-edge/mediapipe v1.2.2
MediaPipe v1.2.2

4 hours ago

Bazel changes

  • Fix the tensor shape for column-major matrices in ConvertMatrixToTensorOnCpu.
  • Use 'anonymous' instead of 'Anonymous' for HTMLImageElement.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 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.
  • 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_manager to register a shared MemoryManager as kMemoryManagerService on the task's CalculatorGraph before 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.

Don't miss a new mediapipe release

NewReleases is sending notifications on new releases.