Flutter Sample App using MLKit Vision API for Text Recognition

Flutter ML Kit Vision

This a sample Flutter app integrated with the ML Kit Vision API for recognition of email addresses from an image.

NOTE: The ML Kit plugin for Flutter (google_ml_kit) is under development and is only available for Android platform.

There was firebase_ml_vision package having similar functionality but providing cloud based ML solution connected to Firebase, and also supported both Android and iOS platforms. Unfortunately, it is now discontinued since these APIs are no longer available in the latest Firebase SDK. But it is still functional and if you want to use it check out the GitHub repo here.

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.

App screenshots

Usage

Currently only Android platform is supported but work is going on for the iOS side, you can track the progress on its GitHub repo.

You can try out the app on your system by following these steps:

  1. Clone this repo:

    git clone https://github.com/sbis04/flutter_mlkit_vision.git
    
  2. Get packages:

    flutter pub get
    
  3. Go to android/app/build.gradle and update the minSdkVersion to 26:

    minSdkVersion 26
    
  4. Run the app:

    flutter run
    

Download Details:

Author: sbis04
Download Link: Download The Source Code
Official Website: https://github.com/sbis04/flutter_mlkit_vision
License: MIT

#flutter #firebase #api #mlkit

Flutter Sample App using MLKit Vision API for Text Recognition
15.30 GEEK