Skip to content

Mediapipe now includes undocumented telemetry #6291

Description

@cchadowitz

Sometime between 0.10.21 and 0.10.35, an internal logging/telemetry library has either been introduced as a dependency or updated to automatically send telemetry data when using mediapipe.

The following findings are from installing the pip packages for the relevant mediapipe versions available on PyPI.

In 0.10.35, after running the following:

face_detector = mediapipe.tasks.vision.FaceDetector.create_from_options(options)

I can occasionally see these log messages (while the python interpreter is still open but not actively executing anything):

E0000 00:00:1778098539.490043 26131921 portable_clearcut_uploader.cc:90] Failed to send to clearcut: FAILED_PRECONDITION: Not valid for uploading until: 2026-05-06T16:16:39.430642-04:00
=== Source Location Trace: === 
wireless/android/play/playlog/cplusplus/portable_clearcut_uploader.cc:180

There is no reference to clearcut in the entire open source mediapipe repository, and it appears that the PyPI packages are built internal to Google and not from this repository directly, which means there is no way to trace it back to any particular commit.

In addition, if I use dumpcap/Wireshark, I can see that it is making connections to 216.239.*, which resolves to play.googleapis.com.

The same analysis on 0.10.21 shows no connections or log messages.

This raises a few questions:

  1. Why is this telemetry is included by default in the open source project binaries?
  2. If it is intentionally included, why is there no documentation to indicate its presence and how to disable it? If building the pip packages from source is the official method to remove/disable this, there should be documentation to make that clear.
  3. What is the internal process that builds the publicly available pip packages for mediapipe, since it appears to not be based on the open source repository itself?

Metadata

Metadata

Labels

stat:awaiting googlerWaiting for Google Engineer's Responsetype:othersissues not falling in bug, performance, support, build and install or feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions