Terms & Privacy

Terms of Service

Use of ML Kit is subject to the Google APIs Terms of Service.


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

The ML Kit APIs may contact Google servers from time to time in order to receive things like bug fixes, updated models and hardware accelerator compatibility information. The ML Kit APIs also send metrics about the performance and utilization of the APIs in your app to Google. Google uses this metrics data to measure performance, debug, maintain and improve the APIs, and detect misuse or abuse, as further described in our Privacy Policy.

Examples of metrics data collected may include API configuration, event type (download, update, run, detection), event duration, type of detection (e.g. the type of barcode detected, but not the data that is encoded in it, or the detected language (English, Spanish, etc.) for a piece of input text, but not the input text itself), confidence levels, error codes and counters, image format and size, and randomly generated metrics IDs.

You are responsible for informing users of your app about Google’s processing of ML Kit metrics data as required by applicable law.