Skip to content

Commit 5178954

Browse files
authored
chore: Update READMEs and CHANGELOGs (flutter-ml#456)
1 parent 98c0b1b commit 5178954

File tree

50 files changed

+282
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+282
-151
lines changed

CHANGELOG.md

+98
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,104 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 2023-06-01
7+
8+
### Changes
9+
10+
---
11+
12+
Packages with changes:
13+
14+
- [`google_ml_kit` - `v0.15.0`](#google_ml_kit---v0150)
15+
- [`google_mlkit_barcode_scanning` - `v0.7.0`](#google_mlkit_barcode_scanning---v070)
16+
- [`google_mlkit_digital_ink_recognition` - `v0.8.0`](#google_mlkit_digital_ink_recognition---v080)
17+
- [`google_mlkit_entity_extraction` - `v0.8.0`](#google_mlkit_entity_extraction---v080)
18+
- [`google_mlkit_face_detection` - `v0.7.0`](#google_mlkit_face_detection---v070)
19+
- [`google_mlkit_image_labeling` - `v0.7.0`](#google_mlkit_image_labeling---v070)
20+
- [`google_mlkit_language_id` - `v0.7.0`](#google_mlkit_language_id---v070)
21+
- [`google_mlkit_object_detection` - `v0.8.0`](#google_mlkit_object_detection---v080)
22+
- [`google_mlkit_pose_detection` - `v0.7.0`](#google_mlkit_pose_detection---v070)
23+
- [`google_mlkit_selfie_segmentation` - `v0.4.0`](#google_mlkit_selfie_segmentation---v040)
24+
- [`google_mlkit_smart_reply` - `v0.7.0`](#google_mlkit_smart_reply---v070)
25+
- [`google_mlkit_text_recognition` - `v0.7.0`](#google_mlkit_text_recognition---v070)
26+
- [`google_mlkit_translation` - `v0.7.0`](#google_mlkit_translation---v070)
27+
28+
---
29+
30+
#### `google_ml_kit` - `v0.15.0`
31+
32+
* Update dependencies.
33+
34+
#### `google_mlkit_barcode_scanning` - `v0.7.0`
35+
36+
* Update dependencies.
37+
38+
#### `google_mlkit_digital_ink_recognition` - `v0.8.0`
39+
40+
* Update dependencies.
41+
42+
#### `google_mlkit_entity_extraction` - `v0.8.0`
43+
44+
* Fix: Pass `referenceTime` to native API when calling `annotateText`.
45+
* Update dependencies.
46+
47+
#### `google_mlkit_face_detection` - `v0.7.0`
48+
49+
* Update dependencies.
50+
51+
#### `google_mlkit_image_labeling` - `v0.7.0`
52+
53+
* Update dependencies.
54+
55+
#### `google_mlkit_language_id` - `v0.7.0`
56+
57+
* Fix: Pass `id` to native API when calling `identifyLanguage`.
58+
* Update dependencies.
59+
60+
#### `google_mlkit_object_detection` - `v0.8.0`
61+
62+
* Update dependencies.
63+
64+
#### `google_mlkit_pose_detection` - `v0.7.0`
65+
66+
* Update dependencies.
67+
68+
#### `google_mlkit_selfie_segmentation` - `v0.4.0`
69+
70+
* Update dependencies.
71+
72+
#### `google_mlkit_smart_reply` - `v0.7.0`
73+
74+
* Update dependencies.
75+
76+
#### `google_mlkit_text_recognition` - `v0.7.0`
77+
78+
* Fix: Add confidence and angle in object response for `TextLine` and `TextElement`.
79+
* Update dependencies.
80+
81+
#### `google_mlkit_translation` - `v0.7.0`
82+
83+
* Update dependencies.
84+
85+
## 2023-05-31
86+
87+
### Changes
88+
89+
---
90+
91+
Packages with changes:
92+
93+
- [`google_mlkit_commons` - `v0.4.0`](#google_mlkit_commons---v040)
94+
95+
---
96+
97+
#### `google_mlkit_commons` - `v0.4.0`
98+
99+
* __BREAKING:__ Update InputImage.
100+
* __BREAKING:__ Rename InputImageData -> InputImageMetadata.
101+
* __BREAKING:__ Remove InputImagePlaneMetadata.
102+
* Only support nv21 for Android and bgra8888 for iOS.
103+
6104
## 2023-04-19
7105

8106
### Changes

README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ Google's ML Kit for Flutter is a set of [Flutter plugins](https://flutter.io/pla
66

77
### Vision APIs
88

9-
| Feature | Plugin | Source Code| Android | iOS |
10-
|-----------------------------------------------------------------------------------------------|--------|------------|---------|-----|
11-
|[Barcode Scanning](https://developers.google.com/ml-kit/vision/barcode-scanning) | [google\_mlkit\_barcode\_scanning](https://pub.dev/packages/google_mlkit_barcode_scanning) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_barcode_scanning)](https://pub.dev/packages/google_mlkit_barcode_scanning) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning) |||
12-
|[Face Detection](https://developers.google.com/ml-kit/vision/face-detection) | [google\_mlkit\_face\_detection](https://pub.dev/packages/google_mlkit_face_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_face_detection)](https://pub.dev/packages/google_mlkit_face_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection) |||
13-
|[Image Labeling](https://developers.google.com/ml-kit/vision/image-labeling) | [google\_mlkit\_image\_labeling](https://pub.dev/packages/google_mlkit_image_labeling) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_image_labeling)](https://pub.dev/packages/google_mlkit_image_labeling) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling) | | |
14-
|[Object Detection and Tracking](https://developers.google.com/ml-kit/vision/object-detection) | [google\_mlkit\_object\_detection](https://pub.dev/packages/google_mlkit_object_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_object_detection)](https://pub.dev/packages/google_mlkit_object_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection) |||
15-
|[Text Recognition](https://developers.google.com/ml-kit/vision/text-recognition) | [google\_mlkit\_text\_recognition](https://pub.dev/packages/google_mlkit_text_recognition) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_text_recognition)](https://pub.dev/packages/google_mlkit_text_recognition) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition) |||
16-
|[Text Recognition V2](https://developers.google.com/ml-kit/vision/text-recognition/v2) | [google\_mlkit\_text\_recognition](https://pub.dev/packages/google_mlkit_text_recognition) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_text_recognition)](https://pub.dev/packages/google_mlkit_text_recognition) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition) |||
17-
|[Digital Ink Recognition](https://developers.google.com/ml-kit/vision/digital-ink-recognition) | [google\_mlkit\_digital\_ink\_recognition](https://pub.dev/packages/google_mlkit_digital_ink_recognition) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_digital_ink_recognition)](https://pub.dev/packages/google_mlkit_digital_ink_recognition) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition) |||
18-
|[Pose Detection](https://developers.google.com/ml-kit/vision/pose-detection) | [google\_mlkit\_pose\_detection](https://pub.dev/packages/google_mlkit_pose_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_pose_detection)](https://pub.dev/packages/google_mlkit_pose_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection) |||
19-
|[Selfie Segmentation](https://developers.google.com/ml-kit/vision/selfie-segmentation) | [google\_mlkit\_selfie\_segmentation](https://pub.dev/packages/google_mlkit_selfie_segmentation) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_selfie_segmentation)](https://pub.dev/packages/google_mlkit_selfie_segmentation) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation) |||
9+
| Feature | Plugin | Source Code | Android | iOS |
10+
|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|----|
11+
| [Barcode Scanning](https://developers.google.com/ml-kit/vision/barcode-scanning) | [google\_mlkit\_barcode\_scanning](https://pub.dev/packages/google_mlkit_barcode_scanning) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_barcode_scanning)](https://pub.dev/packages/google_mlkit_barcode_scanning) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning) |||
12+
| [Face Detection](https://developers.google.com/ml-kit/vision/face-detection) | [google\_mlkit\_face\_detection](https://pub.dev/packages/google_mlkit_face_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_face_detection)](https://pub.dev/packages/google_mlkit_face_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection) |||
13+
| [Face Mesh Detection](https://developers.google.com/ml-kit/vision/face-mesh-detection) | [google\_mlkit\_face\_mesh\_detection](https://pub.dev/packages/google_mlkit_face_mesh_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_face_mesh_detection)](https://pub.dev/packages/google_mlkit_face_mesh_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_mesh_detection) | | |
14+
| [Image Labeling](https://developers.google.com/ml-kit/vision/image-labeling) | [google\_mlkit\_image\_labeling](https://pub.dev/packages/google_mlkit_image_labeling) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_image_labeling)](https://pub.dev/packages/google_mlkit_image_labeling) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling) |||
15+
| [Object Detection and Tracking](https://developers.google.com/ml-kit/vision/object-detection) | [google\_mlkit\_object\_detection](https://pub.dev/packages/google_mlkit_object_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_object_detection)](https://pub.dev/packages/google_mlkit_object_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection) |||
16+
| [Text Recognition V2](https://developers.google.com/ml-kit/vision/text-recognition/v2) | [google\_mlkit\_text\_recognition](https://pub.dev/packages/google_mlkit_text_recognition) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_text_recognition)](https://pub.dev/packages/google_mlkit_text_recognition) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition) |||
17+
| [Digital Ink Recognition](https://developers.google.com/ml-kit/vision/digital-ink-recognition) | [google\_mlkit\_digital\_ink\_recognition](https://pub.dev/packages/google_mlkit_digital_ink_recognition) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_digital_ink_recognition)](https://pub.dev/packages/google_mlkit_digital_ink_recognition) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition) |||
18+
| [Pose Detection](https://developers.google.com/ml-kit/vision/pose-detection) | [google\_mlkit\_pose\_detection](https://pub.dev/packages/google_mlkit_pose_detection) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_pose_detection)](https://pub.dev/packages/google_mlkit_pose_detection) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection) |||
19+
| [Selfie Segmentation](https://developers.google.com/ml-kit/vision/selfie-segmentation) | [google\_mlkit\_selfie\_segmentation](https://pub.dev/packages/google_mlkit_selfie_segmentation) [![Pub Version](https://img.shields.io/pub/v/google_mlkit_selfie_segmentation)](https://pub.dev/packages/google_mlkit_selfie_segmentation) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation) |||
2020

2121
### Natural Language APIs
2222

@@ -45,13 +45,13 @@ Google's ML Kit for Flutter is a set of [Flutter plugins](https://flutter.io/pla
4545

4646
Because this plugin uses platform channels, no Machine Learning processing is done in Flutter/Dart, all the calls are passed to the native platform using `MethodChannel` in Android and `FlutterMethodChannel` in iOS, and executed using the Google's native APIs. Think of this plugin as a bridge between your app and Google's native ML Kit APIs. This plugin only passes the call to the native API and the processing is done by Google's API. It is important that you understand this concept when it comes to debugging errors for your ML model and/or app.
4747

48-
- Since the plugin uses platform channels, you may encounter issues with the native API. Before submitting a new issue, identify the source of the issue. You can run both iOS and/or Android native [example apps by Google](https://github.com/googlesamples/mlkit) and make sure that the issue is not reproducible with their native examples. If you can reproduce the issue in their apps then report the issue to Google. The [authors](https://github.com/flutter-ml/google_ml_kit_flutter/blob/master/AUTHORS) do not have access to the source code of their native APIs, so you need to report the issue to them. If you find that their example apps are okay and still you have an issue using this plugin, then look at our [closed and open issues](https://github.com/googlesamples/mlkit/issues). If you cannot find anything that can help you then report the issue and provide enough details. Be patient, someone from the community will eventually help you.
48+
- Since the plugin uses platform channels, you may encounter issues with the native API. Before submitting a new issue, identify the source of the issue. You can run both iOS and/or Android native [example apps by Google](https://github.com/googlesamples/mlkit) and make sure that the issue is not reproducible with their native examples. If you can reproduce the issue in their apps then report the issue to Google. The [authors](https://github.com/flutter-ml/google_ml_kit_flutter/blob/master/AUTHORS) do not have access to the source code of their native APIs, so you need to report the issue to them. If you find that their example apps are okay and still you have an issue using this plugin, then look at our [closed and open issues](https://github.com/flutter-ml/google_ml_kit_flutter/issues). If you cannot find anything that can help you then report the issue and provide enough details. Be patient, someone from the community will eventually help you.
4949

5050
## Requirements
5151

5252
### iOS
5353

54-
- Minimum iOS Deployment Target: 10.0
54+
- Minimum iOS Deployment Target: 12.0
5555
- Xcode 13 or newer
5656
- Swift 5
5757
- ML Kit only supports 64-bit architectures (x86_64 and arm64). Check this [list](https://developer.apple.com/support/required-device-capabilities/) to see if your device has the required device capabilities. More info [here](https://developers.google.com/ml-kit/migration/ios).
@@ -66,7 +66,7 @@ Then your Podfile should look like this:
6666

6767
```ruby
6868
# add this line:
69-
$iOSVersion = '10.0'
69+
$iOSVersion = '12.0'
7070

7171
post_install do |installer|
7272
# add these lines:
@@ -94,8 +94,8 @@ Notice that the minimum `IPHONEOS_DEPLOYMENT_TARGET` is 10.0, you can set it to
9494
### Android
9595

9696
- minSdkVersion: 21
97-
- targetSdkVersion: 31
98-
- compileSdkVersion: 31
97+
- targetSdkVersion: 33
98+
- compileSdkVersion: 33
9999

100100
## Migrating from ML Kit for Firebase
101101

@@ -120,7 +120,7 @@ To use custom models hosted in firebase in iOS, you have to update your app's Po
120120
First, include `GoogleMLKit/LinkFirebase` and `Firebase` in your Podfile:
121121

122122
```ruby
123-
platform :ios, '10.0'
123+
platform :ios, '12.0'
124124

125125
...
126126

packages/example/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434
defaultConfig {
3535
applicationId "com.google_mlkit_example"
3636
minSdkVersion 21
37-
targetSdkVersion 31
37+
targetSdkVersion 33
3838
versionCode flutterVersionCode.toInteger()
3939
versionName flutterVersionName
4040
}

packages/example/ios/Podfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :ios, '11.0'
1+
platform :ios, '12.0'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -10,7 +10,7 @@ project 'Runner', {
1010
}
1111

1212
# Add language package you need to use
13-
pod 'GoogleMLKit/TextRecognitionChinese', '~> 4.0.0'
13+
# pod 'GoogleMLKit/TextRecognitionChinese', '~> 4.0.0'
1414
# pod 'GoogleMLKit/TextRecognitionDevanagari', '~> 4.0.0'
1515
# pod 'GoogleMLKit/TextRecognitionJapanese', '~> 4.0.0'
1616
# pod 'GoogleMLKit/TextRecognitionKorean', '~> 4.0.0'
@@ -37,7 +37,7 @@ target 'Runner' do
3737
end
3838

3939
# add this line:
40-
$iOSVersion = '10.0'
40+
$iOSVersion = '12.0'
4141

4242
post_install do |installer|
4343
# add these lines:

0 commit comments

Comments
 (0)