flutter_barcode_scanner icon indicating copy to clipboard operation
flutter_barcode_scanner copied to clipboard

[feature] Use ML kit API

Open lookfirst opened this issue 6 years ago • 5 comments

play-services-vision is deprecated in favor of the ML Kit api.

https://developers.google.com/vision/android/barcodes-overview

"The Mobile Vision API is now a part of ML Kit. We strongly encourage you to try it out, as it comes with new capabilities like on-device image labeling! Also, note that we ultimately plan to wind down the Mobile Vision API, with all new on-device ML capabilities released via ML Kit."

Docs are here:

https://firebase.google.com/docs/ml-kit/android/read-barcodes

lookfirst avatar Sep 25 '19 06:09 lookfirst

@lookfirst Thanks for using the plugin. Yes, the vision API is part of ml kit now and maybe deprecated. Currently, im evaluating ml kit in plugin which would be the major changes to existing code. Definitely plugin will be moving to use ml kit soon.

AmolGangadhare avatar Sep 25 '19 07:09 AmolGangadhare

Great. Thank you. I'll likely switch over to your code from the other plugin, as soon as I have a chance. Having it be on the latest API's would be appreciated. Thanks for all your hard work.

lookfirst avatar Sep 25 '19 10:09 lookfirst

fyi, switched to your code today. it is excellent, thanks.

lookfirst avatar Oct 02 '19 04:10 lookfirst

Possibly helpful: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision

but please don't switch to it for ios. ;-)

lookfirst avatar Oct 14 '19 03:10 lookfirst

+1 for this feature!

pynner avatar Aug 31 '21 19:08 pynner