最新版本
Android API 最新版本
群组 ID | 制品名称 | 版本 | 最后更新时间 |
---|---|---|---|
com.google.android.gms | play-services-mlkit-barcode-scanning | 18.3.1 | 08/07/2024 |
com.google.android.gms | play-services-mlkit-document-scanner | 16.0.0-beta1 | 02/20/2024 |
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.1 | 08/07/2024 |
com.google.android.gms | play-services-mlkit-text-recognition-chinese | 16.0.1 | 08/07/2024 |
com.google.android.gms | play-services-mlkit-text-recognition-devanagari | 16.0.1 | 08/07/2024 |
com.google.android.gms | play-services-mlkit-text-recognition-japanese | 16.0.1 | 08/07/2024 |
com.google.android.gms | play-services-mlkit-text-recognition-korean | 16.0.1 | 08/07/2024 |
com.google.android.gms | play-services-code-scanner | 16.1.0 | 2023 年 8 月 1 日 |
com.google.mlkit | 条形码扫描 | 17.3.0 | 08/07/2024 |
com.google.mlkit | camera | 16.0.0-beta3 | 2022 年 1 月 25 日 |
com.google.mlkit | 数字墨水识别 | 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 | 08/07/2024 |
com.google.mlkit | face-mesh-detection | 16.0.0-beta3 | 08/07/2024 |
com.google.mlkit | genai-image-description | 1.0.0-beta1 | 2025 年 5 月 14 日 |
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-summarization | 1.0.0-beta1 | 2025 年 5 月 14 日 |
com.google.mlkit | image-labeling | 17.0.9 | 08/07/2024 |
com.google.mlkit | image-labeling-custom | 17.0.3 | 08/07/2024 |
com.google.mlkit | language-id | 17.0.6 | 08/07/2024 |
com.google.mlkit | linkfirebase | 17.0.0 | 2022 年 1 月 25 日 |
com.google.mlkit | object-detection | 17.0.2 | 08/07/2024 |
com.google.mlkit | object-detection-custom | 17.0.2 | 08/07/2024 |
com.google.mlkit | playstore-dynamic-feature-support | 16.0.0-beta2 | 2022 年 1 月 25 日 |
com.google.mlkit | 姿势检测 | 18.0.0-beta5 | 08/07/2024 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 08/07/2024 |
com.google.mlkit | 分割 - 自拍 | 16.0.0-beta6 | 08/07/2024 |
com.google.mlkit | smart-reply | 17.0.4 | 08/07/2024 |
com.google.mlkit | text-recognition | 16.0.1 | 08/07/2024 |
com.google.mlkit | text-recognition-chinese | 16.0.1 | 08/07/2024 |
com.google.mlkit | 文字识别 - 天城文 | 16.0.1 | 08/07/2024 |
com.google.mlkit | text-recognition-japanese | 16.0.1 | 08/07/2024 |
com.google.mlkit | text-recognition-korean | 16.0.1 | 08/07/2024 |
com.google.mlkit | 翻译 | 17.0.3 | 08/07/2024 |
iOS API 最新版本
制品名称 | 版本 | 最后更新时间 |
---|---|---|
GoogleMLKit | 9.0.0 | 06/27/2025 |
MLKitBarcodeScanning | 8.0.0 | 06/27/2025 |
MLKitCommon | 14.0.0 | 06/27/2025 |
MLKitDigitalInkRecognition | 8.0.0 | 06/27/2025 |
MLKitEntityExtraction | 1.0.0-beta15 | 06/27/2025 |
MLKitFaceDetection | 8.0.0 | 06/27/2025 |
MLKitImageLabeling | 8.0.0 | 06/27/2025 |
MLKitImageLabelingCommon | 10.0.0 | 06/27/2025 |
MLKitImageLabelingCustom | 8.0.0 | 06/27/2025 |
MLKitLanguageID | 9.0.0 | 06/27/2025 |
MLKitLinkFirebase | 8.0.0 | 06/27/2025 |
MLKitObjectDetection | 8.0.0 | 06/27/2025 |
MLKitObjectDetectionCommon | 10.0.0 | 06/27/2025 |
MLKitObjectDetectionCustom | 8.0.0 | 06/27/2025 |
MLKitPoseDetection | 1.0.0-beta16 | 06/27/2025 |
MLKitPoseDetectionAccurate | 1.0.0-beta16 | 06/27/2025 |
MLKitPoseDetectionCommon | 1.0.0-beta16 | 06/27/2025 |
MLKitSegmentationCommon | 1.0.0-beta14 | 06/27/2025 |
MLKitSegmentationSelfie | 1.0.0-beta14 | 06/27/2025 |
MLKitSmartReply | 8.0.0 | 06/27/2025 |
MLKitTextRecognition (v2) | 7.0.0 | 06/27/2025 |
MLKitTextRecognitionCommon | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionChinese | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionDevanagari | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionJapanese | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionKorean | 6.0.0 | 06/27/2025 |
MLKitTranslate | 8.0.0 | 06/27/2025 |
MLKitVision | 10.0.0 | 06/27/2025 |
MLImage | 1.0.0-beta8 | 06/27/2025 |
发布版本历史记录
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 | 条形码扫描 | 17.3.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta5 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 日
此版本包含多项 bug 修复。
iOS API 最新版本
制品名称 | 版本 | 最后更新时间 |
---|---|---|
GoogleMLKit | 9.0.0 | 06/27/2025 |
MLKitBarcodeScanning | 8.0.0 | 06/27/2025 |
MLKitCommon | 14.0.0 | 06/27/2025 |
MLKitDigitalInkRecognition | 8.0.0 | 06/27/2025 |
MLKitEntityExtraction | 1.0.0-beta15 | 06/27/2025 |
MLKitFaceDetection | 8.0.0 | 06/27/2025 |
MLKitImageLabeling | 8.0.0 | 06/27/2025 |
MLKitImageLabelingCommon | 10.0.0 | 06/27/2025 |
MLKitImageLabelingCustom | 8.0.0 | 06/27/2025 |
MLKitLanguageID | 9.0.0 | 06/27/2025 |
MLKitLinkFirebase | 8.0.0 | 06/27/2025 |
MLKitObjectDetection | 8.0.0 | 06/27/2025 |
MLKitObjectDetectionCommon | 10.0.0 | 06/27/2025 |
MLKitObjectDetectionCustom | 8.0.0 | 06/27/2025 |
MLKitPoseDetection | 1.0.0-beta16 | 06/27/2025 |
MLKitPoseDetectionAccurate | 1.0.0-beta16 | 06/27/2025 |
MLKitPoseDetectionCommon | 1.0.0-beta16 | 06/27/2025 |
MLKitSegmentationCommon | 1.0.0-beta14 | 06/27/2025 |
MLKitSegmentationSelfie | 1.0.0-beta14 | 06/27/2025 |
MLKitSmartReply | 8.0.0 | 06/27/2025 |
MLKitTextRecognition (v2) | 7.0.0 | 06/27/2025 |
MLKitTextRecognitionCommon | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionChinese | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionDevanagari | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionJapanese | 6.0.0 | 06/27/2025 |
MLKitTextRecognitionKorean | 6.0.0 | 06/27/2025 |
MLKitTranslate | 8.0.0 | 06/27/2025 |
MLKitVision | 10.0.0 | 06/27/2025 |
MLImage | 1.0.0-beta8 | 06/27/2025 |
bug 修复
- 在 iOS 上,移除了网域引用,以防止应用提交被拒。
2025 年 5 月 14 日
在 Android 上发布了以下生成式 AI API:
- 图片说明 API,用于提供简短的图片说明。
- 校对 API,用于通过改进语法和修正拼写错误来润色简短内容。
- 重写 API,以不同风格(例如正式、简洁,甚至带有表情符号)改写内容。
- 总结 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 | 条形码扫描 | 17.3.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta5 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 上,修复了阿拉伯语版实体提取 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 | 条形码扫描 | 17.3.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta5 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.3.0 | 是 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta5 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta5 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 02/20/2024 |
改进
- 在 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 | 02/20/2024 |
MLKitBarcodeScanning | 4.0.0 | 02/20/2024 |
MLKitCommon | 10.0.0 | 02/20/2024 |
MLKitDigitalInkRecognition | 4.0.0 | 02/20/2024 |
MLKitEntityExtraction | 1.0.0-beta11 | 02/20/2024 |
MLKitFaceDetection | 4.0.0 | 02/20/2024 |
MLKitImageLabeling | 4.0.0 | 02/20/2024 |
MLKitImageLabelingCommon | 6.0.0 | 02/20/2024 |
MLKitImageLabelingCustom | 4.0.0 | 02/20/2024 |
MLKitLanguageID | 5.0.0 | 02/20/2024 |
MLKitLinkFirebase | 4.0.0 | 02/20/2024 |
MLKitObjectDetection | 4.0.0 | 02/20/2024 |
MLKitObjectDetectionCommon | 6.0.0 | 02/20/2024 |
MLKitObjectDetectionCustom | 4.0.0 | 02/20/2024 |
MLKitPoseDetection | 1.0.0-beta12 | 02/20/2024 |
MLKitPoseDetectionAccurate | 1.0.0-beta12 | 02/20/2024 |
MLKitPoseDetectionCommon | 1.0.0-beta12 | 02/20/2024 |
MLKitSegmentationCommon | 1.0.0-beta10 | 02/20/2024 |
MLKitSegmentationSelfie | 1.0.0-beta10 | 02/20/2024 |
MLKitSmartReply | 4.0.0 | 02/20/2024 |
MLKitTextRecognition (v2) | 3.0.0 | 02/20/2024 |
MLKitTextRecognitionCommon | 2.0.0 | 02/20/2024 |
MLKitTextRecognitionChinese | 2.0.0 | 02/20/2024 |
MLKitTextRecognitionDevanagari | 2.0.0 | 02/20/2024 |
MLKitTextRecognitionJapanese | 2.0.0 | 02/20/2024 |
MLKitTextRecognitionKorean | 2.0.0 | 02/20/2024 |
MLKitTranslate | 4.0.0 | 02/20/2024 |
MLKitVision | 6.0.0 | 02/20/2024 |
MLImage | 1.0.0-beta5 | 02/20/2024 |
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 | 条形码扫描 | 17.2.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta4 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta4 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.2.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.2.0 | 是 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 Code Scanner 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 | 条形码扫描 | 17.1.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.1.0 | 是 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 代码扫描器已结束 Beta 版阶段,现已全面推出。
- 在 Android 上,添加了对在条形码扫描中返回所有潜在条形码的支持。
- 在 iOS 上,将文本识别 v2 从 Beta 版升级为正式版。
改进
- 在 iOS 上,将支持的最低 Xcode 版本提高到 14.2.0。
- 在 iOS 上,将支持的最低 iOS 版本从 10.0 提高到 11.0。
- 在 iOS 上,移除了对位码的支持。
- 在 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 | 条形码扫描 | 17.0.3 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 日
此版本包含新功能和 bug 修复。
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 | 条形码扫描 | 17.0.3 | 是 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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。该 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta3 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta3 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 英尺)以内的面孔,并为检测到的面孔提供 468 个 3D 点和三角形信息,且延迟较低(在 Pixel 3 设备上为 14 毫秒)。在
BOUNDING_BOX_ONLY
模式下,延迟可进一步降低约 20%。
改进
2022 年 8 月 23 日
改进
- 在 Android 上,升级了非捆绑版 Barcode Scanning 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta2 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 上,为每个支持非捆绑版本的 ML Kit 检测器实现了
OptionalModuleApi
接口,以便您在使用非捆绑版本时,可以使用 Google Play 服务 ModuleInstallClient API 来控制安装并检查可用性。 - 在 iOS 上,将
MLKitLinkFirebase
中FirebaseCore
和FirebaseInstallations
依赖项的版本范围从 8.x 升级到 9.x,以使 ML Kit 与 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta2 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta2 | 否 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 上,升级了捆绑版本 Text recognition 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 | 条形码扫描 | 17.0.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta2 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta2 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 上的内部改进和 bug 修复。
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 | 条形码扫描 | 17.0.2 | 是 |
com.google.mlkit | camera | 16.0.0-beta3 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 18.0.0-beta1 | 是 |
com.google.mlkit | pose-detection-accurate | 18.0.0-beta1 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 是 |
改进
- 现在使用严格可为 null 性注解(
@NonNull
和@Nullable
),而之前使用的是@RecentlyNonNull
和@RecentlyNullable
。进行此更改后,之前会引发 null 性警告的情况现在会在构建 Kotlin 代码或使用 Javanull
检查框架时引发错误。 - 在 Android 上,支持 Barcode Scanning API 中的 CP437 文本编码的 ECI 代码。。
问题修复
- 修复了条形码扫描问题,即代码 128B 和代码 128C 原始值具有额外的字符。
2021 年 12 月 14 日
此版本包含内部改进和 bug 修复。
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 | 条形码扫描 | 17.0.1 | 是 |
com.google.mlkit | camera | 16.0.0-beta2 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta7 | 是 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta7 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 17.0.0 | 否 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta6 | 是 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta6 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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 | 条形码扫描 | 17.0.0 | 是 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta5 | 是 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta5 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 | 文字识别 - 天城文 | 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。
改进
- 升级了捆绑的 Barcode Scanning API 版本。改进了召回率、长尾延迟时间、低质量图片容忍度和边界框稳定性。
- 升级了 Pose Detection 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 上,由于使用率极低,ML Kit 不再支持 API 级别 16、17 和 18。API 级别 19 (KitKat) 现在是支持的最低级别。
备注
- 在 iOS 上,如需让项目继续使用 v1 版的文本识别,请务必在 podfile 中固定到 2.2.0 版或更低版本。例如,向 pod 文件添加
pod 'GoogleMLKit/TextRecognition','2.2.0'
会将您的应用固定到此功能的最新 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 | 条形码扫描 | 16.2.0 | 是 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta4 | 是 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta4 | 是 |
com.google.mlkit | 分割 - 自拍 | 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 Recognition
API 的 okhttp3 不兼容问题。 - 在 iOS 上,将支持的最低 Xcode 版本提高到 12.4。
- 在 iOS 上,将
MLKitCommon
中GoogleDataTransport
依赖项的版本范围从 8.x 升级到 9.x,并将MLKitLinkFirebase
中FirebaseCore
依赖项的版本范围从 7.x 升级到 8.x,以使 ML Kit 与 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 | 条形码扫描 | 16.1.2 | 否 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 条形码扫描 | 16.1.2 | 是 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 条形码扫描 | 16.1.1 | 否 |
com.google.mlkit | camera | 16.0.0-beta1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 条形码扫描 | 16.1.1 | 否 |
com.google.mlkit | camera | 16.0.0-beta1 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 16.0.0-beta1 | 否 |
com.google.mlkit | smart-reply | 16.1.1 | 否 |
com.google.mlkit | 翻译 | 16.1.2 | 是 |
改进
在 Android 上,引入了一个相机辅助程序库,用于在流式传输模式下直接将 MLKit 视觉功能与相机输出搭配使用。它在内部使用 CameraX。
在 Android 上,为更多设备上的基于基础模型的对象检测和跟踪功能启用了 NNAPI 加速,从而加快了模型推理速度并节省了能耗。
问题修复
- 在 Android 上,修复了当 InputImage 由具有非零 rotationDegrees 的位图构建时 FaceDetection API 中存在的问题。
2021 年 3 月 30 日
此版本包含多项改进和 bug 修复。
改进
- 为 Digital Ink Recognition API 添加了新的天城文脚本语言模型。
- 在 Android 上,更新了面部检测 API 和图片标记 API 的外部依赖项版本。
问题修复
- 在 Android 上,为翻译 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 | 条形码扫描 | 16.1.1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 否 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 否 |
com.google.mlkit | 分割 - 自拍 | 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 | 条形码扫描 | 16.1.1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 17.0.1-beta3 | 是 |
com.google.mlkit | pose-detection-accurate | 17.0.1-beta3 | 是 |
com.google.mlkit | 分割 - 自拍 | 16.0.0-beta1 | 是 |
com.google.mlkit | smart-reply | 16.1.1 | 否 |
com.google.mlkit | 翻译 | 16.1.1 | 否 |
新功能
- 新增了 Selfie Segmentation 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 | 条形码扫描 | 16.1.1 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 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 | 否 |
改进和 bug 修复
- 人脸检测版本 16.1.3(精简版)和 16.0.4(捆绑版)中引入了一个回归 bug,导致人脸检测效果不佳。此补丁版本修复了该 bug。
2021 年 1 月 26 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 16.1.1 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 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 坐标支持。
改进和 bug 修复
- 姿势检测 API 可识别更多姿势,例如用户在做深蹲和俯卧撑时直接面向摄像头的姿势。
- 姿势检测 API 的基础模型和精确模型要小得多。此变更不会影响模型的质量。
- Android Vision API 已更新。由 Google Play 服务提供支持的拉入式 SDK 中未捆绑变体的大小减少了约 16%(约 160 KB)。
2020 年 12 月 8 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 16.1.0 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 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 | 否 |
新功能
- ML Kit 不再处于 Beta 版阶段。所有 ML Kit API(姿势检测和实体提取除外)均已升级为正式版状态。
添加了实体提取 API(Beta 版)。此 API 可让您从原始文本中检测和定位实体(例如地址、日期/时间等)。它支持 11 种实体类型和 15 种语言,采用的技术与 Android Q+ 中的智能文本选择功能相同。
实体提取功能完全离线运行(除了需要一次性下载所选语言模型,大小约为 700KB),并且支持 Android 和 iOS。
改进和 bug 修复
- 重大变更:移除了 AutoML 图片标记 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
中基于基础模型的对象检测和跟踪功能已在部分设备和操作系统(目前为搭载 Android Q 或 R 的 Pixel 3、3XL、4、4XL)上启用 NNAPI 加速,从而提供更快的模型推理速度并节省能耗。 - 在 Android 上,修复了条形码扫描 API 在某些运行
camera-camera2:1.0.0-beta08
版或更高版本的设备上无法正常运行的问题。
2020 年 11 月 2 日
此版本包含多项改进和 bug 修复。
iOS:GoogleMLKit/LinkFirebase 0.64.1
改进和 bug 修复
- 将 MLKitLinkFirebase 中 FirebaseCore 依赖项的版本范围从 6.x 升级到了 7.x,将 FirebaseInstanceID 依赖项的版本范围从 4.x 升级到了 7.x。
2020 年 10 月 29 日
此版本包含多项改进和 bug 修复。
iOS:GoogleMLKit/Common 0.64.2
改进和 bug 修复
- 将 MLKitCommon 中 GoogleUtilities/UserDefaults 依赖项的版本范围从 6.x 升级到了 7.x。
2020 年 10 月 26 日
此版本包含多项改进和 bug 修复。
iOS:GoogleMLKit/Common 0.64.1
改进和 bug 修复
- 将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从 7.x 升级到了 8.x。
2020 年 9 月 29 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 16.0.3 | 否 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 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 服务提供支持的 “精简”版 Image Labeling API。与捆绑变体相比,对应用大小的影响减少了约 3 MB。
改进和 bug 修复
- 重大变更:将姿势检测拆分为两个库,以优化大小。一个库仅捆绑快速模型,而另一个库仅捆绑准确模型。如果您只使用一组模型,这有助于节省应用大小。 iOS 也发生了同样的更改:PoseDetection pod 现在仅包含快速模型。 如需使用精确模型,请改用 PoseDetectionAccurate pod。
- 在 iOS 上,修复了姿势检测器取消分配期间发生的内存泄漏问题。
2020 年 8 月 25 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 16.0.3 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 姿势检测 | 16.0.0 | 是 |
com.google.mlkit | smart-reply | 16.1.1 | 是 |
com.google.mlkit | 翻译 | 16.1.1 | 是 |
新功能
新增了 Pose Detection API,这是一种基于 CPU 的轻量级多功能解决方案,可供开发者在应用中实时跟踪用户的身体动作。姿势检测功能可实时提供用户身体的 33 点骨架匹配(包括手部和脚部跟踪),并且经过调整,可很好地适用于复杂的运动用例。
姿势检测还支持完全离线运行,提供两种操作模式(快速和精确),并且支持 Android 和 iOS。
改进和 bug 修复
- 添加了在 Android 上使用 URI 创建 LocalModel 的支持。
- 数字墨水识别中新增了菲律宾语 (
fil
/tl
)、乌兹别克语 (uz-Latn
) 和柏柏尔语 (ber-Latn
) 的拉丁文字识别器。 - 改进了数字墨水识别中西里尔字母语言的模型。
- 在 Android 版语言识别中,将希伯来语代码从
iw
更改为he
,因为iw
在 BCP-47 中已弃用。
2020 年 7 月 28 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 16.0.2 | 是 |
com.google.mlkit | 数字墨水识别 | 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 | 否 |
新功能
新增了 Digital Ink Recognition API,用于识别在数字表面(例如触摸屏)上手写的文本和形状。支持 300 多种语言,以及表情符号和自动绘图。这项技术也为 Gboard、Google 翻译应用和 Quick, Draw! 游戏中的手写识别布局提供支持。
数字墨水识别功能完全离线运行(除了需要一次性下载语言包之外),并且支持 Android 和 iOS。
在 Android 上,添加了对指定您自己的自定义 Executor 的支持,以便运行模型加载和推理等耗时任务,从而实现图片标记、对象检测和跟踪。在此版本中,所有 ML Kit API 现在都支持自定义执行程序。
默认情况下,ML Kit 使用高度优化的内部管理线程池来运行后台任务。此 API 可帮助开发者在需要完全控制应用中的线程时,实现专门的用例。
改进和 bug 修复
- 在 Android 上,对于 Barcode Scanning API,修复了输入图片的旋转处理。
2020 年 7 月 15 日
此版本包含多项改进和 bug 修复。
iOS:GoogleMLKit/Common 0.61.1
改进和 bug 修复
- 将 MLKitCommon 中 GoogleDataTransport 依赖项的版本范围从 3.2 或更高版本升级到 7.0 或更高版本。
- 从 MLKitCommon 中移除了 GoogleDataTransportCCTSupport 依赖项。
2020 年 7 月 1 日
此版本包含新功能、改进和 bug 修复。
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 | 条形码扫描 | 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 来运行模型加载和推理等耗时任务。
默认情况下,ML Kit 使用高度优化的内部管理线程池来运行后台任务。此 API 可帮助开发者在需要完全控制应用中的线程时,实现专门的用例。
改进和 bug 修复
- 重大变更:在 iOS 上,对于条形码扫描 API,修复了
BarcodePersonName
中的拼写错误,并将其pronounciation
属性重命名为pronunciation
。 - 修复了 iOS 上翻译和智能回复 API 中的一个问题,即如果设备语言区域设置未指定区域(例如“en”而不是“en-US”),应用会崩溃。
2020 年 6 月 3 日
Android:16.0.0 / iOS:0.60.0
这是 ML Kit 作为独立 SDK(独立于 Firebase)的第一个版本。此 SDK 提供之前通过 Firebase 机器学习套件 SDK 提供的所有设备端 API。如需详细了解此变更以及有关迁移现有应用的说明,请参阅我们的迁移指南。
此版本包含新功能、改进和 bug 修复。
新功能
- 新的 Custom Image Labeling 和 Custom Object Detection and Tracking API,可让您轻松在应用中使用自定义图片分类模型(预训练模型或从各种来源新训练的模型),并为用户打造实时互动体验。
改进和 bug 修复
- 在 Android 上,在“精简”版人脸检测 API 中添加了对人脸轮廓的支持,由 Google Play 服务提供支持。与捆绑变体相比,对应用大小的影响减少了约 20.3 MB。
- 在 Android 上,通过将图像处理代码从 Java 移至原生代码,改进了条形码扫描和人脸检测 API 的 CameraX 和 Camera2 性能。
- 所有 API 都已添加 Android Jetpack Lifecycle 支持。开发者可以使用
addObserver
在应用因用户 / 系统操作而经历屏幕旋转或关闭时自动管理 ML Kit API 的启动和拆解。这样可以更轻松地集成 CameraX。 - 文本识别 API:现在提供最常见的识别语言
- 人脸检测 API:现在提供人脸的欧拉 X 角。
- 条形码扫描 API [捆绑]:添加了对损坏的 PDF417 开始/停止模式检测的支持,将召回率提高了 10%。
- 对象检测和跟踪 API:更新了本地化器模型,提高了平均精确度,并将占用空间减少了约 700KB。
旧版
2020 年 6 月 3 日之前的更改可在 Firebase 版本说明中找到。