Flutter ML Kit Vision
This a sample Flutter app integrated with the ML Kit Vision API for recognition of email addresses from an image.
Plugins
Using the following dependencies in the pubspec.yaml file:
dependencies:
camera: ^0.8.1
google_ml_kit: ^0.3.0
For the latest version of these plugins checkout their respective pages on
pub.dev
.
Usage
Currently only
Android
platform is supported but work is going on for theiOS
side, you can track the progress on its GitHub repo.
You can try out the app on your system by following these steps:
- *
Clone this repo:
git clone https://github.com/sbis04/flutter_mlkit_vision.git
Get packages:
flutter pub get
Go to android/app/build.gradle
and update the minSdkVersion
to 26:
minSdkVersion 26
Run the app:
flutter run
GitHub
https://github.com/sbis04/flutter_mlkit_vision
Source: https://flutterawesome.com/flutter-sample-app-using-mlkit-vision-api-for-text-recognition/