diff --git a/README.md b/README.md index 8e097a7f..cd91aa9f 100644 --- a/README.md +++ b/README.md @@ -1,73 +1,88 @@ # Google's ML Kit for Flutter -Google's ML Kit for Flutter is a set of [Flutter plugins](https://flutter.io/platform-plugins/) that enable [Flutter](https://flutter.dev) apps to use [Google's standalone ML Kit](https://developers.google.com/ml-kit). +Googleβs ML Kit for Flutter is a set of [Flutter plugins](https://flutter.io/platform-plugins/) that enable [Flutter](https://flutter.dev) apps to use [Googleβs standalone ML Kit](https://developers.google.com/ml-kit). -## Features +--- -### Vision APIs +## πΈ Features -| Feature | Plugin | Source Code | Android | iOS | -|-------------------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | --- | -| [Barcode Scanning](https://developers.google.com/ml-kit/vision/barcode-scanning) | [google_mlkit_barcode_scanning](https://pub.dev/packages/google_mlkit_barcode_scanning) [](https://pub.dev/packages/google_mlkit_barcode_scanning) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning) | β | β | -| [Face Detection](https://developers.google.com/ml-kit/vision/face-detection) | [google_mlkit_face_detection](https://pub.dev/packages/google_mlkit_face_detection) [](https://pub.dev/packages/google_mlkit_face_detection) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection) | β | β | -| [Face Mesh Detection (Beta)](https://developers.google.com/ml-kit/vision/face-mesh-detection) | [google_mlkit_face_mesh_detection](https://pub.dev/packages/google_mlkit_face_mesh_detection) [](https://pub.dev/packages/google_mlkit_face_mesh_detection) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_mesh_detection) | β | β | -| [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) [](https://pub.dev/packages/google_mlkit_text_recognition) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition) | β | β | -| [Image Labeling](https://developers.google.com/ml-kit/vision/image-labeling) | [google_mlkit_image_labeling](https://pub.dev/packages/google_mlkit_image_labeling) [](https://pub.dev/packages/google_mlkit_image_labeling) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling) | β | β | -| [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) [](https://pub.dev/packages/google_mlkit_object_detection) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection) | β | β | -| [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) [](https://pub.dev/packages/google_mlkit_digital_ink_recognition) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition) | β | β | -| [Pose Detection (Beta)](https://developers.google.com/ml-kit/vision/pose-detection) | [google_mlkit_pose_detection](https://pub.dev/packages/google_mlkit_pose_detection) [](https://pub.dev/packages/google_mlkit_pose_detection) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection) | β | β | -| [Selfie Segmentation (Beta)](https://developers.google.com/ml-kit/vision/selfie-segmentation) | [google_mlkit_selfie_segmentation](https://pub.dev/packages/google_mlkit_selfie_segmentation) [](https://pub.dev/packages/google_mlkit_selfie_segmentation) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation) | β | β | -| [Subject Segmentation (Beta)](https://developers.google.com/ml-kit/vision/subject-segmentation) | [google_mlkit_subject_segmentation](https://pub.dev/packages/google_mlkit_subject_segmentation) [](https://pub.dev/packages/google_mlkit_subject_segmentation) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_subject_segmentation) | β | β | -| [Document Scanner (Beta)](https://developers.google.com/ml-kit/vision/doc-scanner) | [google_mlkit_document_scanner](https://pub.dev/packages/google_mlkit_document_scanner) [](https://pub.dev/packages/google_mlkit_document_scanner) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner) | β | β | +### π§ Vision APIs -### Natural Language APIs +| Feature | Plugin | Source Code | Android | iOS | +|---------|--------|-------------|---------|-----| +| [Barcode Scanning](https://developers.google.com/ml-kit/vision/barcode-scanning) | [google_mlkit_barcode_scanning](https://pub.dev/packages/google_mlkit_barcode_scanning) [](https://pub.dev/packages/google_mlkit_barcode_scanning) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_barcode_scanning) | β | β | +| [Face Detection](https://developers.google.com/ml-kit/vision/face-detection) | [google_mlkit_face_detection](https://pub.dev/packages/google_mlkit_face_detection) [](https://pub.dev/packages/google_mlkit_face_detection) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_detection) | β | β | +| [Face Mesh Detection (Beta)](https://developers.google.com/ml-kit/vision/face-mesh-detection) | [google_mlkit_face_mesh_detection](https://pub.dev/packages/google_mlkit_face_mesh_detection) [](https://pub.dev/packages/google_mlkit_face_mesh_detection) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_face_mesh_detection) | β | β | +| [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) [](https://pub.dev/packages/google_mlkit_text_recognition) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_text_recognition) | β | β | +| [Image Labeling](https://developers.google.com/ml-kit/vision/image-labeling) | [google_mlkit_image_labeling](https://pub.dev/packages/google_mlkit_image_labeling) [](https://pub.dev/packages/google_mlkit_image_labeling) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_image_labeling) | β | β | +| [Object Detection & Tracking](https://developers.google.com/ml-kit/vision/object-detection) | [google_mlkit_object_detection](https://pub.dev/packages/google_mlkit_object_detection) [](https://pub.dev/packages/google_mlkit_object_detection) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection) | β | β | +| [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) [](https://pub.dev/packages/google_mlkit_digital_ink_recognition) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_digital_ink_recognition) | β | β | +| [Pose Detection (Beta)](https://developers.google.com/ml-kit/vision/pose-detection) | [google_mlkit_pose_detection](https://pub.dev/packages/google_mlkit_pose_detection) [](https://pub.dev/packages/google_mlkit_pose_detection) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_pose_detection) | β | β | +| [Selfie Segmentation (Beta)](https://developers.google.com/ml-kit/vision/selfie-segmentation) | [google_mlkit_selfie_segmentation](https://pub.dev/packages/google_mlkit_selfie_segmentation) [](https://pub.dev/packages/google_mlkit_selfie_segmentation) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_selfie_segmentation) | β | β | +| [Subject Segmentation (Beta)](https://developers.google.com/ml-kit/vision/subject-segmentation) | [google_mlkit_subject_segmentation](https://pub.dev/packages/google_mlkit_subject_segmentation) [](https://pub.dev/packages/google_mlkit_subject_segmentation) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_subject_segmentation) | β | β | +| [Document Scanner (Beta)](https://developers.google.com/ml-kit/vision/doc-scanner) | [google_mlkit_document_scanner](https://pub.dev/packages/google_mlkit_document_scanner) [](https://pub.dev/packages/google_mlkit_document_scanner) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_document_scanner) | β | β | -| Feature | Plugin | Source Code | Android | iOS | -|---------------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | --- | -| [Language Identification](https://developers.google.com/ml-kit/language/identification) | [google_mlkit_language_id](https://pub.dev/packages/google_mlkit_language_id) [](https://pub.dev/packages/google_mlkit_language_id) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_language_id) | β | β | -| [On-Device Translation](https://developers.google.com/ml-kit/language/translation) | [google_mlkit_translation](https://pub.dev/packages/google_mlkit_translation) [](https://pub.dev/packages/google_mlkit_translation) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_translation) | β | β | -| [Smart Reply](https://developers.google.com/ml-kit/language/smart-reply) | [google_mlkit_smart_reply](https://pub.dev/packages/google_mlkit_smart_reply) [](https://pub.dev/packages/google_mlkit_smart_reply) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_smart_reply) | β | β | -| [Entity Extraction (Beta)](https://developers.google.com/ml-kit/language/entity-extraction) | [google_mlkit_entity_extraction](https://pub.dev/packages/google_mlkit_entity_extraction) [](https://pub.dev/packages/google_mlkit_entity_extraction) | [](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_entity_extraction) | β | β | +--- -**PLEASE READ THIS** before continuing or posting a [new issue](https://github.com/flutter-ml/google_ml_kit_flutter/issues): +### π£οΈ Natural Language APIs -- [Google's ML Kit](https://developers.google.com/ml-kit) was build only for mobile platforms: iOS and Android apps. Web or any other platform is not supported, you can request support for those platform to Google in [their repo](https://github.com/googlesamples/mlkit/issues). +| Feature | Plugin | Source Code | Android | iOS | +|---------|--------|-------------|---------|-----| +| [Language Identification](https://developers.google.com/ml-kit/language/identification) | [google_mlkit_language_id](https://pub.dev/packages/google_mlkit_language_id) [](https://pub.dev/packages/google_mlkit_language_id) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_language_id) | β | β | +| [On-Device Translation](https://developers.google.com/ml-kit/language/translation) | [google_mlkit_translation](https://pub.dev/packages/google_mlkit_translation) [](https://pub.dev/packages/google_mlkit_translation) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_translation) | β | β | +| [Smart Reply](https://developers.google.com/ml-kit/language/smart-reply) | [google_mlkit_smart_reply](https://pub.dev/packages/google_mlkit_smart_reply) [](https://pub.dev/packages/google_mlkit_smart_reply) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_smart_reply) | β | β | +| [Entity Extraction (Beta)](https://developers.google.com/ml-kit/language/entity-extraction) | [google_mlkit_entity_extraction](https://pub.dev/packages/google_mlkit_entity_extraction) [](https://pub.dev/packages/google_mlkit_entity_extraction) | [Source](https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_entity_extraction) | β | β | -- This plugin is not sponsored or maintained by Google. The [authors](https://github.com/flutter-ml/google_ml_kit_flutter/blob/master/AUTHORS) are developers excited about Machine Learning that wanted to expose Google's native APIs to Flutter. +--- -- Google's ML Kit APIs are only developed natively for iOS and Android. This plugin uses Flutter Platform Channels as explained [here](https://docs.flutter.dev/development/platform-integration/platform-channels). +## β οΈ Important Notes - Messages are passed between the client (the app/plugin) and host (platform) using platform channels as illustrated in this diagram: +- **ML Kit** is designed **only for mobile platforms** β Android and iOS. Web or desktop platforms are **not supported**. If you need web support, please request it from Google via [their repo](https://github.com/googlesamples/mlkit/issues). +- This plugin **is not sponsored or maintained by Google**. The [authors](https://github.com/flutter-ml/google_ml_kit_flutter/blob/master/AUTHORS) are independent contributors who expose Googleβs native ML Kit APIs to Flutter. +- All ML operations are executed **natively**, not in Dart. This plugin uses **Flutter Platform Channels** to send requests to the native platform. -
-
-
+
+