页面简介
"Author custom C++ calculators, timestamped packet streams, and multi-platform perception graphs with MediaPipe Framework."
正文摘录
Home Products Google AI Edge MediaPipe Send feedback MediaPipe Framework MediaPipe Framework is the low-level C++ and multi-platform graph engine underpinning MediaPipe Tasks. Use MediaPipe Framework when you need to author custom C++ calculators, orchestrate multi-stream timestamped packet graphs, or build bespoke GPU/CPU perception pipelines. Core concepts Familiarize yourself with the three building blocks of a MediaPipe pipeline before authoring custom graphs (see the Framework concepts overview): Data Unit Packets Immutable, timestamped data payloads (frames, tensors, landmarks, or protos) flowing along streams. Topology Graphs Directed dataflow topologies connecting calculators and modular subgraphs using streams and side packets. Compute Node Calculators Modular C++ execution units implementing Open(), Process(), and Close() lifecycle hooks. Get started Set up your build environment and compile example pipelines across desktop and mobile targets: Setup Install MediaPipe Framework Configure Bazelisk, OpenCV, and platform toolchains on Linux, macOS, or Windows. Examples Build example applications Compile and run MediaPipe Framework sample graphs for C++, Android, iOS, and Python. The open-source implementation is hosted in the MediaPipe GitHub repository, and you can browse symbols in Google Open Source Code Search. Send feedback Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated 2026-11-04 UTC.