最新版本
Android API 最新版本
| 群组 ID | 制品名称 | 版本 | 最后更新时间 |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 2024 年 8 月 7 日 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 2025 年 9 月 29 日 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 2022 年 8 月 16 日 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 2022 年 8 月 16 日 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 2023 年 11 月 7 日 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 2022 年 8 月 16 日 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 2022 年 12 月 6 日 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 2023 年 11 月 7 日 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.2 | 2026 年 10 月 26 日 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.2 | 2026 年 10 月 26 日 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.2 | 2026 年 10 月 26 日 |
| com.google.android.gms | play-services-mlkit-text-recognition-japanese | 16.0.2 | 2026 年 10 月 26 日 |
| com.google.android.gms | play-services-mlkit-text-recognition-korean | 16.0.2 | 2026 年 10 月 26 日 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 2023 年 8 月 1 日 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 2024 年 8 月 7 日 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 2022 年 1 月 25 日 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 2025 年 8 月 29 日 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 2025 年 4 月 18 日 |
| com.google.mlkit | face-detection | 16.1.7 | 2024 年 8 月 7 日 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 2024 年 8 月 7 日 |
| com.google.mlkit | genai-agent | 1.0.0-alpha1 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-embedding | 1.0.0-alpha1 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 2025 年 5 月 14 日 |
| com.google.mlkit | genai-prompt | 1.0.0-beta5 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 2025 年 5 月 14 日 |
| com.google.mlkit | genai-rewriting | 1.0.0-beta1 | 2025 年 5 月 14 日 |
| com.google.mlkit | genai-schema | 1.0.0-alpha2 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-schema-compiler | 1.0.0-alpha2 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha2 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-speech-translation | 1.0.0-alpha1 | 2026 年 10 月 26 日 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 2025 年 5 月 14 日 |
| com.google.mlkit | genai-text-to-speech | 1.0.0-alpha1 | 2026 年 10 月 26 日 |
| com.google.mlkit | image-labeling | 17.0.9 | 2024 年 8 月 7 日 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 2024 年 8 月 7 日 |
| com.google.mlkit | language-id | 17.0.6 | 2024 年 8 月 7 日 |
| com.google.mlkit | linkfirebase | 17.0.0 | 2022 年 1 月 25 日 |
| com.google.mlkit | object-detection | 17.0.2 | 2024 年 8 月 7 日 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 2024 年 8 月 7 日 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 2022 年 1 月 25 日 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 2024 年 8 月 7 日 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 2024 年 8 月 7 日 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 2024 年 8 月 7 日 |
| com.google.mlkit | smart-reply | 17.0.4 | 2024 年 8 月 7 日 |
| com.google.mlkit | text-recognition | 16.0.1 | 2024 年 8 月 7 日 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 2024 年 8 月 7 日 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 2024 年 8 月 7 日 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 2024 年 8 月 7 日 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 2024 年 8 月 7 日 |
| com.google.mlkit | 翻译 | 17.0.3 | 2024 年 8 月 7 日 |
iOS API 最新版本
| 制品名称 | 版本 | 最后更新时间 |
|---|---|---|
| GoogleMLKit | 9.0.0 | 2025 年 6 月 27 日 |
| MLKitBarcodeScanning | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitCommon | 14.0.0 | 2025 年 6 月 27 日 |
| MLKitDigitalInkRecognition | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitEntityExtraction | 1.0.0-beta15 | 2025 年 6 月 27 日 |
| MLKitFaceDetection | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabeling | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabelingCommon | 10.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabelingCustom | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitLanguageID | 9.0.0 | 2025 年 6 月 27 日 |
| MLKitLinkFirebase | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetection | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetectionCommon | 10.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetectionCustom | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitPoseDetection | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitSegmentationCommon | 1.0.0-beta14 | 2025 年 6 月 27 日 |
| MLKitSegmentationSelfie | 1.0.0-beta14 | 2025 年 6 月 27 日 |
| MLKitSmartReply | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognition (v2) | 7.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionCommon | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionChinese | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionDevanagari | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionJapanese | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionKorean | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTranslate | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitVision | 10.0.0 | 2025 年 6 月 27 日 |
| MLImage | 1.0.0-beta8 | 2025 年 6 月 27 日 |
发布版本历史记录
2026 年 10 月 26 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-japanese | 16.0.2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-korean | 16.0.2 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-agent | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-embedding | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-beta5 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewriting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-schema | 1.0.0-alpha2 | 是 |
| com.google.mlkit | genai-schema-compiler | 1.0.0-alpha2 | 是 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha2 | 是 |
| com.google.mlkit | genai-speech-translation | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-text-to-speech | 1.0.0-alpha1 | 是 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
新功能
- 在 Android 上,发布了生成式 AI Text to Speech API(Alpha 版),可使用 21 种语言区域在设备端根据文本合成自然流畅的语音。
- 在 Android 上,发布了生成式 AI Speech Translation API(Alpha 版),用于在设备端将语音音频翻译成另一种语言的文本。
- 在 Android 上,发布了生成式 AI Agent API (
com.google.mlkit:genai-agent)(Alpha 版),用于构建可调用应用函数的设备端智能体。 - 在 Android 平台上,我们在 Prompt API 中发布了生成式 AI 函数调用(预览版),让模型能够请求调用应用定义的函数。
- 在 Android 上,发布了生成式 AI Embedding API (
com.google.mlkit:genai-embedding)(Alpha 版),用于在设备端生成嵌入并实现语义搜索。
改进
- 在 Android 上,将 GenAI Speech Recognition API 更新为 1.0.0-alpha2,并添加了字词时间支持。
- 在 Android 上,重新构建了在 Google Play 服务中运行的文本识别 v2 SDK(
play-services-mlkit-text-recognition19.0.2 以及中文、梵文、日语和韩语 16.0.2 工件)。API 没有任何变化。
2026 年 7 月 21 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-beta4 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-schema | 1.0.0-alpha1 | 否 |
| com.google.mlkit | genai-schema-compiler | 1.0.0-alpha1 | 否 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha1 | 否 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
改进
- 在 Android 上,修复了 Prompt API 中与 Gemini Nano v4 的兼容性问题,涉及以下 API:
- 在非 Pixel 设备上将
checkStatus()与开发者预览版搭配使用时,会发生GenAIException。 - 调用 Streaming API (
generateContentStream()) 时抛出的GenAiException。
- 在非 Pixel 设备上将
2026 年 7 月 14 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-beta3 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-schema | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-schema-compiler | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha1 | 否 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
新功能
- 在 Android 平台上,我们在 Prompt API 中发布了生成式 AI Structured Output API,用于定义所需的输出结构并接收与之匹配的回答。
- 在 Android 平台上,我们在 Prompt API 中发布了生成式 AI 系统指令,以便通过提供独立于用户提示的指令来引导模型行为。
- 在 Android 平台上,我们在 Prompt API 中发布了生成式 AI 思考模式,可提示模型在输出最终回答之前先输出其推理过程。
改进
- 在 Android 上,Prompt API 中添加了多图片支持,让您可以在同一请求中同时传递多张图片和文本。
- 在 Android 上,将 Prompt API 输出 token 限制提高到了 4K(4096 个 token)。
2026 年 4 月 2 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-beta2 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha1 | 否 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
改进
- 在 Android 上,Prompt API 中添加了模型选择支持,让您可以指定应用使用的 LLM 版本。包括为 AICore 开发者预览版参与者下载和测试预览版模型的支持。
2026 年 1 月 28 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-beta1 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-speech-recognition | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
新功能
- 在 Android 上,发布了生成式 AI 语音识别 API,用于将音频内容转写为文本。
- 在 Android 上,为生成式 AI Prompt API 添加了对
explicit cache management功能的支持。 - 在 Android 上,生成式 AI Prompt API 已从 Alpha 版升级到 Beta 版。
- 在 Android 上,缩短了生成式 AI Prompt API 处理大图片的延迟时间。
2025 年 10 月 29 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-prompt | 1.0.0-alpha1 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 否 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
新功能
- 在 Android 上,发布了生成式 AI Prompt API,用于根据自定义纯文本或多模态提示词生成文本内容。
2025 年 9 月 29 日
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
新功能
- 在 Android 平台上,文件扫描器已从 Beta 版升级为正式版。
2025 年 8 月 29 日
在 Android 上,更新了数字墨水识别 SDK,以支持 16 KB 页面大小。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 19.0.0 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
2025 年 6 月 27 日
此版本包含多项问题修复。
iOS API 最新版本
| 制品名称 | 版本 | 最后更新时间 |
|---|---|---|
| GoogleMLKit | 9.0.0 | 2025 年 6 月 27 日 |
| MLKitBarcodeScanning | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitCommon | 14.0.0 | 2025 年 6 月 27 日 |
| MLKitDigitalInkRecognition | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitEntityExtraction | 1.0.0-beta15 | 2025 年 6 月 27 日 |
| MLKitFaceDetection | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabeling | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabelingCommon | 10.0.0 | 2025 年 6 月 27 日 |
| MLKitImageLabelingCustom | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitLanguageID | 9.0.0 | 2025 年 6 月 27 日 |
| MLKitLinkFirebase | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetection | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetectionCommon | 10.0.0 | 2025 年 6 月 27 日 |
| MLKitObjectDetectionCustom | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitPoseDetection | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta16 | 2025 年 6 月 27 日 |
| MLKitSegmentationCommon | 1.0.0-beta14 | 2025 年 6 月 27 日 |
| MLKitSegmentationSelfie | 1.0.0-beta14 | 2025 年 6 月 27 日 |
| MLKitSmartReply | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognition (v2) | 7.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionCommon | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionChinese | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionDevanagari | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionJapanese | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTextRecognitionKorean | 6.0.0 | 2025 年 6 月 27 日 |
| MLKitTranslate | 8.0.0 | 2025 年 6 月 27 日 |
| MLKitVision | 10.0.0 | 2025 年 6 月 27 日 |
| MLImage | 1.0.0-beta8 | 2025 年 6 月 27 日 |
bug 修复
- 在 iOS 上,移除了网域引用,以防止应用提交遭拒。
2025 年 5 月 14 日
在 Android 上发布了以下生成式 AI API:
- Image Description API,用于提供图片的简短说明。
- Proofreading API:通过优化语法和修正拼写错误来润色简短内容。
- Rewriting API:以不同的风格(例如正式、简洁,甚至使用表情符号)改写内容。
- Summarization API,用于将文章和聊天对话总结为 1-3 个要点。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | genai-image-description | 1.0.0-beta1 | 是 |
| com.google.mlkit | genai-proofreading | 1.0.0-beta1 | 是 |
| com.google.mlkit | genai-rewrting | 1.0.0-beta1 | 是 |
| com.google.mlkit | genai-summarization | 1.0.0-beta1 | 是 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
2025 年 4 月 18 日
在 Android 上,修复了阿拉伯语 Entity Extraction API 的下载问题。此外,还将其支持的最低 Android API 版本更新为 26,以便更好地支持 16 KB 页面大小。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta6 | 是 |
| com.google.mlkit | face-detection | 16.1.7 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 否 |
| com.google.mlkit | image-labeling | 17.0.9 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 否 |
| com.google.mlkit | language-id | 17.0.6 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 否 |
| com.google.mlkit | smart-reply | 17.0.4 | 否 |
| com.google.mlkit | text-recognition | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 否 |
| com.google.mlkit | 翻译 | 17.0.3 | 否 |
2025 年 3 月 25 日
此版本包含多项改进。
iOS API 最新版本
| 制品名称 | 版本 | 最后更新时间 |
|---|---|---|
| GoogleMLKit | 8.0.0 | 2025 年 3 月 25 日 |
| MLKitBarcodeScanning | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitCommon | 13.0.0 | 2025 年 3 月 25 日 |
| MLKitDigitalInkRecognition | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitEntityExtraction | 1.0.0-beta14 | 2025 年 3 月 25 日 |
| MLKitFaceDetection | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitImageLabeling | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitImageLabelingCommon | 9.0.0 | 2025 年 3 月 25 日 |
| MLKitImageLabelingCustom | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitLanguageID | 8.0.0 | 2025 年 3 月 25 日 |
| MLKitLinkFirebase | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitObjectDetection | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitObjectDetectionCommon | 9.0.0 | 2025 年 3 月 25 日 |
| MLKitObjectDetectionCustom | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitPoseDetection | 1.0.0-beta15 | 2025 年 3 月 25 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta15 | 2025 年 3 月 25 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta15 | 2025 年 3 月 25 日 |
| MLKitSegmentationCommon | 1.0.0-beta13 | 2025 年 3 月 25 日 |
| MLKitSegmentationSelfie | 1.0.0-beta13 | 2025 年 3 月 25 日 |
| MLKitSmartReply | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognition (v2) | 6.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognitionCommon | 5.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognitionChinese | 5.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognitionDevanagari | 5.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognitionJapanese | 5.0.0 | 2025 年 3 月 25 日 |
| MLKitTextRecognitionKorean | 5.0.0 | 2025 年 3 月 25 日 |
| MLKitTranslate | 7.0.0 | 2025 年 3 月 25 日 |
| MLKitVision | 9.0.0 | 2025 年 3 月 25 日 |
| MLImage | 1.0.0-beta7 | 2025 年 3 月 25 日 |
改进
- 在 iOS 上,将支持的最低 Xcode 版本提高到了 16.0.0。
2024 年 9 月 30 日
此版本包含多项改进。
iOS API 最新版本
| 制品名称 | 版本 | 最后更新时间 |
|---|---|---|
| GoogleMLKit | 7.0.0 | 2024 年 9 月 30 日 |
| MLKitBarcodeScanning | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitCommon | 12.0.0 | 2024 年 9 月 30 日 |
| MLKitDigitalInkRecognition | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitEntityExtraction | 1.0.0-beta13 | 2024 年 9 月 30 日 |
| MLKitFaceDetection | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitImageLabeling | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitImageLabelingCommon | 8.0.0 | 2024 年 9 月 30 日 |
| MLKitImageLabelingCustom | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitLanguageID | 7.0.0 | 2024 年 9 月 30 日 |
| MLKitLinkFirebase | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitObjectDetection | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitObjectDetectionCommon | 8.0.0 | 2024 年 9 月 30 日 |
| MLKitObjectDetectionCustom | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitPoseDetection | 1.0.0-beta14 | 2024 年 9 月 30 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta14 | 2024 年 9 月 30 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta14 | 2024 年 9 月 30 日 |
| MLKitSegmentationCommon | 1.0.0-beta12 | 2024 年 9 月 30 日 |
| MLKitSegmentationSelfie | 1.0.0-beta12 | 2024 年 9 月 30 日 |
| MLKitSmartReply | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognition (v2) | 5.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognitionCommon | 4.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognitionChinese | 4.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognitionDevanagari | 4.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognitionJapanese | 4.0.0 | 2024 年 9 月 30 日 |
| MLKitTextRecognitionKorean | 4.0.0 | 2024 年 9 月 30 日 |
| MLKitTranslate | 6.0.0 | 2024 年 9 月 30 日 |
| MLKitVision | 8.0.0 | 2024 年 9 月 30 日 |
| MLImage | 1.0.0-beta6 | 2024 年 9 月 30 日 |
改进
- 在 iOS 上,将支持的最低 Xcode 版本提高到了 15.3.0。
- 在 iOS 上,将支持的最低 iOS 版本提高到了 15.5.0。
- 在 iOS 上,将 MLKitCommon 中 GoogleUtilities/UserDefaults 依赖项的版本范围从“>= 7.13.0, < 8.0”升级到了“~> 8.0”。
- 在 iOS 上,将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从“>= 9.4.1, < 10.0”升级到了“~> 10.0”。
2024 年 8 月 7 日
更新了 Android SDK,以支持 16 KB 页面大小。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 是 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.1 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.3.0 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta5 | 否 |
| com.google.mlkit | face-detection | 16.1.7 | 是 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 是 |
| com.google.mlkit | image-labeling | 17.0.9 | 是 |
| com.google.mlkit | image-labeling-custom | 17.0.3 | 是 |
| com.google.mlkit | language-id | 17.0.6 | 是 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.2 | 是 |
| com.google.mlkit | object-detection-custom | 17.0.2 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta5 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta6 | 是 |
| com.google.mlkit | smart-reply | 17.0.4 | 是 |
| com.google.mlkit | text-recognition | 16.0.1 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.1 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.1 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.1 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.1 | 是 |
| com.google.mlkit | 翻译 | 17.0.3 | 是 |
2024 年 4 月 17 日
此版本包含多项改进。
iOS API 最新版本
| 制品名称 | 版本 | 最后更新时间 |
|---|---|---|
| GoogleMLKit | 6.0.0 | 2024 年 4 月 17 日 |
| MLKitBarcodeScanning | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitCommon | 11.0.0 | 2024 年 4 月 17 日 |
| MLKitDigitalInkRecognition | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitEntityExtraction | 1.0.0-beta12 | 2024 年 4 月 17 日 |
| MLKitFaceDetection | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitImageLabeling | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitImageLabelingCommon | 7.0.0 | 2024 年 4 月 17 日 |
| MLKitImageLabelingCustom | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitLanguageID | 6.0.0 | 2024 年 4 月 17 日 |
| MLKitLinkFirebase | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitObjectDetection | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitObjectDetectionCommon | 7.0.0 | 2024 年 4 月 17 日 |
| MLKitObjectDetectionCustom | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitPoseDetection | 1.0.0-beta13 | 2024 年 4 月 17 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta13 | 2024 年 4 月 17 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta13 | 2024 年 4 月 17 日 |
| MLKitSegmentationCommon | 1.0.0-beta11 | 2024 年 4 月 17 日 |
| MLKitSegmentationSelfie | 1.0.0-beta11 | 2024 年 4 月 17 日 |
| MLKitSmartReply | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognition (v2) | 4.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognitionCommon | 3.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognitionChinese | 3.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognitionDevanagari | 3.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognitionJapanese | 3.0.0 | 2024 年 4 月 17 日 |
| MLKitTextRecognitionKorean | 3.0.0 | 2024 年 4 月 17 日 |
| MLKitTranslate | 5.0.0 | 2024 年 4 月 17 日 |
| MLKitVision | 7.0.0 | 2024 年 4 月 17 日 |
| MLImage | 1.0.0-beta5 | 2024 年 2 月 20 日 |
改进
- 在 iOS 上,更新了隐私清单。
- 在 iOS 上,将 MLKitCommon 中 GoogleToolboxForMac 依赖项的版本范围从“~>2.1”升级到了“>= 4.2.1, < 5.0”。
- 在 iOS 上,将 MLKitCommon 中 GTMSessionFetcher/Core 依赖项的版本范围从“>= 1.1, < 4.0”升级到“>= 3.3.2, < 4.0”。
- 在 iOS 上,将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从“~>9.0”升级到了“>= 9.4.1, < 10.0”。
- 在 iOS 上,将 MLKitCommon 中 GoogleUtilities/UserDefaults 依赖项的版本范围从“~> 7.0”升级到了“>= 7.13.0, < 8.0”。
- 在 iOS 上,将 MLKitLinkFirebase 中 FirebaseCore 依赖项的版本范围从“>= 10.0, <12.0”升级到了“>= 10.23.0, <12.0”。
- 在 iOS 上,将 MLKitLinkFirebase 中 FirebaseInstallations 依赖项的版本范围从“>= 10.0, <12.0”升级到“>= 10.23.0, <12.0”。
2024 年 2 月 20 日
此版本包含一些新功能,并作了如下改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 5.0.0 | 2024 年 2 月 20 日 |
| MLKitBarcodeScanning | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitCommon | 10.0.0 | 2024 年 2 月 20 日 |
| MLKitDigitalInkRecognition | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitEntityExtraction | 1.0.0-beta11 | 2024 年 2 月 20 日 |
| MLKitFaceDetection | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitImageLabeling | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitImageLabelingCommon | 6.0.0 | 2024 年 2 月 20 日 |
| MLKitImageLabelingCustom | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitLanguageID | 5.0.0 | 2024 年 2 月 20 日 |
| MLKitLinkFirebase | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitObjectDetection | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitObjectDetectionCommon | 6.0.0 | 2024 年 2 月 20 日 |
| MLKitObjectDetectionCustom | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitPoseDetection | 1.0.0-beta12 | 2024 年 2 月 20 日 |
| MLKitPoseDetectionAccurate | 1.0.0-beta12 | 2024 年 2 月 20 日 |
| MLKitPoseDetectionCommon | 1.0.0-beta12 | 2024 年 2 月 20 日 |
| MLKitSegmentationCommon | 1.0.0-beta10 | 2024 年 2 月 20 日 |
| MLKitSegmentationSelfie | 1.0.0-beta10 | 2024 年 2 月 20 日 |
| MLKitSmartReply | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognition (v2) | 3.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognitionCommon | 2.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognitionChinese | 2.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognitionDevanagari | 2.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognitionJapanese | 2.0.0 | 2024 年 2 月 20 日 |
| MLKitTextRecognitionKorean | 2.0.0 | 2024 年 2 月 20 日 |
| MLKitTranslate | 4.0.0 | 2024 年 2 月 20 日 |
| MLKitVision | 6.0.0 | 2024 年 2 月 20 日 |
| MLImage | 1.0.0-beta5 | 2024 年 2 月 20 日 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.0 | 否 |
| com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.0 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.2.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta5 | 是 |
| com.google.mlkit | face-detection | 16.1.6 | 是 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta2 | 是 |
| com.google.mlkit | image-labeling | 17.0.8 | 是 |
| com.google.mlkit | image-labeling-custom | 17.0.2 | 否 |
| com.google.mlkit | language-id | 17.0.5 | 是 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.1 | 是 |
| com.google.mlkit | object-detection-custom | 17.0.1 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta4 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta4 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta5 | 是 |
| com.google.mlkit | smart-reply | 17.0.3 | 是 |
| com.google.mlkit | text-recognition | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0 | 否 |
| com.google.mlkit | 翻译 | 17.0.2 | 否 |
新功能
- 在 Android 上,添加了新的文件扫描器 API,该 API 可提供包含界面和机器学习逻辑的扫描流程。
改进
- 在 Android 上,修复了由旧版 play-services-basement 依赖项引起的安全漏洞。
- 在 iOS 上,添加了对 Xcode 15.1.0 的支持。
- 在 iOS 上,修复了 libwebp 库中发现的安全漏洞。
- 在 iOS 上,更新了 Cocoapods 依赖项,使其与 Firebase 10 兼容。
- 在 iOS 上,修复了 TextRecognition 以使用较新版本的 FlatBuffers。
- 在 iOS 上,添加了关于在隐私清单文件中使用“需要原因”API 的说明。
- 在 iOS 上,将支持的最低 iOS 版本从 11.0 提高到了 12.0。
2023 年 11 月 7 日
此版本包含一些新功能,并作了如下改进。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta5 | 是 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-subject-segmentation | 16.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.0 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.2.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.2 | 是 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.1 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0 | 否 |
| com.google.mlkit | 翻译 | 17.0.2 | 是 |
新功能
- 在 Android 上,添加了新的主体分割 API,让开发者能够将图片中的多个主体与背景分离开来。
改进
2023 年 8 月 1 日
此版本包含一些新功能。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.0 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.1.0 | 是 |
| com.google.mlkit | barcode-scanning | 17.2.0 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0 | 否 |
| com.google.mlkit | 翻译 | 17.0.1 | 否 |
新功能
- 在 Android 上,条形码扫描和 Google 代码扫描器 API 中添加了对
auto-zoom功能的支持。
2023 年 5 月 2 日
此版本包含一些新功能。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.2.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 19.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-japanese | 16.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-korean | 16.0.0 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.0.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.1.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0 | 是 |
| com.google.mlkit | 翻译 | 17.0.1 | 否 |
新功能
- 在 Android 上,于 2023 年 3 月 29 日升级了用于拉丁语脚本的 Text Recognition API 的非捆绑版本。提升了性能,并添加了全方向支持。
- 在 Android 上,除了拉丁文字之外,还扩展了文本识别的非捆绑版本,以支持中文、梵文、日语和韩语文字。此 API 提供的功能与捆绑版本相同,但由 Google Play 服务提供支持,对应用大小的影响缩减至仅约 260 KB。
- 在 Android 上,将 Text Recognition v2 的捆绑版本从 Beta 版升级为正式版。
2023 年 3 月 21 日
此版本包含一些新功能。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 4.0.0 | 是 |
| MLKitBarcodeScanning | 3.0.0 | 是 |
| MLKitCommon | 9.0.0 | 是 |
| MLKitDigitalInkRecognition | 3.0.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta10 | 是 |
| MLKitFaceDetection | 3.0.0 | 是 |
| MLKitImageLabeling | 3.0.0 | 是 |
| MLKitImageLabelingCommon | 5.0.0 | 是 |
| MLKitImageLabelingCustom | 3.0.0 | 是 |
| MLKitLanguageID | 4.0.0 | 是 |
| MLKitLinkFirebase | 3.0.0 | 是 |
| MLKitMDD | 5.0.0 | 是 |
| MLKitNaturalLanguage | 5.0.0 | 是 |
| MLKitObjectDetection | 3.0.0 | 是 |
| MLKitObjectDetectionCommon | 5.0.0 | 是 |
| MLKitObjectDetectionCustom | 3.0.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta11 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta11 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta11 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta9 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta9 | 是 |
| MLKitSmartReply | 3.0.0 | 是 |
| MLKitTextRecognition (v2) | 2.0.0 | 是 |
| MLKitTextRecognitionCommon | 1.0.0 | 是 |
| MLKitTextRecognitionChinese | 1.0.0 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0 | 是 |
| MLKitTextRecognitionKorean | 1.0.0 | 是 |
| MLKitTranslate | 3.0.0 | 是 |
| MLKitVision | 5.0.0 | 是 |
| MLKitVisionKit | 6.0.0 | 是 |
| MLKitXenoCommon | 1.0.0-beta11 | 是 |
| MLImage | 1.0.0-beta4 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.2.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.2 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.0.0 | 是 |
| com.google.mlkit | barcode-scanning | 17.1.0 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta6 | 否 |
| com.google.mlkit | 翻译 | 17.0.1 | 否 |
新功能
- 在 Android 上,Google Code Scanner 已从 Beta 版升级为正式版。
- 在 Android 上,添加了对在条形码扫描中返回所有潜在条形码的支持。
- 在 iOS 上,文本识别 v2 已从 Beta 版升级为正式版。
改进
- 在 iOS 上,将支持的最低 Xcode 版本提高到了 14.2.0。
- 在 iOS 上,将支持的最低 iOS 版本从 10.0 提高到 11.0。
- 在 iOS 上,移除了对 bitcode 的支持。
- 在 iOS 上,升级了 MLKitCommon、MLKitLinkFirebase、MLKitNaturalLanguage 和 MLKitVision 中 GTMSessionFetcher/Core 依赖项的版本范围,以支持 Firebase 10。
2023 年 1 月 31 日
此版本包含一些新功能。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.2 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta3 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.3 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.1.0 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta6 | 否 |
| com.google.mlkit | 翻译 | 17.0.1 | 否 |
新功能
- 对于 Android 上的数字手写识别,为一些标准文本编辑手势添加了手势分类器模型。
2022 年 12 月 6 日
此版本包含一些新功能,并修复了一些问题。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-smart-reply | 16.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.2 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta3 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.3 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta6 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta6 | 否 |
| com.google.mlkit | 翻译 | 17.0.1 | 否 |
新功能
- 在 Android 上添加了非捆绑版智能回复 API。 与捆绑版本相比,非捆绑版本可将应用下载大小缩减 5.5MB。
问题修复
- 在 Android 上,修复了条形码扫描问题,该问题不支持 ARGB_8888 以外的位图配置。
2022 年 9 月 20 日
此版本包含一些新功能,并作了如下改进。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.2 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta3 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 是 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta6 | 是 |
| com.google.mlkit | 翻译 | 17.0.1 | 是 |
新功能
- 在 Android 上添加了 Face Mesh Detection API 的捆绑版本。该 API 的公开 Beta 版最适合检测距离摄像头约 2 米(约 7 英尺)的面孔,并可为检测到的面孔提供 468 个 3D 点和三角形信息,且延迟时间很短(在 Pixel 3 设备上为 14 毫秒)。在
BOUNDING_BOX_ONLY模式下,延迟时间可进一步缩短约 20%。
改进
2022 年 9 月 20 日
此版本包含一些新功能,并作了如下改进。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.2 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta3 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | face-mesh-detection | 16.0.0-beta1 | 是 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta3 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta6 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta6 | 是 |
| com.google.mlkit | 翻译 | 17.0.1 | 是 |
新功能
- 在 Android 上添加了捆绑版 Face Mesh Detection API。该 API 的公开 Beta 版最适合检测距离摄像头约 2 米或约 6.5 英尺的面孔,并以低延迟(在 Pixel 3 设备上为 14 毫秒)为检测到的面孔提供 468 个 3D 点和三角形信息。在
BOUNDING_BOX_ONLY模式下,延迟时间可进一步缩短约 20%。
改进
2022 年 8 月 23 日
改进
- 在 Android 上,升级了条形码扫描 API 的非捆绑版本。 改进了召回率、长尾延迟时间、低质量图片容忍度和边界框稳定性。使其性能与捆绑版本相当。 Google Play 服务会自动处理此升级,因此您无需在应用中进行任何更改。
2022 年 8 月 16 日
此版本包含多项改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 3.2.0 | 是 |
| MLKitBarcodeScanning | 2.2.0 | 是 |
| MLKitCommon | 8.0.0 | 是 |
| MLKitDigitalInkRecognition | 2.2.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta9 | 是 |
| MLKitFaceDetection | 2.2.0 | 是 |
| MLKitImageLabeling | 2.2.0 | 是 |
| MLKitImageLabelingCommon | 4.2.0 | 是 |
| MLKitImageLabelingCustom | 2.2.0 | 是 |
| MLKitLanguageID | 3.2.0 | 是 |
| MLKitLinkFirebase | 2.2.0 | 是 |
| MLKitNaturalLanguage | 4.2.0 | 是 |
| MLKitObjectDetection | 2.2.0 | 是 |
| MLKitObjectDetectionCommon | 4.2.0 | 是 |
| MLKitObjectDetectionCustom | 2.2.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta10 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta10 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta10 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta8 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta8 | 是 |
| MLKitSmartReply | 2.2.0 | 是 |
| MLKitTextRecognition (v2) | 1.4.0-beta6 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta6 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta6 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta6 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta6 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta6 | 是 |
| MLKitTranslate | 2.2.0 | 是 |
| MLKitVision | 4.2.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.1.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.1.0 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.8 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta4 | 是 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.1 | 是 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta3 | 是 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta4 | 否 |
| com.google.mlkit | 翻译 | 17.0.1 | 是 |
改进
- 在 Android 和 iOS 设备上,升级了翻译模型,以提高准确性。
- 在 Android 上,语言识别的非捆绑版本已结束 Beta 版阶段。
- 在 Android 上,公开了文字识别和文字识别 v2 的置信度分数。
- 在 Android 上,为每个支持非捆绑版本的机器学习套件检测器实现了
OptionalModuleApi接口,以便您在使用非捆绑版本时,可以使用 Google Play 服务 ModuleInstallClient API 来控制安装和检查可用性。 - 在 iOS 上,将
MLKitLinkFirebase中FirebaseCore和FirebaseInstallations依赖项的版本范围从 8.x 升级到 9.x,以使机器学习套件与 Firebase 9.x 兼容。
2022 年 6 月 28 日
此版本包含多项改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 3.1.0 | 是 |
| MLKitBarcodeScanning | 2.1.0 | 是 |
| MLKitCommon | 7.0.0 | 是 |
| MLKitDigitalInkRecognition | 2.1.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta8 | 是 |
| MLKitFaceDetection | 2.1.0 | 是 |
| MLKitImageLabeling | 2.1.0 | 是 |
| MLKitImageLabelingCommon | 4.1.0 | 是 |
| MLKitImageLabelingCustom | 2.1.0 | 是 |
| MLKitLanguageID | 3.1.0 | 是 |
| MLKitLinkFirebase | 2.1.0 | 是 |
| MLKitNaturalLanguage | 4.1.0 | 是 |
| MLKitObjectDetection | 2.1.0 | 是 |
| MLKitObjectDetectionCommon | 4.1.0 | 是 |
| MLKitObjectDetectionCustom | 2.1.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta9 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta9 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta9 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta7 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta7 | 是 |
| MLKitSmartReply | 2.1.0 | 是 |
| MLKitTextRecognition (v2) | 1.4.0-beta5 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta5 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta5 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta5 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta5 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta5 | 是 |
| MLKitTranslate | 2.1.0 | 是 |
| MLKitVision | 4.1.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.7 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta3 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.0 | 否 |
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta2 | 是 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.4 | 是 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.2 | 是 |
| com.google.mlkit | text-recognition | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta4 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta4 | 否 |
| com.google.mlkit | 翻译 | 17.0.0 | 否 |
改进
- 改进了智能回复模型,可生成更准确的回复,并将模型大小显著缩减了 5 MB。
- 在 Android 上,添加了允许用户从 Google Code Scanner API 中的扫描器视图手动输入条形码的选项。
2022 年 5 月 10 日
此版本包含一些新功能。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-code-scanner | 16.0.0-beta1 | 是 |
新功能
- 在 Android 上添加了新的 Google Code Scanner API。Google 扫码器的公开 Beta 版提供了一种完整的扫码解决方案,无需应用请求相机权限,同时可保护用户隐私。为此,该 API 会将扫描二维码的任务委托给 Google Play 服务,并且仅会将扫描结果返回给您的应用。
2022 年 4 月 26 日
此版本包含多项改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 3.0.0 | 是 |
| MLKitBarcodeScanning | 2.0.0 | 是 |
| MLKitCommon | 6.0.0 | 是 |
| MLKitDigitalInkRecognition | 2.0.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta7 | 是 |
| MLKitFaceDetection | 2.0.0 | 是 |
| MLKitImageLabeling | 2.0.0 | 是 |
| MLKitImageLabelingCommon | 4.0.0 | 是 |
| MLKitImageLabelingCustom | 2.0.0 | 是 |
| MLKitLanguageID | 3.0.0 | 是 |
| MLKitLinkFirebase | 2.0.0 | 是 |
| MLKitNaturalLanguage | 4.0.0 | 是 |
| MLKitObjectDetection | 2.0.0 | 是 |
| MLKitObjectDetectionCommon | 4.0.0 | 是 |
| MLKitObjectDetectionCustom | 2.0.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta8 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta8 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta8 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta6 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta6 | 是 |
| MLKitSmartReply | 2.0.0 | 是 |
| MLKitTextRecognition (v2) | 1.4.0-beta4 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta4 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta4 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta4 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta4 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta4 | 是 |
| MLKitTranslate | 2.0.0 | 是 |
| MLKitVision | 4.0.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.0.1 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.7 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta3 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 否 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.3 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.1 | 是 |
| com.google.mlkit | text-recognition | 16.0.0-beta4 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta4 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta4 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta4 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta4 | 是 |
| com.google.mlkit | 翻译 | 17.0.0 | 否 |
改进
- 改进了智能回复模型,以便更好地检测敏感话题。
- 在 Android 上,升级了文本识别 v2 API 捆绑版本中的所有语言模型。提升了性能,并为拉丁语添加了全屏幕方向支持。
- 在 iOS 上,将支持的最低 Xcode 版本提高到了 13.2.1。
2022 年 2 月 22 日
此版本包含一些新功能,并作了如下改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 2.6.0 | 是 |
| MLKitBarcodeScanning | 1.7.0 | 是 |
| MLKitCommon | 5.0.0 | 否 |
| MLKitDigitalInkRecognition | 1.5.0 | 否 |
| MLKitEntityExtraction | 1.0.0-beta6 | 否 |
| MLKitFaceDetection | 1.5.0 | 否 |
| MLKitImageLabeling | 1.5.0 | 否 |
| MLKitImageLabelingCommon | 3.0.0 | 否 |
| MLKitImageLabelingCustom | 1.5.0 | 否 |
| MLKitLanguageID | 2.0.0 | 否 |
| MLKitLinkFirebase | 1.5.0 | 否 |
| MLKitNaturalLanguage | 3.0.0 | 否 |
| MLKitObjectDetection | 1.5.0 | 否 |
| MLKitObjectDetectionCommon | 3.0.0 | 否 |
| MLKitObjectDetectionCustom | 1.5.0 | 否 |
| MLKitPoseDetection | 1.0.0-beta7 | 否 |
| MLKitPoseDetectionAccurate | 1.0.0-beta7 | 否 |
| MLKitPoseDetectionCommon | 1.0.0-beta7 | 否 |
| MLKitSegmentationCommon | 1.0.0-beta5 | 否 |
| MLKitSegmentationSelfie | 1.0.0-beta5 | 否 |
| MLKitSmartReply | 1.5.0 | 否 |
| MLKitTextRecognition (v2) | 1.4.0-beta3 | 否 |
| MLKitTextRecognitionCommon | 1.0.0-beta3 | 否 |
| MLKitTextRecognitionChinese | 1.0.0-beta3 | 否 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta3 | 否 |
| MLKitTextRecognitionJapanese | 1.0.0-beta3 | 否 |
| MLKitTextRecognitionKorean | 1.0.0-beta3 | 否 |
| MLKitTranslate | 1.5.0 | 否 |
| MLKitVision | 3.0.0 | 否 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.0.0 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.7 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta3 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0-beta1 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 否 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 否 |
| com.google.mlkit | face-detection | 16.1.5 | 是 |
| com.google.mlkit | image-labeling | 17.0.7 | 否 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 否 |
| com.google.mlkit | language-id | 17.0.3 | 否 |
| com.google.mlkit | linkfirebase | 17.0.0 | 否 |
| com.google.mlkit | object-detection | 17.0.0 | 否 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 否 |
| com.google.mlkit | pose-detection | 18.0.0-beta2 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 否 |
| com.google.mlkit | smart-reply | 17.0.0 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta3 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta3 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta3 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta3 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta3 | 否 |
| com.google.mlkit | 翻译 | 17.0.0 | 否 |
新功能
- 在 Android 上,为姿势检测添加了 GPU 加速支持。
改进
- 在 Android 上,升级了人脸检测 API 捆绑版本中的模型。改进了准确模式的召回率和延迟时间,并将 APK 大小影响从 11.6 MB 降低到 6.9 MB。
- 在 iOS 上,Barcode Scanning API 支持 CP437 文本编码的 ECI 代码。
2022 年 1 月 25 日
此版本包含 Android 上的内部改进和问题修复。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 18.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 17.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.7 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta3 | 是 |
| com.google.android.gms | play-services-mlkit-language-id | 17.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 18.0.0 | 是 |
| com.google.mlkit | barcode-scanning | 17.0.2 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta3 | 是 |
| com.google.mlkit | digital-ink-recognition | 18.0.0 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta4 | 是 |
| com.google.mlkit | face-detection | 16.1.4 | 是 |
| com.google.mlkit | image-labeling | 17.0.7 | 是 |
| com.google.mlkit | image-labeling-custom | 17.0.1 | 是 |
| com.google.mlkit | language-id | 17.0.3 | 是 |
| com.google.mlkit | linkfirebase | 17.0.0 | 是 |
| com.google.mlkit | object-detection | 17.0.0 | 是 |
| com.google.mlkit | object-detection-custom | 17.0.0 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 是 |
| com.google.mlkit | pose-detection | 18.0.0-beta1 | 是 |
| com.google.mlkit | pose-detection-accurate | 18.0.0-beta1 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta4 | 是 |
| com.google.mlkit | smart-reply | 17.0.0 | 是 |
| com.google.mlkit | text-recognition | 16.0.0-beta3 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta3 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta3 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta3 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta3 | 是 |
| com.google.mlkit | 翻译 | 17.0.0 | 是 |
改进
- 现在,在之前使用
@RecentlyNonNull和@RecentlyNullable的位置使用严格的可为 null 性注解(@NonNull和@Nullable)。 做出此项更改后,在构建 Kotlin 代码或使用 Javanull检查框架时,曾经导致可 null 性警告的情况现在会导致错误。 - 在 Android 上,支持 Barcode Scanning API 中 CP437 文本编码的 ECI 代码。 。
问题修复
- 修复了条形码扫描问题:code 128B 和 code 128C 原始值多出一个字符。
2021 年 12 月 14 日
此版本包含内部改进和问题修复。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 2.5.0 | 是 |
| MLKitBarcodeScanning | 1.6.0 | 是 |
| MLKitCommon | 5.0.0 | 是 |
| MLKitDigitalInkRecognition | 1.5.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta6 | 是 |
| MLKitFaceDetection | 1.5.0 | 是 |
| MLKitImageLabeling | 1.5.0 | 是 |
| MLKitImageLabelingCommon | 3.0.0 | 是 |
| MLKitImageLabelingCustom | 1.5.0 | 是 |
| MLKitLanguageID | 2.0.0 | 是 |
| MLKitLinkFirebase | 1.5.0 | 是 |
| MLKitNaturalLanguage | 3.0.0 | 是 |
| MLKitObjectDetection | 1.5.0 | 是 |
| MLKitObjectDetectionCommon | 3.0.0 | 是 |
| MLKitObjectDetectionCustom | 1.5.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta7 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta7 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta7 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta5 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta5 | 是 |
| MLKitSmartReply | 1.5.0 | 是 |
| MLKitTextRecognition (v2) | 1.4.0-beta3 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta3 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta3 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta3 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta3 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta3 | 是 |
| MLKitTranslate | 1.5.0 | 是 |
| MLKitVision | 3.0.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 17.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.2.1 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.6 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta2 | 是 |
| com.google.android.gms | play-services-mlkit-language-id | 16.0.0-beta2 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 17.0.1 | 是 |
| com.google.mlkit | barcode-scanning | 17.0.1 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta2 | 是 |
| com.google.mlkit | digital-ink-recognition | 17.0.1 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta3 | 是 |
| com.google.mlkit | face-detection | 16.1.3 | 是 |
| com.google.mlkit | image-labeling | 17.0.6 | 是 |
| com.google.mlkit | image-labeling-custom | 17.0.0 | 是 |
| com.google.mlkit | language-id | 17.0.2 | 是 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.8 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.4 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta7 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta7 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta3 | 是 |
| com.google.mlkit | smart-reply | 16.2.0 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta2 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta2 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta2 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta2 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta2 | 是 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
问题修复
- 修复了文本识别 v2 中的一个问题,该问题会导致文本识别结果无法正确返回识别出的语言。
- 在 Android 上,修复了语言识别中的一个问题,该问题会导致应用在升级到 AGP 7.0.0 或更高版本时可能会崩溃。
- 在 Android 上,修复了姿势检测中的一个问题,该问题会导致本地引用表溢出。
- 在 Android 上,修复了数字墨水识别和实体提取中的一个问题:当应用以目标 API 级别 31 为目标平台并在 Android S 上运行时,可能会抛出运行时异常。
- 在 iOS 上,当条形码未采用 UTF-8 格式编码时,为
rawValue返回nil,以与 API 参考文档保持一致。
2021 年 9 月 28 日
此版本包含新功能、改进和问题修复。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| GoogleMLKit | 2.4.0 | 是 |
| MLKitBarcodeScanning | 1.5.0 | 是 |
| MLKitCommon | 4.0.0 | 是 |
| MLKitDigitalInkRecognition | 1.4.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta5 | 是 |
| MLKitFaceDetection | 1.4.0 | 是 |
| MLKitImageLabeling | 1.4.0 | 是 |
| MLKitImageLabelingCommon | 2.0.0 | 是 |
| MLKitImageLabelingCustom | 1.4.0 | 是 |
| MLKitLanguageID | 1.4.0 | 是 |
| MLKitLinkFirebase | 1.4.0 | 是 |
| MLKitNaturalLanguage | 2.0.0 | 是 |
| MLKitObjectDetection | 1.4.0 | 是 |
| MLKitObjectDetectionCommon | 2.0.0 | 是 |
| MLKitObjectDetectionCustom | 1.4.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta6 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta6 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta6 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta4 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta4 | 是 |
| MLKitSmartReply | 1.4.0 | 是 |
| MLKitTextRecognition (v2) | 1.4.0-beta2 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta2 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta2 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta2 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta2 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta2 | 是 |
| MLKitTranslate | 1.4.0 | 是 |
| MLKitVision | 2.0.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.2.1 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.2.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.5 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling-custom | 16.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-language-id | 16.0.0-beta2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 17.0.0 | 否 |
| com.google.mlkit | barcode-scanning | 17.0.0 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 17.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta2 | 否 |
| com.google.mlkit | face-detection | 16.1.2 | 否 |
| com.google.mlkit | image-labeling | 17.0.5 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 17.0.1 | 是 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.7 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.3 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta6 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta6 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta2 | 否 |
| com.google.mlkit | smart-reply | 16.2.0 | 否 |
| com.google.mlkit | text-recognition | 16.0.0-beta1 | 否 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta1 | 否 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta1 | 否 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta1 | 否 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
新功能
- 在 Android 上,添加了由 Google Play 服务提供支持的非捆绑版自定义图片标签 API,以将对 APK 大小的影响从 5.5 MB 降低到 600 KB。
- 在 iOS 上,为文本识别 v2 向
TextElement添加了recognizedLanguages属性。
改进
- 在 Android 上,为 Pixel 2021 设备上的使用基础模型进行对象检测和跟踪以及姿态检测启用了 NNAPI(TPU) 加速。
- 在 iOS 上,将支持的最低 Xcode 版本提高到了 12.5.1。
- 在 iOS 上,升级了语言识别模型,提高了质量。
问题修复
- 在 Android 上,修复了语言识别中的一个问题,该问题会导致 SDK 返回意外的
unknown标记。 - 在 iOS 上,修复了生成
.ipa文件时出现的 bitcode 重新编译问题。
2021 年 8 月 11 日
此版本包含一些新功能,并作了如下改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| MLKitBarcodeScanning | 1.4.0 | 是 |
| MLKitCommon | 3.1.0 | 是 |
| MLKitDigitalInkRecognition | 1.3.0 | 否 |
| MLKitEntityExtraction | 1.0.0-beta4 | 否 |
| MLKitFaceDetection | 1.3.0 | 否 |
| MLKitImageLabeling | 1.3.0 | 否 |
| MLKitImageLabelingCommon | 1.3.0 | 否 |
| MLKitImageLabelingCustom | 1.3.0 | 否 |
| MLKitLanguageID | 1.3.0 | 否 |
| MLKitLinkFirebase | 1.3.0 | 否 |
| MLKitObjectDetection | 1.3.0 | 否 |
| MLKitObjectDetectionCommon | 1.3.0 | 否 |
| MLKitObjectDetectionCustom | 1.3.0 | 否 |
| MLKitPoseDetection | 1.0.0-beta5 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta5 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta5 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta3 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta3 | 是 |
| MLKitSmartReply | 1.3.0 | 否 |
| MLKitTextRecognition (v2) | 1.4.0-beta1 | 是 |
| MLKitTextRecognitionCommon | 1.0.0-beta1 | 是 |
| MLKitTextRecognitionChinese | 1.0.0-beta1 | 是 |
| MLKitTextRecognitionDevanagari | 1.0.0-beta1 | 是 |
| MLKitTextRecognitionJapanese | 1.0.0-beta1 | 是 |
| MLKitTextRecognitionKorean | 1.0.0-beta1 | 是 |
| MLKitTranslate | 1.3.0 | 否 |
| MLKitVision | 1.3.0 | 否 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.2.1 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.2.0 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.5 | 否 |
| com.google.android.gms | play-services-mlkit-language-id | 16.0.0-beta1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 17.0.0 | 是 |
| com.google.mlkit | barcode-scanning | 17.0.0 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 17.0.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta2 | 否 |
| com.google.mlkit | face-detection | 16.1.2 | 否 |
| com.google.mlkit | image-labeling | 17.0.5 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 17.0.0 | 是 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.6 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.3 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta5 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta5 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta2 | 否 |
| com.google.mlkit | smart-reply | 16.2.0 | 是 |
| com.google.mlkit | text-recognition | 16.0.0-beta1 | 是 |
| com.google.mlkit | text-recognition-chinese | 16.0.0-beta1 | 是 |
| com.google.mlkit | text-recognition-devanagari | 16.0.0-beta1 | 是 |
| com.google.mlkit | text-recognition-japanese | 16.0.0-beta1 | 是 |
| com.google.mlkit | text-recognition-korean | 16.0.0-beta1 | 是 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
新功能
- 添加了文本识别 v2,除了拉丁语之外,还增加了对中文、梵文、日语和韩语脚本的支持,并大大增加了支持的语言范围。此 API 以捆绑库的形式提供,包含改进的基于机器学习的块/段落检测功能和更新的模型,可提高识别准确率。
- 在 Android 上,添加了由 Google Play 服务提供支持的非捆绑版语言识别,以将对 APK 大小的影响减少约 500KB。
改进
- 升级了条形码扫描 API 的捆绑版本。改进了召回率、长尾延迟时间、低质量图片容忍度和边界框稳定性。
- 升级了姿势检测 API,以提高准确性。此外,还添加了面部特征点的实验性 Z 坐标。
- 在 Android 上,更新了语言识别模型,以提高准确性。
破坏性更改
- 在 Android 上,文字识别有两项破坏性更改:
- 移除了已废弃的
TextRecognition.getClient()方法。请改用TextRecognition.getClient(TextRecognizerOptions.DEFAULT_OPTIONS)。 TextRecognizerOptions已从com.google.mlkit.vision.text移至com.google.mlkit.vision.text.latin。
- 移除了已废弃的
- 在 Android 上,对于条形码扫描和语言识别,主要版本号增加只是因为非公开 API 发生了破坏性更改。在应用中升级其依赖项版本时,无需更改代码。
- 在 Android 上,由于使用率极低,机器学习套件不再支持 API 级别 16、17 和 18。现在支持的最低级别为 API 级别 19 (KitKat)。
注意
- 在 iOS 上,如需让项目继续使用 v1 版本的文本识别,请务必在 Podfile 中固定到 2.2.0 或更低版本。例如,将
pod 'GoogleMLKit/TextRecognition','2.2.0'添加到 pod 文件会将您的应用固定到此功能的最新 v1 版本。
2021 年 6 月 29 日
此版本包含一些新功能,并作了如下改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| MLKitBarcodeScanning | 1.3.0 | 是 |
| MLKitCommon | 3.0.0 | 是 |
| MLKitDigitalInkRecognition | 1.3.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta4 | 是 |
| MLKitFaceDetection | 1.3.0 | 是 |
| MLKitImageLabeling | 1.3.0 | 是 |
| MLKitImageLabelingCommon | 1.3.0 | 是 |
| MLKitImageLabelingCustom | 1.3.0 | 是 |
| MLKitLanguageID | 1.3.0 | 是 |
| MLKitLinkFirebase | 1.3.0 | 是 |
| MLKitObjectDetection | 1.3.0 | 是 |
| MLKitObjectDetectionCommon | 1.3.0 | 是 |
| MLKitObjectDetectionCustom | 1.3.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta4 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta4 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta4 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta2 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta2 | 是 |
| MLKitSmartReply | 1.2.0 | 是 |
| MLKitTextRecognition | 1.3.0 | 是 |
| MLKitTranslate | 1.3.0 | 是 |
| MLKitVision | 1.3.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.2.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.2.0 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.5 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.3.0 | 是 |
| com.google.mlkit | barcode-scanning | 16.2.0 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 17.0.0 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta2 | 是 |
| com.google.mlkit | face-detection | 16.1.2 | 是 |
| com.google.mlkit | image-labeling | 17.0.5 | 是 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.6 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.3 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta4 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta4 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta2 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
新功能
- 添加了对 Android 上的 com.google.android.odml.image.MlImage 和 iOS 上的 MLImage 的支持,这是一种用于设备端机器学习框架的通用图片容器(Beta 版)。
改进
- 升级了实体提取模型,提高了 Android 和 iOS 的质量。
- 在 Android 上,针对特定 CPU 规格改进了
Pose Detection性能。 - 在 Android 上,修复了
Entity Extraction和Digital Ink RecognitionAPI 的 okhttp3 不兼容问题。 - 在 iOS 上,将支持的最低 Xcode 版本提高到了 12.4。
- 在 iOS 上,将
MLKitCommon中GoogleDataTransport依赖项的版本范围从 8.x 升级到了 9.x,并将MLKitLinkFirebase中FirebaseCore依赖项的版本范围从 7.x 升级到了 8.x,以使机器学习套件与 Firebase 8.x 兼容。已将MLKitLinkFirebase从FirebaseInstanceID迁移到FirebaseInstallations。 - 破坏性更改:在 iOS 上,移除了对已弃用的远程 AutoML 训练的自定义模型(模型元数据中未嵌入标签)的标签支持。请将 Firebase 控制台中托管的此类远程模型更新为元数据中包含标签的模型。
2021 年 6 月 2 日
此补丁版本修复了 com.google.mlkit:face-detection 库中的一个bug。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.5 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.7 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.4 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.2.0 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.2 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.2.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.1.1 | 是 |
| com.google.mlkit | image-labeling | 17.0.4 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.5 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.2 | 否 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
2021 年 5 月 25 日
此版本包含新功能和改进。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.5 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.7 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.4 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.2.0 | 是 |
| com.google.mlkit | barcode-scanning | 16.1.2 | 是 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.2.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.1.0 | 是 |
| com.google.mlkit | image-labeling | 17.0.4 | 是 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.1 | 否 |
| com.google.mlkit | object-detection | 16.2.5 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.2 | 是 |
| com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta1 | 是 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
改进
在 Android 上,引入了 Play 商店动态功能 支持库,以便在应用使用 Play 商店 app bundle 构建时,将依赖于机器学习套件的功能和机器学习套件依赖项放入动态功能模块中。
在 Android 上,弃用了文本识别 SDK 中的 TextRecognition#getClient() API。
2021 年 5 月 4 日
此补丁版本修复了自定义图片标签 API 中的崩溃回归问题。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.6 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.3 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.2.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.7 | 否 |
| com.google.mlkit | image-labeling | 17.0.3 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.1 | 是 |
| com.google.mlkit | object-detection | 16.2.4 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 否 |
问题修复
- 在 Android 上,修复了从 Firebase 下载模型时自定义图片标签 API 中的崩溃问题。
2021 年 4 月 27 日
此版本包含新功能和改进。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.6 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.3 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 否 |
| com.google.mlkit | 相机 | 16.0.0-beta1 | 是 |
| com.google.mlkit | digital-ink-recognition | 16.2.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.7 | 是 |
| com.google.mlkit | image-labeling | 17.0.3 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 否 |
| com.google.mlkit | object-detection | 16.2.4 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 是 |
改进
在 Android 上,引入了相机辅助程序库,以便在流式传输模式下直接将机器学习套件视觉功能与相机输出搭配使用。它在内部使用 CameraX。
在 Android 上,为更多设备上的使用基本模型进行对象检测和跟踪启用了 NNAPI 加速,从而加快了模型推理速度并节省了电量。
问题修复
- 在 Android 上,修复了当 InputImage 由具有非零 rotationDegrees 的位图构造时 FaceDetection API 中存在的问题。
2021 年 3 月 30 日
此版本包含多项改进和问题修复。
改进
- 为数字墨水识别 API 添加了适用于天城文语言的新模型。
- 在 Android 上,更新了人脸检测 API 和图片标签 API 的外部依赖项版本。
问题修复
- 在 Android 上,向 Translate API 添加了网络权限,因此应用无需声明该权限。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.5 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.3 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.2.0 | 是 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.6 | 是 |
| com.google.mlkit | image-labeling | 17.0.3 | 是 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 否 |
| com.google.mlkit | object-detection | 16.2.3 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.2 | 是 |
2021 年 3 月 2 日
此版本包含一些新功能,并作了如下改进。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| MLKitBarcodeScanning | 1.2.0 | 是 |
| MLKitCommon | 2.1.0 | 是 |
| MLKitDigitalInkRecognition | 1.2.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta3 | 是 |
| MLKitFaceDetection | 1.2.0 | 是 |
| MLKitImageLabeling | 1.2.0 | 是 |
| MLKitImageLabelingCommon | 1.2.0 | 是 |
| MLKitImageLabelingCustom | 1.2.0 | 是 |
| MLKitLanguageID | 1.2.0 | 是 |
| MLKitLinkFirebase | 1.2.0 | 是 |
| MLKitObjectDetection | 1.2.0 | 是 |
| MLKitObjectDetectionCommon | 1.2.0 | 是 |
| MLKitObjectDetectionCustom | 1.2.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta3 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta3 | 是 |
| MLKitPoseDetectionCommon | 1.0.0-beta3 | 是 |
| MLKitSegmentationCommon | 1.0.0-beta1 | 是 |
| MLKitSegmentationSelfie | 1.0.0-beta1 | 是 |
| MLKitSmartReply | 1.2.0 | 是 |
| MLKitTextRecognition | 1.2.0 | 是 |
| MLKitTranslate | 1.2.0 | 是 |
| MLKitVision | 1.2.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.2 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.5 | 否 |
| com.google.mlkit | image-labeling | 17.0.2 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 否 |
| com.google.mlkit | object-detection | 16.2.3 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta3 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 是 |
| com.google.mlkit | segmentation-selfie | 16.0.0-beta1 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.1 | 否 |
新功能
- 添加了自拍分割 API,这是一种基于 CPU 的解决方案,可让开发者轻松地将背景与场景中的用户分开,并专注于重要内容。
改进
- 在 iOS 中,将支持的最低 Xcode 版本提高到了 12.2。
2021 年 2 月 5 日
此补丁版本修复了人脸检测 API 中的一个回归 bug。
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.4 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.2 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 否 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.5 | 是 |
| com.google.mlkit | image-labeling | 17.0.2 | 否 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 否 |
| com.google.mlkit | object-detection | 16.2.3 | 否 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.1-beta2 | 否 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta2 | 否 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.1 | 否 |
改进和问题修复
- 人脸检测 16.1.3 版(精简版)和 16.0.4 版(捆绑版)中引入了一个回归 bug,导致人脸检测效果不佳。此补丁版本修复了该 bug。
2021 年 1 月 26 日
此版本包含新功能、改进和问题修复。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| MLKitBarcodeScanning | 1.1.0 | 是 |
| MLKitDigitalInkRecognition | 1.1.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta2 | 是 |
| MLKitFaceDetection | 1.1.0 | 是 |
| MLKitImageLabeling | 1.1.0 | 是 |
| MLKitImageLabelingCustom | 1.1.0 | 是 |
| MLKitLanguageID | 1.1.0 | 是 |
| MLKitLinkFirebase | 1.1.0 | 是 |
| MLKitObjectDetection | 1.1.0 | 是 |
| MLKitObjectDetectionCustom | 1.1.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta2 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta2 | 是 |
| MLKitSmartReply | 1.1.0 | 是 |
| MLKitTextRecognition | 1.1.0 | 是 |
| MLKitTranslate | 1.1.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.4 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.3 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.2 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.3 | 是 |
| com.google.mlkit | barcode-scanning | 16.1.1 | 是 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 否 |
| com.google.mlkit | face-detection | 16.0.4 | 是 |
| com.google.mlkit | image-labeling | 17.0.2 | 是 |
| com.google.mlkit | image-labeling-custom | 16.3.1 | 是 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 否 |
| com.google.mlkit | object-detection | 16.2.3 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.1 | 是 |
| com.google.mlkit | pose-detection | 17.0.1-beta2 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta2 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.1 | 否 |
新功能
- 姿势检测 API 中新增了 Z 坐标支持。
改进和问题修复
- 姿势检测 API 可识别更多姿势,例如用户在做深蹲和俯卧撑时直接面向摄像头。
- 姿势检测 API 基础模型和精确模型要小得多。 此变更不会影响模型的质量。
- Android Vision API 已更新。由 Google Play 服务提供支持的拉取式 SDK 中,非捆绑式变体的大小缩减了大约 16%(约 160KB)。
2020 年 12 月 8 日
此版本包含新功能、改进和问题修复。
iOS API 详细信息
下表列出了此版本中发生变化的 iOS API。
| 制品名称 | 版本 | 已更新? |
|---|---|---|
| MLKitBarcodeScanning | 1.0.0 | 是 |
| MLKitDigitalInkRecognition | 1.0.0 | 是 |
| MLKitEntityExtraction | 1.0.0-beta1 | 是 |
| MLKitFaceDetection | 1.0.0 | 是 |
| MLKitImageLabeling | 1.0.0 | 是 |
| MLKitImageLabelingCustom | 1.0.0 | 是 |
| MLKitLanguageID | 1.0.0 | 是 |
| MLKitLinkFirebase | 1.0.0 | 是 |
| MLKitObjectDetection | 1.0.0 | 是 |
| MLKitObjectDetectionCustom | 1.0.0 | 是 |
| MLKitPoseDetection | 1.0.0-beta1 | 是 |
| MLKitPoseDetectionAccurate | 1.0.0-beta1 | 是 |
| MLKitSmartReply | 1.0.0 | 是 |
| MLKitTextRecognition | 1.0.0 | 是 |
| MLKitTranslate | 1.0.0 | 是 |
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.3 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.2 | 是 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.2 | 是 |
| com.google.mlkit | barcode-scanning | 16.1.0 | 是 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 否 |
| com.google.mlkit | entity-extraction | 16.0.0-beta1 | 是 |
| com.google.mlkit | face-detection | 16.0.3 | 是 |
| com.google.mlkit | image-labeling | 17.0.1 | 是 |
| com.google.mlkit | image-labeling-custom | 16.3.0 | 是 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.1.0 | 是 |
| com.google.mlkit | object-detection | 16.2.2 | 是 |
| com.google.mlkit | object-detection-custom | 16.3.0 | 是 |
| com.google.mlkit | pose-detection | 17.0.1-beta1 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.1-beta1 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.1 | 否 |
新功能
- 机器学习套件已不再处于 Beta 版阶段。机器学习套件的所有 API(姿势检测和实体提取除外)均已升级为正式版。
添加了实体提取 API(Beta 版)。 借助此 API,您可以从原始文本中检测和定位实体(例如地址、日期/时间等)。它支持 11 种实体类型和 15 种语言,并使用与 Android Q+ 中智能文本选择功能相同的技术。
实体提取功能完全离线运行(除了需要一次性下载所选语言模型,大小约为 700KB),并且同时支持 Android 和 iOS。
改进和问题修复
- 破坏性更改:移除了 AutoML Image 标签 API。现在,自定义图片加标签和自定义对象检测和跟踪 API 直接支持使用 AutoML Vision Edge 训练的自定义图片分类模型。
- 自定义图片标签和自定义对象检测和跟踪现在支持在 Firebase 中托管的远程模型。
- 添加了
RemoteModelSource、FirebaseModelSource和CustomRemoteModel类,以支持在 Firebase 服务器上远程托管的自定义模型。此外,还添加了对从 AutoML Vision Edge 训练的本地自定义模型的清单路径创建LocalModel实例的支持。 - 对于自定义图片标签 API,向
CustomImageLabelerOptions类添加了远程自定义模型支持。 - 对于自定义对象检测 API,向
CustomObjectDetectorOptions类添加了远程自定义模型支持。
- 添加了
- 在 Android 上,大幅缩减了 Vision API 的 SDK 大小。对于具有非捆绑变体(由 Google Play 服务提供支持)的 API,拉取 SDK 的大小会减少约 900KB(约为原始大小的 65%)。对于所有其他 Vision API,拉取式 SDK 的大小会缩减约 600KB。数字墨水识别功能除外,其 SDK 大小保持不变。
- 在 Android 上,为
STREAM_MODE中使用基本模型的对象检测和跟踪启用了 NNAPI 加速,适用于部分设备和操作系统(目前为搭载 Android Q 或 R 的 Pixel 3、3XL、4、4XL),可加快模型推理速度并节省电量。 - 在 Android 上,修复了条形码扫描 API 在某些搭载
camera-camera2:1.0.0-beta08或更高版本的设备上无法正常运行的问题。
2020 年 11 月 2 日
此版本包含多项改进和问题修复。
iOS:GoogleMLKit/LinkFirebase 0.64.1
改进和问题修复
- 将 MLKitLinkFirebase 中的 FirebaseCore 依赖项的版本范围从 6.x 升级到了 7.x,将 FirebaseInstanceID 依赖项的版本范围从 4.x 升级到了 7.x。
2020 年 10 月 29 日
此版本包含多项改进和问题修复。
iOS:GoogleMLKit/Common 0.64.2
改进和问题修复
- 将 MLKitCommon 中 GoogleUtilities/UserDefaults 依赖项的版本范围从 6.x 升级到了 7.x。
2020 年 10 月 26 日
此版本包含多项改进和问题修复。
iOS:GoogleMLKit/Common 0.64.1
改进和问题修复
- 将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从 7.x 升级到了 8.x。
2020 年 9 月 29 日
此版本包含新功能、改进和问题修复。
iOS API 版本:0.64.0
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.2 | 否 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.1 | 否 |
| com.google.android.gms | play-services-mlkit-image-labeling | 16.0.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.1 | 否 |
| com.google.mlkit | barcode-scanning | 16.0.3 | 否 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 否 |
| com.google.mlkit | face-detection | 16.0.2 | 否 |
| com.google.mlkit | image-labeling | 17.0.0 | 否 |
| com.google.mlkit | image-labeling-automl | 16.2.1 | 否 |
| com.google.mlkit | image-labeling-custom | 16.2.1 | 否 |
| com.google.mlkit | language-id | 16.1.1 | 否 |
| com.google.mlkit | linkfirebase | 16.0.1 | 否 |
| com.google.mlkit | object-detection | 16.2.1 | 否 |
| com.google.mlkit | object-detectio-custom | 16.2.1 | 否 |
| com.google.mlkit | pose-detection | 17.0.0 | 是 |
| com.google.mlkit | pose-detection-accurate | 17.0.0 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 否 |
| com.google.mlkit | 翻译 | 16.1.1 | 否 |
新功能
- 在 Android 上,添加了由 Google Play 服务提供支持的图片标签 API 的“精简”变体。与捆绑式变体相比,对应用大小的影响减少了约 3 MB。
改进和问题修复
- 破坏性更改:将姿势检测拆分为两个库,以优化大小。一个库仅捆绑快速模型,而另一个库仅捆绑准确模型。如果您只使用一组模型,这有助于节省应用大小。iOS 也发生了同样的变化:PoseDetection pod 现在仅包含快速模型。 如需使用精确模型,请改用 PoseDetectionAccurate pod。
- 在 iOS 上,修复了在姿势检测器解除分配期间发生的内存泄漏问题。
2020 年 8 月 25 日
此版本包含新功能、改进和问题修复。
iOS API 版本:0.63.0
Android API 详情
下表列出了此版本中发生变化的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.2 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.1 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.1 | 是 |
| com.google.mlkit | barcode-scanning | 16.0.3 | 是 |
| com.google.mlkit | digital-ink-recognition | 16.1.0 | 是 |
| com.google.mlkit | face-detection | 16.0.2 | 是 |
| com.google.mlkit | image-labeling | 17.0.0 | 是 |
| com.google.mlkit | image-labeling-automl | 16.2.1 | 是 |
| com.google.mlkit | image-labeling-custom | 16.2.1 | 是 |
| com.google.mlkit | language-id | 16.1.1 | 是 |
| com.google.mlkit | linkfirebase | 16.0.1 | 是 |
| com.google.mlkit | object-detection | 16.2.1 | 是 |
| com.google.mlkit | object-detectio-custom | 16.2.1 | 是 |
| com.google.mlkit | pose-detection | 16.0.0 | 是 |
| com.google.mlkit | smart-reply | 16.1.1 | 是 |
| com.google.mlkit | 翻译 | 16.1.1 | 是 |
新功能
添加了姿势检测 API,这是一种基于 CPU 的轻量级多功能解决方案,可供开发者在其应用中实时跟踪用户的身体动作。姿势检测可实时提供用户身体的 33 点骨骼匹配(通过手脚跟踪),并经过调优,非常适合复杂的运动用例。
姿势检测还支持完全离线运行,提供两种操作模式(快速和准确),并且同时支持 Android 和 iOS。
改进和问题修复
- 添加了对在 Android 上使用 URI 创建 LocalModel 的支持。
- 数字墨水识别中新增了适用于菲律宾语 (
fil/tl)、乌兹别克语 (uz-Latn) 和柏柏尔语 (ber-Latn) 的拉丁语脚本识别器。 - 改进了数字手写识别中西里尔字母语言的模型。
- 在 Android 上的语言识别中,将希伯来语语言代码从
iw更改为he,因为iw在 BCP-47 中已弃用。
2020 年 7 月 28 日
此版本包含新功能、改进和问题修复。
iOS API 版本:0.62.0
Android API 详情
下表列出了此版本中的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.1 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.0 | 否 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.0 | 否 |
| com.google.mlkit | barcode-scanning | 16.0.2 | 是 |
| com.google.mlkit | digital-ink-recognition | 16.0.0 | 是 |
| com.google.mlkit | face-detection | 16.0.1 | 否 |
| com.google.mlkit | image-labeling | 16.2.0 | 是 |
| com.google.mlkit | image-labeling-automl | 16.2.0 | 是 |
| com.google.mlkit | image-labeling-custom | 16.2.0 | 是 |
| com.google.mlkit | language-id | 16.1.0 | 否 |
| com.google.mlkit | linkfirebase | 16.0.0 | 否 |
| com.google.mlkit | object-detection | 16.2.0 | 是 |
| com.google.mlkit | object-detection-custom | 16.2.0 | 是 |
| com.google.mlkit | smart-reply | 16.1.0 | 否 |
| com.google.mlkit | 翻译 | 16.1.0 | 否 |
新功能
添加了新的数字手写识别 API,可识别在数字平面(例如触摸屏)上手写的文本和形状。支持 300 多种语言,以及表情符号和自动绘制功能。Gboard、Google 翻译应用和《快画!》游戏中的手写识别布局采用的也是这项技术。
数字墨水识别功能完全离线运行(除了需要一次性下载语言包),并且同时支持 Android 和 iOS。
在 Android 上,添加了对指定您自己的自定义 Executor 的支持,以便运行模型加载和推理等高开销任务,从而实现图片标签和对象检测与跟踪。在此版本中,所有机器学习套件 API 现在都支持自定义执行器
默认情况下,机器学习套件使用经过高度优化的内部管理线程池来运行后台任务。此 API 可帮助开发者在特殊用例中完全控制其应用中的线程。
改进和问题修复
- 在 Android 上,针对 Barcode Scanning API,修复了输入图片的旋转处理。
2020 年 7 月 15 日
此版本包含多项改进和问题修复。
iOS:GoogleMLKit/Common 0.61.1
改进和问题修复
- 将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从 3.2 或更高版本升级到 7.0 或更高版本。
- 从 MLKitCommon 中移除了 GoogleDataTransportCCTSupport 依赖项。
2020 年 7 月 1 日
此版本包含新功能、改进和问题修复。
iOS API 版本:0.61.0
Android API 详情
下表列出了此版本中的 Android API。
| 群组 ID | 制品名称 | 版本 | 已更新? |
|---|---|---|---|
| com.google.android.gms | play-services-mlkit-barcode-scanning | 16.1.0 | 是 |
| com.google.android.gms | play-services-mlkit-face-detection | 16.1.0 | 是 |
| com.google.android.gms | play-services-mlkit-text-recognition | 16.1.0 | 是 |
| com.google.mlkit | barcode-scanning | 16.0.1 | 是 |
| com.google.mlkit | face-detection | 16.0.1 | 是 |
| com.google.mlkit | image-labeling | 16.1.0 | 是 |
| com.google.mlkit | image-labeling-automl | 16.1.0 | 是 |
| com.google.mlkit | image-labeling-custom | 16.1.0 | 是 |
| com.google.mlkit | language-id | 16.1.0 | 是 |
| com.google.mlkit | linkfirebase | 16.0.0 | 否 |
| com.google.mlkit | object-detection | 16.1.0 | 是 |
| com.google.mlkit | object-detection-custom | 16.1.0 | 是 |
| com.google.mlkit | smart-reply | 16.1.0 | 是 |
| com.google.mlkit | 翻译 | 16.1.0 | 是 |
新功能
- 图片标签和对象检测和跟踪 API 现在支持基于浮点数的自定义模型。
在 Android 上,除了图片标签和对象检测与跟踪之外,所有 API 都添加了对指定您自己的自定义 Executor 的支持,以便运行模型加载和推理等高开销任务。
默认情况下,机器学习套件使用高度优化、内部管理的线程池来运行后台任务。此 API 可帮助开发者在特殊用例中完全控制其应用中的线程。
改进和问题修复
- 破坏性更改:在 iOS 上,对于条形码扫描 API,修正了
BarcodePersonName中的拼写错误,并将其pronounciation属性重命名为pronunciation。 - 修复了 iOS 上翻译和智能回复 API 中的一个问题:如果设备语言区域未指定区域(例如“en”而不是“en-US”),应用会崩溃。
2020 年 6 月 3 日
Android:16.0.0 / iOS:0.60.0
这是机器学习套件作为独立 SDK(独立于 Firebase)的第一个版本。此 SDK 提供了之前通过 Firebase 机器学习套件 SDK 提供的所有设备端 API。如需详细了解这一变化以及如何迁移现有应用,请参阅我们的迁移指南。
此版本包含新功能、改进和问题修复。
新功能
- 新增了自定义图片标签和自定义对象检测和跟踪 API,让您能够轻松在应用中使用自定义图片分类模型(预训练模型或通过各种来源新训练的模型),并为用户打造实时互动体验。
改进和问题修复
- 在 Android 上,在“精简”版人脸检测 API 中添加了对人脸轮廓的支持,由 Google Play 服务提供支持。与捆绑式变体相比,对应用大小的影响减少了约 20.3 MB。
- 在 Android 上,通过将图片处理代码从 Java 迁移到原生代码,提高了条形码扫描和人脸检测 API 的 CameraX 和 Camera2 性能。
- 所有 API 均已添加 Android Jetpack 生命周期支持。开发者可以使用
addObserver在应用经历屏幕旋转或被用户/系统关闭时自动管理机器学习套件 API 的启动和关闭。这使得 CameraX 集成更加轻松。 - Text Recognition API:现在会提供最普遍的识别语言
- 人脸检测 API:现在提供人脸的欧拉 X 角。
- Barcode Scanning API [捆绑]:添加了对损坏的 PDF417 开始/停止模式检测的支持,将召回率提高了 10%。
- 对象检测和跟踪 API:更新了本地化工具模型,提高了平均精确率,并将占用空间减少了约 700KB。
旧版本
2020 年 6 月 3 日之前的更改可在 Firebase 版本说明中找到。