com.google.mlkit.common.model

  • CustomRemoteModel represents a custom model stored remotely and downloaded to the device, with a dedicated builder class for its creation.

  • DownloadConditions define the criteria for downloading remote models, also featuring a builder class.

  • LocalModel describes models created from local file paths, asset paths, or URIs, and has a corresponding builder class.

  • RemoteModel represents a remote model intended for download to the device.

  • RemoteModelManager is responsible for managing remote models.

Classes

CustomRemoteModel A custom model that is stored remotely on the server and downloaded to the device.
DownloadConditions Conditions to download remote models.
LocalModel Describes a local model created from absolute file path, asset file path or URI.
LocalModel.Builder Builder class of LocalModel .
RemoteModel Describes a remote model to be downloaded to the device.
RemoteModelManager Manages remote models.
RemoteModelSource A model source indicating where the model is hosted remotely.

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 2024年10月31日 UTC.