mediapipe README

The project's README from github.com/google-ai-edge/mediapipe. As one markdown file: README.md.


layout: forward target: https://developers.google.com/mediapipe title: Home nav_order: 1


Attention: We have moved to https://developers.google.com/mediapipe as the primary developer documentation site for MediaPipe as of April 3, 2023.

MediaPipe

Attention: MediaPipe Solutions Preview is an early release. Learn more.

On-device machine learning for everyone

Delight your customers with innovative machine learning features. MediaPipe contains everything that you need to customize and deploy to mobile (Android, iOS), web, desktop, edge devices, and IoT, effortlessly.

Get started

You can get started with MediaPipe Solutions by by checking out any of the developer guides for vision, text, and audio tasks. If you need help setting up a development environment for use with MediaPipe Tasks, check out the setup guides for Android, web apps, and Python.

Solutions

MediaPipe Solutions provides a suite of libraries and tools for you to quickly apply artificial intelligence (AI) and machine learning (ML) techniques in your applications. You can plug these solutions into your applications immediately, customize them to your needs, and use them across multiple development platforms. MediaPipe Solutions is part of the MediaPipe open source project, so you can further customize the solutions code to meet your application needs.

These libraries and resources provide the core functionality for each MediaPipe Solution:

These tools let you customize and evaluate solutions:

Legacy solutions

We have ended support for these MediaPipe Legacy Solutions as of March 1, 2023. All other MediaPipe Legacy Solutions will be upgraded to a new MediaPipe Solution. See the Solutions guide for details. The code repository and prebuilt binaries for all MediaPipe Legacy Solutions will continue to be provided on an as-is basis.

For more on the legacy solutions, see the documentation.

Framework

To start using MediaPipe Framework, install MediaPipe Framework and start building example applications in C++, Android, and iOS.

MediaPipe Framework is the low-level component used to build efficient on-device machine learning pipelines, similar to the premade MediaPipe Solutions.

Before using MediaPipe Framework, familiarize yourself with the following key Framework concepts:

Community

Contributing

We welcome contributions. Please follow these guidelines.

We use GitHub issues for tracking requests and bugs. Please post questions to the MediaPipe Stack Overflow with a mediapipe tag.

Privacy Notice

Last modified: June 5, 2026

When you use MediaPipe Tasks, processing of the input data (e.g. images, video, text) takes place on device, and MediaPipe does not send that input data to Google servers. As a result, you can use our MediaPipe Tasks APIs for processing data that should not leave the device.

MediaPipe Tasks APIs send metrics about the performance and utilization of the APIs in your app to Google. Google uses this metrics data to measure performance, usage, debug, maintain and improve the MediaPipe Tasks, as further described in our Privacy Policy.

You are responsible for obtaining informed consent from your app users about Google's processing of MediaPipe metrics data as required by applicable law.

Resources

Publications

Videos

mediapipe (google-ai-edge/mediapipe)

Searching Database…

37.3K ·GitHub
Что это такое?Открытый кроссплатформенный набор инструментов от Google для машинного обучения прямо на устройстве при работе с потоковым видео и аудио в реальном времени: готовые библиотеки и предобученные модели, которые можно сразу подключить к своему приложению.
Это одна библиотека или целый набор инструментов?Набор инструментов. MediaPipe Solutions объединяет кроссплатформенные Task API и библиотеки с предобученными моделями, готовыми к запуску, а низкоуровневый MediaPipe Framework позволяет создавать собственные эффективные ML-конвейеры, работающие на устройстве.
С чего начать?Выберите руководство разработчика для нужной задачи — распознавание изображений, текста или звука, — затем следуйте инструкции по настройке для своей платформы: Android, веб-приложения или Python. Для низкоуровневого Framework нужно установить его и начать собирать примеры приложений на C++, Android и iOS.
Мне нужно знать C++, чтобы этим пользоваться?Для готовых Solutions — нет: они используются через кроссплатформенные MediaPipe Tasks API, с руководствами для Android, веба и Python. C++ нужен только если вы строите собственные конвейеры на низкоуровневом Framework.
Всё ли в репозитории до сих пор поддерживается?Нет. Поддержка старых MediaPipe Legacy Solutions прекратилась 1 марта 2023 года — их код и собранные бинарники остаются доступны как есть, пока их заменяют новые MediaPipe Solutions.
Где могут работать приложения, созданные с его помощью?На мобильных устройствах (Android и iOS), в вебе, на десктопе, на edge-устройствах и в IoT — одни и те же решения подключаются к приложениям на всех этих платформах разработки.
Данные моих пользователей уходят с устройства?Нет — входные данные вроде изображений, видео и текста обрабатываются на самом устройстве и никогда не отправляются на серверы Google. Один нюанс: Tasks API передаёт в Google метрики производительности и использования, поэтому для этого может потребоваться согласие пользователя.
Что конкретно можно с ним сделать?В списке публикаций проекта упоминаются отслеживание рук в реальном времени, отслеживание позы всего тела с BlazePose, отслеживание лица и глаз с оценкой глубины, обнаружение 3D-объектов, мгновенное отслеживание движения и умное переформатирование видео с AutoFlip — это то же семейство технологий, что стоит за функциями размытия фона в Google Meet.
Можно ли адаптировать модели под свои данные?Да. MediaPipe Model Maker дообучает модели решений на ваших данных, MediaPipe Studio позволяет визуализировать, оценивать и тестировать их производительность прямо в браузере, а поскольку решения — часть открытого проекта, можно менять и сам их код.
Можно ли бесплатно использовать это в своём продукте?Да — проект открытый, под лицензией Apache-2.0, и он как раз задуман для встраивания этих решений в ваши приложения на мобильных устройствах, в вебе и на десктопе.
Size
595.3 MB
Stars
37.3K
Age
7y
Commits · 90 Days