Machines are learning, are you ?
ML (Machine Learning) Kit was one of the key highlights in Google I/O 2018. This kit is comprised of
- Image Labeling
- Text- Recognition
- Face- Detection
- Barcode- scanning
I decided to explore more about it and utilize the power of ML Kit in Flutter. Programmers have started working on this kit globally.
One of the efficient flutter packages, I came across was from azihsoyn
mlkit 0.4.1 — A Flutter plugin to use the Firebase ML Kit.
We simply need to import this package in our pubspec.yaml file as
ML kit is built to work with firebase. So, we create a project in firebase console
Please note that the name of your app should be same in the Firebase, your project’s manifest.xml (if playing in android) and in the app-level build.gradle (if playing in android).
Include the google-services.json in the app directory of android. (one of the steps in Firebase project setup).
There is a example given by azihsoyn for how to use this package for building flutter app @
One additional package, we needed to install for getting images from gallery.
Finally, you can go ahead and run your flutter app.
Click on the floating button and it opens gallery. You select some image and it recognizes the text from that image..
Great work by Mr. azihsoyn……..
Video demonstration :
Important links :
https://github.com/AseemWangoo/flutter_programs/blob/master/mlkit.dart (main.dart of the app)
https://github.com/azihsoyn/flutter_mlkit (for ml kit insight of program)
https://developers.google.com/ml-kit/ (for ml kit project start with firebase)
Just desire to say your article is as astonishing.
The clarity in your post is just excellent and i can assume
you’re an expert on this subject. Well with your permission allow me to grab your feed
to keep updated with forthcoming post. Thanks a
million and please keep up the rewarding work. https://to.ly/1tICH